ProjectGroups
List Project Groups
Get a paginated list of the Project Groups in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name.
get/spaces/{spaceIdentifier}/projectgroups
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/projectgroups
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Path parameters
spaceIdentifierstring required
Identifier (ID or slug) of the space
Query parameters
idsstring[]
A comma separated list of Project Group IDs to filter on
namestring
The exact name of a Project Group to be matched
partialNamestring
A partial or complete name to limit the set of retrieved Project Groups to. 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
A paginated list of the Project Groups in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name.
Example response
{
"Items": [
{
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1"
}
],
"ItemsPerPage": 30,
"ItemType": "ProjectGroup",
"LastPageNumber": 1,
"Links": {
"Self": "/api/..."
},
"NumberOfPages": 2,
"TotalResults": 42
}Changes
No recorded changes to this operation across all 13 revisions of this API.