ApprovalRules

Get a list of Approval rules

Lists all of the approval rules in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name.

get/spaces/{spaceIdentifier}/approvalrules

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

Query parameters

partialNamestring
skipinteger required

Number of items to skip. Defaults to zero

takeinteger required

Number of items to take. Defaults to 30

Response

Success

ItemsPerPageinteger
ItemTypestring
LastPageNumberinteger
NumberOfPagesinteger
TotalResultsinteger

Example response

{
  "Items": [
    {
      "ApprovingTeamIds": [
        "Teams-1",
        "..."
      ],
      "ApprovingUserIds": [
        "Users-1",
        "..."
      ],
      "IdScopes": [
        {
          "EnvironmentIds": [
            "Environments-1",
            "..."
          ],
          "ProjectId": "Projects-1"
        }
      ],
      "SpaceId": "Spaces-1"
    }
  ]
}

Changes

Changed in 1 of the 7 revisions of this API.1