forked from datasaur-ai/api-client-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_label_set.json
More file actions
32 lines (32 loc) · 1.32 KB
/
create_label_set.json
File metadata and controls
32 lines (32 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"operationName": "CreateLabelSetMutation",
"variables": {
"input": {
"name": "Put your new label set name here",
"tagItems": [
{
"id": "qgvxaa-svCwj18KIcoCBu",
"parentId": null,
"desc": null,
"color": "red",
"tagName": "PER"
},
{
"id": "qgvxbb-svCwj18KIcoCBu",
"parentId": null,
"desc": null,
"color": "green",
"tagName": "GEO"
},
{
"id": "qgvxMd-svCwj18KIcoCBu",
"parentId": null,
"desc": null,
"color": null,
"tagName": "GPE"
}
]
}
},
"query": "mutation CreateLabelSetMutation($input: CreateLabelSetInput!) {\n createLabelSet(input: $input) {\n ...LabelSetFragment\n __typename\n }\n}\n\nfragment LabelSetFragment on LabelSet {\n id\n name\n tagItems {\n ...TagItemFragment\n __typename\n }\n lastUsedBy {\n name\n __typename\n }\n __typename\n}\n\nfragment TagItemFragment on TagItem {\n id\n parentId\n color\n desc\n tagName\n __typename\n}\n"
}