v1

latestSwagger 2.02026-08-061,9128853.7 MB
Environments

Get a list of Environments.

Lists all of the environments in the supplied Octopus Deploy Space. The results will be sorted by the SortOrder field on each environment.

get/{spaceId}/environments

Path parameters

spaceIdstring required

The ID of the space containing the resource(s).

Query parameters

idsstring[]

Environment Ids to filter results to only Environments with the given Ids

namestring

Filters the returned environments by the specified name fragment. Left for backwards compatibility; prefer PartialName.

partialNamestring

Filters the documents using the specified partialName fragment

skipinteger

Number of items to skip. Defaults to zero

takeinteger

Number of items to take. Defaults to 10

Response

The requested list of Environments

Idstring
ItemsPerPageinteger
ItemTypestring
LastModifiedBystring
LastModifiedOnstring date-time
LastPageNumberinteger
Linksobject
NumberOfPagesinteger
TotalResultsinteger