Spaces
Get a list of Spaces
Lists all of the Spaces in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name.
get/spaces
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Query parameters
idsstring[]
Comma separated list of Ids
namestring
The exact name of a Space to be matched
partialNamestring
A partial or complete name to search on. This will perform a "contains" style match against the supplied name or name-fragment
skipinteger
Number of items to skip. Defaults to zero
takeinteger
Number of items to take. Defaults to 30
Response
The requested list of Spaces
Example response
{
"Items": [
{
"ExtensionSettings": [],
"Icon": {
"Color": "#3CA4F3",
"Id": "rocket"
},
"Links": {
"Self": "/api/..."
},
"SpaceManagersTeamMembers": [
"Users-1",
"..."
]
}
],
"ItemsPerPage": 30,
"ItemType": "Space",
"LastPageNumber": 1,
"Links": {
"Self": "/api/..."
},
"NumberOfPages": 2,
"TotalResults": 42
}Changes
No recorded changes to this operation across all 13 revisions of this API.