List versions

Returns versions of an endpoint, with results optionally paginated, sorted, and filtered.

Path Params
integer
required

The unique identifier for the endpoint.

Query Params
integer
Defaults to 1

The page number index, starting at the default value of 1.

integer
Defaults to 2147483647

The number of endpoint versions on each page of results.

string
Defaults to versionNumber

Enum The field to sort endpoint versions by, versionNumber by default.

string
Defaults to desc

Enum The sort order, either asc for ascending or the default desc for descending.

string
Defaults to ALL

Enum The type of endpoint versions to return based on their visibility status. By default the API returns ALL endpoint version. You can instead decide to return ONLY_VISIBLE endpoint versions, or ONLY_HIDDEN endpoint versions. Run the Show a version and Hide a version operations to control which endpoint versions are listed.

string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Responses

Response body
object
integer
required

The unique identifier for the endpoint.

string

The name of the endpoint, unique within the account.

apiVersions
array of objects

Each endpoint version within a collection.

apiVersions
object
integer

The unique identifier for the endpoint version.

availableActions
array of strings

Available actions that you can perform on the version depending on the version's activation status.

availableActions
string | null

The URL path that serves as a root prefix for all resources' resourcePath values. This is / if empty. Don't append a / character to the path. If you specify null in the request or omit this member from the object, the JSON response reflects it as an empty string.

integer | null

For cloned versions, the unique identifier for the source version.

date-time

The ISO 8601 timestamp indicating when you created the endpoint version.

string

The identifier for the user who created the version.

string | null

The description of the endpoint version. If you specify null in the request or omit this member from the object, the JSON response reflects it as an empty string.

boolean

Indicates whether the endpoint version is hidden. You cannot activate or delete hidden versions. If you want to do so, you first need to reveal the version by running the Show a version operation.

boolean

Whether the endpoint version is read-only.

integer
required

The identifier for the last modification of an endpoint version, used for optimistic locking. See Concurrency control for details.

date-time | null

The ISO 8601 timestamp indicating when you activated the endpoint version on the production network.

string | null

The version activation status on the production network, either PENDING if the version contains changes that are being propagated to the network, ACTIVE if the version is active, DEACTIVATED if the version was once active but is deactivated, or FAILED if an activation or deactivation attempt for this version has failed. The value is null for versions that have never been activated on this network.

PENDING ACTIVE DEACTIVATED FAILED

date-time | null

The ISO 8601 timestamp indicating when you activated the endpoint version on the staging network.

string | null

The version activation status on the staging network, either PENDING if the version contains changes that are being propagated to the network, ACTIVE if the version is active, DEACTIVATED if the version was once active but is deactivated, or FAILED if an activation or deactivation attempt for this version has failed. The value is null for versions that have never been activated on this network.

PENDING ACTIVE DEACTIVATED FAILED

date-time

The ISO 8601 timestamp indicating when you last modified the endpoint version.

string

The identifier for the user who last modified the version.

integer
required

The endpoint version number.

integer
≥ 1
Defaults to 1

The number of the current page with results.

integer
Defaults to 2147483647

The number of endpoint versions on each page with results.

integer

The total number of endpoint versions available in the returned set.

Language
Authentication
URL