curl --request GET \
--url https://staging.api.us.aptlydone.com/document/v1/documents/{id}/changelog \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:01.609Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
"tenantId": "105fa115-52d0-4466-baff-740447a60774",
"documentId": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
"revisionId": "123456",
"revisionDate": "2024-12-18T09:50:43.338Z",
"revisedById": "105fa115-52d0-4466-baff-740447a60774",
"revisedByName": "John Doe",
"revisedUserDetail": {}
}
]
}
}
curl --request GET \
--url https://staging.api.us.aptlydone.com/document/v1/documents/{id}/changelog \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"timestamp": "2025-06-24T08:51:01.609Z",
"message": "Success",
"data": {
"page": 1,
"limit": 10,
"total": 100,
"data": [
{
"id": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
"tenantId": "105fa115-52d0-4466-baff-740447a60774",
"documentId": "7df90da4-0634-40b9-abf5-6e97a222cfb8",
"revisionId": "123456",
"revisionDate": "2024-12-18T09:50:43.338Z",
"revisedById": "105fa115-52d0-4466-baff-740447a60774",
"revisedByName": "John Doe",
"revisedUserDetail": {}
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Page number
x >= 1
1
Number of items per page
1 <= x <= 100
10
Criteria for sorting Document Changelog
revisionId
, revisionDate
"documentName"
Order for sorting Document Changelog
asc
, desc
"asc"
Document changelog retrieved successfully
The response is of type object
.