v1

latestOpenAPI 3.0.12026-07-17387979.8 KB
Subscription Validation

Get API by ID (path)

Get a single API by UUID. When Accept is application/zip, returns a zip archive containing api.yaml in API Platform Gateway format (for platform gateway fetch after api.deployed).

get/apis/{apiId}

Path parameters

apiIdstring required

API UUID.

Headers

Acceptstring

application/zip for API Platform gateway format; application/json for APIList.

Response

API definition (zip with api.yaml when Accept application/zip, else JSON).

countinteger

Number of APIs returned.

Example response

{
  "count": 1,
  "list": [
    {
      "apiType": "APIProduct",
      "status": "APIProduct",
      "organization": "wso2.com",
      "securityScheme": "Oauth2,api_key",
      "subtype": "Default"
    }
  ],
  "pagination": {
    "limit": 1,
    "total": 10
  }
}