Request
Body Params application/vnd.api+json
{
"data": {
"id": "FID001",
"type": "CollectionFolder",
"attributes": {
"name": "string"
},
"relationships": {
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"items": {
"data": [
{
"id": "FID001",
"type": "CollectionSubFolder"
}
]
}
}
}
}
Request Code Samples
curl --location --request PATCH 'https://api.synap.ac/v3/collection-folders/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "CollectionFolder",
"attributes": {
"name": "string"
},
"relationships": {
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"items": {
"data": [
{
"id": "FID001",
"type": "CollectionSubFolder"
}
]
}
}
}
}'
Responses
{
"data": {
"id": "FID001",
"type": "CollectionFolder",
"attributes": {
"name": "string"
},
"relationships": {
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
},
"coverImage": {
"data": {
"id": "FID001",
"type": "File"
}
},
"items": {
"data": [
{
"id": "FID001",
"type": "CollectionSubFolder"
}
]
}
}
}
}
Modified at 2025-09-15 09:58:55