v1

latestOpenAPI 3.1.02026-07-26289714404.6 KB
Approval Policy

Create Approval Policy

post/approval-policy

Request body

policyConfigurationobject
namestring required
repositorystring required
revisionstring
pathstring
organizationIdstring required
tokenNamestring
tokenIdstring
githubInstallationIdnumber nullable
bitbucketClientKeystring nullable
isBitbucketServerboolean
isGitLabEnterpriseboolean
isGitHubEnterpriseboolean
isGitLabboolean
isAzureDevOpsboolean
vcsConnectionIdstring nullable

Response

policyConfigurationobject
namestring required
repositorystring required
revisionstring
pathstring
tokenNamestring
tokenIdstring
githubInstallationIdnumber nullable
bitbucketClientKeystring nullable
isBitbucketServerboolean
isGitLabEnterpriseboolean
isGitHubEnterpriseboolean
isGitLabboolean
isAzureDevOpsboolean
vcsConnectionIdstring nullable
idstring
createdAtstring date-time
updatedAtstring date-time
isDeletedboolean
authorIdstring
organizationIdstring required
projectIdstring