{
"data": {
"type": "CollectionProgress",
"attributes": {},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/collection-progresses' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "CollectionProgress",
"attributes": {},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "CollectionProgress",
"attributes": {
"percentageSeen": 0,
"tally": {
"unseen": 0,
"seen": 0,
"updated": 0,
"new": 0
},
"progress": [
{
"collectionItemId": "string",
"targetId": "string",
"targetType": "test",
"status": "string",
"lastSeen": "string",
"firstSeen": "string",
"timesSeen": 0
}
]
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"collection": {
"data": {
"id": "FID001",
"type": "Collection"
}
}
}
}
}