Add Label Set Item into Project's Label Set
cURL
curl --location --request POST '<https://datasaur.ai/graphql>' \\
--header 'Authorization: Bearer access_token' \\
--header 'Content-Type: application/json' \\
--data-raw '{ "query": "mutation AppendLabelSetTagItems($input: AppendLabelSetTagItemsInput!) { appendLabelSetTagItems(input: $input) { id color parentId tagName } }", "operationName": "AppendLabelSetTagItems", "variables": { "input": { "labelSetId": "project-label-set-id", "tagItems": [ { "tagName": "LOC", "color": null }, { "tagName": "GPE", "color": null } ] } } }'
{
"operationName": "AppendLabelSetTagItems",
"query": "mutation AppendLabelSetTagItems($input: AppendLabelSetTagItemsInput!) { appendLabelSetTagItems(input: $input) { id color parentId tagName } }",
"variables": {
"input": {
"labelSetId": "label-set-id",
"tagItems": [
{
"tagName": "LOC",
"color": null
},
{
"tagName": "GPE",
"color": null
}
]
}
}
}Response
Last updated