curl --location --request GET 'https://api.synap.ac/v3/collection-folders'
{
"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"
}
]
}
}
}
],
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
]
}