Sorry, no results found for "".
Returns a resource object of type item_version.
GET https://site-api.datocms.com/versions/:item_version_id HTTP/1.1Authorization: Bearer YOUR-API-TOKENAccept: application/jsonX-Api-Version: 3
curl -g 'https://site-api.datocms.com/versions/:item_version_id' \ \ -H "Authorization: Bearer YOUR-API-TOKEN" \ -H "Accept: application/json" \ -H "X-Api-Version: 3"
await fetch("https://site-api.datocms.com/versions/:item_version_id", { headers: { Authorization: "Bearer YOUR-API-TOKEN", Accept: "application/json", "X-Api-Version": "3", },});
HTTP/1.1 200 OKContent-Type: application/jsonCache-Control: cache-control: max-age=0, private, must-revalidateX-RateLimit-Limit: 30X-RateLimit-Remaining: 28
{ "data": { "type": "item_version", "id": "59JSonvYTCOUDz_b7_6hvA", "attributes": { "title": "My first blog post!", "content": "Lorem ipsum dolor sit amet...", "category": "24", "image": { "alt": "Alt text", "title": "Image title", "custom_data": {}, "focal_point": null, "upload_id": "20042921" } }, "relationships": { "item_type": { "data": { "type": "item_type", "id": "DxMaW10UQiCmZcuuA-IkkA" } }, "item": { "data": { "type": "item", "id": "hWl-mnkWRYmMCSTq4z_piQ" } }, "editor": { "data": { "type": "account", "id": "312" } } }, "meta": { "created_at": "2020-04-21T07:57:11.124Z", "is_published": true, "is_current": true } }}