Request
Body Params application/vnd.api+json
{
"data": {
"type": "FlagExport",
"attributes": {
"isReviewed": true
},
"relationships": {
"portal": {
"data": {
"id": "FID001",
"type": "Portal"
}
},
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
}
}
}
}
Request samples
curl --location --request POST 'https://api.synap.ac/v3/flag-exports' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "FlagExport",
"attributes": {
"isReviewed": true
},
"relationships": {
"portal": {
"data": {
"id": "FID001",
"type": "Portal"
}
},
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
}
}
}
}'
Responses
data
object (FlagExport)Â
optionalThe primary key for each resource.
{
"data": {
"id": "FID001",
"type": "FlagExport",
"attributes": {
"isReviewed": true
},
"relationships": {
"portal": {
"data": {
"id": "FID001",
"type": "Portal"
}
},
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
}
}
}
}
Modified at 2025-07-08 10:51:22