{
  "opencollection": "1.0.0",
  "info": {
    "name": "WSO2 API Manager - Admin Advanced Policy (Collection) Advanced Policy (Collection) MCP Server Documents API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "MCP Server Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a List of Documents of a MCP Server\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/mcp-servers/:mcpServerId/documents",
            "headers": [
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "mcpServerId",
                "value": "",
                "type": "path",
                "description": "**MCP Server ID** consisting of the **UUID** of the MCP Server.\n"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum size of resource array to return.\n"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Starting point within the complete list of items qualified.\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "This operation can be used to retrieve a list of documents belonging to a MCP Server by providing the id of the \nMCP Server.\n\n`X-WSO2-Tenant` header can be used to retrieve documents of a MCP Server that belongs to a different tenant \ndomain. If not specified super tenant will be used. If Authorization header is present in the request, the \nuser's tenant associated with the access token will be used.\n\n**NOTE:**\n* This operation does not require an Authorization header by default. But in order to"
        },
        {
          "info": {
            "name": "Get a Document of a MCP Server\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/mcp-servers/:mcpServerId/documents/:documentId",
            "headers": [
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "mcpServerId",
                "value": "",
                "type": "path",
                "description": "**MCP Server ID** consisting of the **UUID** of the MCP Server.\n"
              },
              {
                "name": "documentId",
                "value": "",
                "type": "path",
                "description": "Document Identifier\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "This operation can be used to retrieve a particular document's metadata associated with a MCP Server.\n\n`X-WSO2-Tenant` header can be used to retrieve a document of a MCP Server that belongs to a different tenant \ndomain. If not specified super tenant will be used. If Authorization header is present in the request, the \nuser's tenant associated with the access token will be used.\n\n**NOTE:**\n* This operation does not require an Authorization header by default. But in order to see a restricted MCP "
        },
        {
          "info": {
            "name": "Get the Content of a MCP Server Document\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/mcp-servers/:mcpServerId/documents/:documentId/content",
            "headers": [
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "mcpServerId",
                "value": "",
                "type": "path",
                "description": "**MCP Server ID** consisting of the **UUID** of the MCP Server.\n"
              },
              {
                "name": "documentId",
                "value": "",
                "type": "path",
                "description": "Document Identifier\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "This operation can be used to retrieve the content of a MCP Server's document.\n\nThe document can be of 3 types. In each cases responses are different.\n\n1. **Inline type**:\n   The content of the document will be retrieved in `text/plain` content type\n2. **FILE type**:\n   The file will be downloaded with the related content type (eg. `application/pdf`)\n3. **URL type**:\n    The client will recieve the URL of the document as the Location header with the response with - `303 See Other`\n\n`X-WSO2-Tenan"
        }
      ]
    }
  ],
  "bundled": true
}