checkOrgPolicyDiff
List what a draft file allows or denies in a repo that the live policies don't, for every member who isn't an owner, member by member: the repo's resources, then the records you can read, limit of them a page, each record change with a count and examples of that page's records. Updates are compared on records as they stand and creates not at all, so simulate a proposed edit. Pass next_cursor back as cursor for the next page. A draft with policy_id stands in for that policy alone, as a new version of it would; a draft without one joins the live policies as a new policy. Needs readPolicies and readMembers on the org.
POST
/orgs/{org_id}/policy-diffsPath parameters
Request body JSON required
Returns
400
InvalidCursor | InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidCursorEncoded
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
OrgNotFound | RepoNotFound | PolicyNotFound | BranchNotFound
JSON
One of the following:
- OrgNotFoundEncoded
- RepoNotFoundEncoded
- PolicyNotFoundEncoded
- BranchNotFoundEncoded
413
RequestBodyTooLarge
500
OrgFailure | RepoFailure
JSON
One of the following:
- OrgFailureEncoded
- RepoFailureEncoded
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded