Request
The primary key for each resource.
Body Params application/vnd.api+json
data
object (Annotation)Â
requiredThe primary key for each resource.
{
"data": {
"id": "FID001",
"type": "Annotation",
"attributes": {
"body": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}
Request samples
curl --location --request PATCH 'https://api.synap.ac/v3/annotations/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "Annotation",
"attributes": {
"body": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}'
Responses
data
object (Annotation)Â
optionalThe primary key for each resource.
{
"data": {
"id": "FID001",
"type": "Annotation",
"attributes": {
"collectionItemId": "string",
"body": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}
Modified at 2025-07-08 10:51:21