{
"data": {
"id": "FID001",
"type": "CollectionItemEmbed",
"attributes": {
"title": "string",
"description": "string",
"shortDescription": "string",
"customLabel": "string",
"isPreviewOnly": true,
"releaseStatus": "available",
"studyEnabled": true,
"attr": {}
},
"relationships": {
"folder": {
"data": {
"id": "FID001",
"type": "CollectionFolder"
}
},
"subFolder": {
"data": {
"id": "FID001",
"type": "CollectionSubFolder"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"embed": {
"data": {
"id": "FID001",
"type": "Content"
}
}
}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/collection-item-embed/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "CollectionItemEmbed",
"attributes": {
"title": "string",
"description": "string",
"shortDescription": "string",
"customLabel": "string",
"isPreviewOnly": true,
"releaseStatus": "available",
"studyEnabled": true,
"attr": {}
},
"relationships": {
"folder": {
"data": {
"id": "FID001",
"type": "CollectionFolder"
}
},
"subFolder": {
"data": {
"id": "FID001",
"type": "CollectionSubFolder"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"embed": {
"data": {
"id": "FID001",
"type": "Content"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "CollectionItemEmbed",
"attributes": {
"title": "string",
"description": "string",
"shortDescription": "string",
"customLabel": "string",
"type": "embed",
"isPreviewOnly": true,
"releaseStatus": "available",
"studyEnabled": true,
"attr": {}
},
"relationships": {
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
},
"folder": {
"data": {
"id": "FID001",
"type": "CollectionFolder"
}
},
"subFolder": {
"data": {
"id": "FID001",
"type": "CollectionSubFolder"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"embed": {
"data": {
"id": "FID001",
"type": "Content"
}
}
}
}
}