List document snapshots in Dynatrace with the Document API, returning snapshot metadata in descending version order with paging.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/document/v1/documents/{id}/snapshots |
Returns metadata of all snapshots of the document, in descending order of the snapshot version. Requires write-access to the document. For built-in documents, this endpoint returns an empty list rather than a 403, since built-in documents don't support snapshots.
You can apply pagination via the pageKey and pageSize parameters.
Note, that at the moment we offer a naive pagination, and therefore interim mutations can lead to result inconsistencies (such as duplicates, missing entries).
To execute this request, you need a platform token or OAuth access token with document:documents:read scope. To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
| Code | Description |
|---|---|
| 200 | - |
| 401 | - |
| 403 | - |
| 404 | - |
| 500 | - |
| 503 | - |
| default | - |