Diff two revisions of a policy.
Changed onReturns an RFC 6902 JSON Patch array describing what changed between the 'from' revision and the 'to' revision. If from and to are omitted, the two most recent retained revisions are compared. Object-level changes (adds, removes, replaces) are reported per field path; array values that differ are reported as a single replace at the array path. Each replace and remove also carries oldValue, the value before the change, so a client can show both sides; RFC 6902 has a client applying the patch ignore it. Admins may diff another user's policy via owner. Requires the policies:read scope.
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/policies/{policyName}/diff
- AuthHTTP bearer
Path parameters
Query parameters
Headers
Response
Revision diff; value is omitted for removals.
Changes
- info
added the optional property
//to the response with the status
- info
- breaking
the response's body type changed from
stringtoobjectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking