Request
Body Params application/vnd.api+json
{
"data": {
"type": "Annotation",
"attributes": {
"collectionItemId": "string",
"body": "string"
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}
Request samples
curl --location --request POST 'https://api.synap.ac/v3/annotations' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "Annotation",
"attributes": {
"collectionItemId": "string",
"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