Check in as next version
POST {{baseUrl}}/instances/file/:type/:id/nextVersion
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status OK
{
"name": "ut consectetur magna sint",
"description": "laborum reprehenderit quis Ut id",
"tags": [
"officia dolore pari",
"irure ad aute"
],
"traits": {},
"properties": {},
"ancestor_ids": [
"79f3abf1-5d96-05f3-824b-52080ec840c8",
"urn:uuid:c22ff500-bcfb-a6cd-0927-879fdf8616a9"
],
"policies": [
"e95280d1-4578-bb7e-86f5-69579ea6b8b5",
"7f5f090f-a0ee-9d38-f85d-790f6c9eed18"
],
"lock_owner_identity": {},
"renditions": [
{
"created_by": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"updated_by": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"owner": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": "nostrud mollit Lorem",
"mime_type": "adipisicing ut laboris",
"content_size": 80576773,
"blob_id": "c62b817e-ac28-cc44-f852-9b67d9a033ab",
"rendition_type": "secondary",
"height": -49566452,
"width": 58120810,
"traits": {},
"_links": {
"self": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"edit": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"delete": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"parent": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"urn:eim:linkrel:download_media": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
},
{
"created_by": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"updated_by": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"owner": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": "ex adipisicing ad",
"mime_type": "mollit consectetur reprehenderit",
"content_size": 45880096,
"blob_id": "00abc539-04d3-f1ae-a9cf-3d4622aa4af1",
"rendition_type": "primary",
"height": -39715089,
"width": -44540597,
"traits": {},
"_links": {
"self": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"edit": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"delete": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"parent": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"urn:eim:linkrel:download_media": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
}
}
],
"_links": {
"self": {
"href": "nulla Excepteur anim qui"
},
"edit": {
"href": "labore"
},
"delete": {
"href": "labore ut "
},
"urn:eim:linkrel:permissions": {
"href": "Excepteur elit adipisicing"
},
"urn:eim:linkrel:acl": {
"href": "exercitation cupidatat sed dolore"
},
"urn:eim:linkrel:audit": {
"href": "anim consequat voluptate et"
},
"urn:eim:linkrel:copy": {
"href": "in"
},
"urn:eim:linkrel:parent_links": {
"href": "ex laborum ea comm"
},
"urn:eim:linkrel:checkout": {
"href": "anim voluptate Ut"
},
"urn:eim:linkrel:cancel_checkout": {
" Curl curl -X POST 'https://na-1-dev.api.opentext.com/cms/instances/file/:type/:id/nextVersion' -H 'Content-Type: application/json' -d '{"name":"ut consectetur magna sint","description":"laborum reprehenderit quis Ut id","tags":["officia dolore pari","irure ad aute"],"ancestor_ids":["79f3abf1-5d96-05f3-824b-52080ec840c8","urn:uuid:c22ff500-bcfb-a6cd-0927-879fdf8616a9"],"policies":["e95280d1-4578-bb7e-86f5-69579ea6b8b5","7f5f090f-a0ee-9d38-f85d-790f6c9eed18"],"renditions":[{"created_by":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated_by":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"owner":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":"nostrud mollit Lorem","mime_type":"adipisicing ut laboris","content_size":80576773,"blob_id":"c62b817e-ac28-cc44-f852-9b67d9a033ab","rendition_type":"secondary","height":-49566452,"width":58120810,"_links":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"edit":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"delete":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urn:eim:linkrel:download_media":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"created_by":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated_by":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"owner":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":"ex adipisicing ad","mime_type":"mollit consectetur reprehenderit","content_size":45880096,"blob_id":"00abc539-04d3-f1ae-a9cf-3d4622aa4af1","rendition_type":"primary","height":-39715089,"width":-44540597,"_links":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"edit":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"delete":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urn:eim:linkrel:download_media":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}],"_links":{"self":{"href":"nulla Excepteur anim qui"},"edit":{"href":"labore"},"delete":{"href":"labore ut "},"urn:eim:linkrel:permissions":{"href":"Excepteur elit adipisicing"},"urn:eim:linkrel:acl":{"href":"exercitation cupidatat sed dolore"},"urn:eim:linkrel:audit":{"href":"anim consequat voluptate et"},"urn:eim:linkrel:copy":{"href":"in"},"urn:eim:linkrel:parent_links":{"href":"ex laborum ea comm"},"urn:eim:linkrel:checkout":{"href":"anim voluptate Ut"},"urn:eim:linkrel:cancel_checkout":{"href":"dolore labore ut"},"urn:eim:linkrel:delete_all":{"href":"et esse Ut"},"urn:eim:linkrel:contents":{"href":"dolore ex minim"},"urn:eim:linkrel:version_history":{"href":"officia"},"urn:eim:linkrel:audit_allversions":{"href":"laboris officia"},"urn:eim:linkrel:download_media":{"href":"veniam mollit id dolore"},"urn:eim:linkrel:policies":{"href":"in minim"},"urn:eim:linkrel:holds":{"href":"est velit"}}}' ENDPOINTS |