Practice Catalog
Set how much autonomy the system has over one practice
OFF stops the review entirely. HUMAN_APPROVAL runs it and records every observation, holds feedback on the work for an authorized reviewer, and still writes the developer's practice pages and the mentor, which are read on request. AUTOMATIC sends feedback on the work without asking, as far as this workspace's reach allows. Send a null autonomy to clear the practice's own setting so it follows its group, and through the group the workspace default.
patch/workspaces/{workspaceSlug}/practices/{practiceSlug}/autonomy
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces/{workspaceSlug}/practices/{practiceSlug}/autonomy
- Auth: HTTP bearer
Path parameters
workspaceSlugstring required
Workspace slug
practiceSlugstring required
Request body
Response
Autonomy updated; the response carries the autonomy now in force and where it came from
Example response
{
"artifactKind": "scm.pull_request",
"automatedReviewPolicy": {
"insufficiencyReason": {
"code": "RUNTIME_BEHAVIOR_NOT_OBSERVED"
},
"knownLimitations": [
{
"code": "RUNTIME_BEHAVIOR_NOT_OBSERVED"
}
]
},
"automatedReviewWithdrawal": {
"code": "RUNTIME_BEHAVIOR_NOT_OBSERVED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.