cURL
curl --request GET \ --url https://api.example.com/app/v1/organizations/{organizationId}/projects/{projectId}/content/{id}/versions/{version}
Retrieve a specific version of a content item
{ "id": "cont123", "name": "Getting Started Guide", "typeId": "ct-article", "status": "published", "version": 2, "typeVersion": 1, "content": { "title": "Getting Started Guide v2", "components": [ { "type": "TextBlock", "props": { "text": "Welcome to the guide..." } } ] }, "tags": ["guide", "beginner"], "isTemplate": false, "metadata": { "createdBy": "user123", "createdAt": "2024-03-20T10:00:00Z", "updatedBy": "user456", "lastUpdatedAt": "2024-03-21T10:00:00Z", "publishedBy": "user456", "publishedAt": "2024-03-21T10:00:00Z" }, "createdAt": "2024-03-20T10:00:00Z", "updatedAt": "2024-03-21T10:00:00Z" }
{ "error": { "code": "VERSION_NOT_FOUND", "message": "Version 5 does not exist for this content", "details": { "requestedVersion": 5, "latestVersion": 3 } } }
{ "error": { "code": "NOT_FOUND", "message": "Content not found" } }
curl -X GET "https://api.metabind.ai/app/v1/organizations/org123/projects/proj456/content/cont123/versions/2" \ -H "Authorization: Bearer YOUR_JWT"