Skip to main content

Approve Diff

Approve a pending diff to promote proposed changes to the next live class version. Requires write scope.

POST/v1/schema-graph/diffs/{id}/approve

Response

Response fields

idstringDiff UUID.
review_statusstringAlways `approved` on success.

Response

{
  "id": "diff-uuid-1",
  "review_status": "approved"
}

Errors

Error responses

401unauthorizedMissing or invalid API key.
404not_foundNo diff with this ID exists for your organization.
429rate_limitedToo many requests. Retry after the period indicated in the Retry-After header.