Channels

Determine if a git reference satisfies the rules of a channel.

get/spaces/{spaceIdentifier}/projects/{projectId}/channels/{channelId}/git-reference-rule-validation/v1

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/spaces/{spaceIdentifier}/projects/{projectId}/channels/{channelId}/git-reference-rule-validation/v1
  • 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

projectIdstring required
channelIdstring required

Query parameters

gitReferencestring required

Response

Represents the result of testing Channel git protection rules.

Errorsstring[] required
SatisfiesGitReferenceRulesboolean required

Changes

No recorded changes to this operation across all 13 revisions of this API.