curl --request GET \
--url https://api.example.com/v1/organizations/{organizationId}/projects/{projectId}/content/{id}/versions{
"data": [
{
"version": 123,
"typeVersion": 123,
"status": "<string>",
"content": {},
"createdAt": "<string>",
"createdBy": "<string>"
}
],
"pagination": {}
}Retrieve the version history for a content item
curl --request GET \
--url https://api.example.com/v1/organizations/{organizationId}/projects/{projectId}/content/{id}/versions{
"data": [
{
"version": 123,
"typeVersion": 123,
"status": "<string>",
"content": {},
"createdAt": "<string>",
"createdBy": "<string>"
}
],
"pagination": {}
}{
"data": [
{
"version": 3,
"typeVersion": 2,
"status": "published",
"content": {
"title": "Getting Started Guide v3",
"components": [...]
},
"createdAt": "2024-03-22T10:00:00Z",
"createdBy": "user123"
},
{
"version": 2,
"typeVersion": 2,
"status": "published",
"content": {
"title": "Getting Started Guide v2",
"components": [...]
},
"createdAt": "2024-03-21T10:00:00Z",
"createdBy": "user456"
},
{
"version": 1,
"typeVersion": 1,
"status": "published",
"content": {
"title": "Getting Started Guide",
"components": [...]
},
"createdAt": "2024-03-20T10:00:00Z",
"createdBy": "user123"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 3
}
}
curl -X GET "https://api.metabind.ai/v1/organizations/org123/projects/proj456/content/cont123/versions" \
-H "Authorization: Bearer YOUR_API_KEY"