Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Path Parameters

id
string
required

The id of the requested resource

Query Parameters

limit
integer
default:10

The number of items to return

Required range: 1 <= x <= 100
offset
integer
default:0

How many items to skip (use in conjunction with limit for pagination)

Required range: x >= 0
skipPagination
default:false

If true, return all matching items and ignore limit/offset. Self-hosted only. Has no effect unless API_ALLOW_SKIP_PAGINATION is set to true or 1.

Allowed value: "true"
status

Filter by revision status. Single value, comma-separated list, repeated params (?status=draft&status=approved), or all-drafts shorthand for all active-draft statuses (draft, pending-review, approved, changes-requested).

author
string

Response

200 - application/json

Successful response

revisions
object[]
required
limit
integer
required
offset
integer
required
count
integer
required
total
integer
required
hasMore
boolean
required
nextOffset
integer | null
required