Document Versions
List document versions
Returns a paginated list of versions for a specific document.
get/documents/{document_id}/versions
Request
- Base URLhttps://api.metorial.com
- AuthHTTP bearer
Path parameters
document_idstring required
Unique identifier of the document.
Query parameters
limitnumber
afterstring
beforestring
cursorstring
order'asc' | 'desc'
Filter by document version ID
Filter Filter by creation time by date range
Filter Filter by last edit time by date range
Headers
Metorial-Versionstring
Example:2025-01-01
Pin the dated API version for this request, e.g. 2025-01-01. Defaults to the version configured for the environment.
Response
Successful response
Example response
{
"items": [
{
"editors": [
{
"organization_actor": {
"id": "omem_5fGhJkLmNpQrStUv",
"organization_id": "org_7hNkPqRsTuVwXyZa",
"name": "Alex Chen",
"email": "alex.chen@acme.com",
"image_url": "https://avatar-cdn.metorial.com/aimg_1234567890",
"member": {
"id": "ome_7hNkPqRsTuVwXyZa"
},
"teams": [
{
"id": "tm_3eFgHjKlMnPqRsTu",
"name": "Engineering",
"slug": "engineering",
"assignment_id": "tmas_8jKlMnPqRsTuVwXy"
}
]
}
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.