List retained versions of a policy.
Changed onReturns a summary of each retained snapshot for the named policy, ordered by revision descending (most recent first). Each entry carries the revision number, the timestamp the snapshot was captured, its content hash, and the username of the user whose change produced it. The history of a deleted policy is kept and listed the same way; GET /api/policies?deleted=true lists deleted policies. Admins may browse another user's history via the owner parameter. 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}/versions
- AuthHTTP bearer
Path parameters
Query parameters
Headers
Response
A page of version summaries, most recent first by default, and the total.
Changes
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from 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 - info
added the optional property
to the response with the status
- warning
- breaking
the response's body type changed from
arraytoobjectfor status - breaking
the response's body type changed from
arraytoobjectfor status - info
added the new optional
queryrequest parameterorder - info
added the new optional
queryrequest parametersort - 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