Channels

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

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

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/{spaceId}/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

spaceIdstring required
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.