{
  "opencollection": "1.0.0",
  "info": {
    "name": "WSO2 API Manager - Admin Advanced Policy (Collection) Advanced Policy (Collection) APIs API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "APIs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve/Search APIs\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis",
            "headers": [
              {
                "name": "If-None-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "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"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "**Search and get all apis in admin portal**.\n\nYou can search by proving a keyword.\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "This operation provides you a list of available APIs qualifying under a given search condition.\nEach retrieved API is represented with a minimal amount of attributes. If you want to get complete details of an API, you need to use **Get details of an API** operation.\n"
        },
        {
          "info": {
            "name": "Get Details of an API\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis/:apiId",
            "headers": [
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "**API ID** consisting of the **UUID** of the API.\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Using this operation, you can retrieve complete details of a single API. You need to provide the Id of the API to retrive it.\n\n`X-WSO2-Tenant` header can be used to retrieve an API of a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user'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 if it is provided, it will be validated and "
        },
        {
          "info": {
            "name": "Get Swagger Definition\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis/:apiId/swagger",
            "headers": [
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "**API ID** consisting of the **UUID** of the API.\n"
              },
              {
                "name": "environmentName",
                "value": "",
                "type": "query",
                "description": "Name of the API gateway environment.\n"
              },
              {
                "name": "X-WSO2-Tenant-Q",
                "value": "",
                "type": "query",
                "description": "For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be\n  retirieved from.\n"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "**Key Manager Specific Swagger Generation**.\nTo retrieve an OpenAPI Specification (OAS) definition for a specific Key Manager, please specify the Key Manager's ID in your request. \n  \nFor example, by passing the query parameter `kmId=65e30b46-85e4-4788-85b7-b1c3de06b2e0`, you will receive the OAS definition containing all relevant information for the Key Manager associated with that ID.\n  \n**Important:** If you're using a client that does not automatically handle URL encoding (such as `curl`), please ensure that you encode the URL properly.\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "You can use this operation to retrieve the swagger definition of an API.\n\n `X-WSO2-Tenant` header can be used to retrieve the swagger definition an API of a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user'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 API's swagger definition, you need to provid"
        },
        {
          "info": {
            "name": "Get async api specification definition\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis/:apiId/async-api-specification",
            "headers": [
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "**API ID** consisting of the **UUID** of the API.\n"
              },
              {
                "name": "environmentName",
                "value": "",
                "type": "query",
                "description": "Name of the API gateway environment.\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "You can use this operation to retrieve the async api specification of an API.\n\n `X-WSO2-Tenant` header can be used to retrieve the async api specification an API of a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user'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 API's swagger definition, you need"
        },
        {
          "info": {
            "name": "Get GraphQL Definition\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis/:apiId/graphql-schema",
            "headers": [
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "**API ID** consisting of the **UUID** of the API.\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "You can use this operation to retrieve the GraphQL schema definition of a GraphQL API.\n\n `X-WSO2-Tenant` header can be used to retrieve the swagger definition an API of a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user'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 API's swagger definition, you "
        },
        {
          "info": {
            "name": "Get API WSDL definition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis/:apiId/wsdl",
            "headers": [
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "If format is wsdl, send the content of the main WSDL file and not the archived WSDL. If not defined, send the zip.\n"
              },
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "**API ID** consisting of the **UUID** of the API.\n"
              },
              {
                "name": "environmentName",
                "value": "",
                "type": "query",
                "description": "Name of the API gateway environment.\n"
              },
              {
                "name": "exp",
                "value": "",
                "type": "query",
                "description": "Time of expiration of the generated URL.\n"
              },
              {
                "name": "sig",
                "value": "",
                "type": "query",
                "description": "Signature to validate the generated URL.\n"
              },
              {
                "name": "X-WSO2-Tenant-Q",
                "value": "",
                "type": "query",
                "description": "For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be\n  retirieved from.\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 WSDL definition of an API.\n"
        },
        {
          "info": {
            "name": "Get Thumbnail Image",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis/:apiId/thumbnail",
            "headers": [
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "**API ID** consisting of the **UUID** of the API.\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 download a thumbnail image of an API.\n\n`X-WSO2-Tenant` header can be used to retrive a thumbnail of an API that belongs to a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user'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 API's thumbnail, you need to provide Authoriza"
        },
        {
          "info": {
            "name": "Get Details of the Subscription Throttling Policies of an API\n",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis/:apiId/subscription-policies",
            "headers": [
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "**API ID** consisting of the **UUID** of the API.\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 details of the subscription throttling policy of an API by specifying the API Id.\n\n`X-WSO2-Tenant` header can be used to retrive API subscription throttling policies that belongs to a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user's tenant associated with the access token will be used.\n"
        },
        {
          "info": {
            "name": "Generate a URL to download a resource for an API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://apis.wso2.com/api/am/admin/v4/apis/:apiId/generate-definition-url",
            "headers": [
              {
                "name": "X-WSO2-Tenant",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Type of the resource to be retrieved using the generated url (Ex - wsdl)"
              },
              {
                "name": "environmentName",
                "value": "",
                "type": "query",
                "description": "Name of the API gateway environment.\n"
              },
              {
                "name": "apiId",
                "value": "",
                "type": "path",
                "description": "**API ID** consisting of the **UUID** of the API.\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Generate a URL to access an API resource like the WSDL definition."
        }
      ]
    }
  ],
  "bundled": true
}