Environment (Collection)


Get all gateway environments

GET https://apis.wso2.com/api/am/publisher/v0.16/environments

This operation can be used to retrieve the list of gateway environments available.

OAuth 2.0 Scope

Not required

Examples

Parameters

Type Name Description Schema Default
Query

apiId

required

**API ID** consisting of the **UUID** of the API. Using the **UUID** in the API call is recommended. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**.

String

Responses

HTTP Code Description Schema

200

OK. Environment list is returned.

EnvironmentList

304

Not Modified. Empty body because the client has already the latest version of the requested resource (Will be supported in future).

404

Not Found. Requested API does not exist.

Error