forked from datasaur-ai/api-client-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_project_row.json
More file actions
74 lines (74 loc) · 2.21 KB
/
create_project_row.json
File metadata and controls
74 lines (74 loc) · 2.21 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"operationName": "LaunchTextProjectMutation",
"variables": {
"input": {
"name": "Test Project",
"documentSettings": {
"kind": "ROW_BASED",
"autoScrollWhenLabeling": true,
"displayedRows": 1,
"mediaDisplayStrategy": "FULL"
},
"assignees": [
{
"email": "ivan@datasaur.ai"
}
],
"projectSettings": {
"consensus": 1,
"enableEditLabelSet": false,
"enableEditSentence": false
},
"documents": [
{
"name": "name",
"file": null,
"fileName": "name.csv",
"settings": {
"questions": [
{
"type": "DROPDOWN",
"config": {
"multiple": true,
"options": [
{
"id" : "1",
"label" : "Red"
},
{
"id" : "2",
"label" : "Black"
},
{
"id" : "3",
"label" : "White"
}
]
},
"name": "Color",
"label": "What color is it?",
"required": false
}
]
},
"docFileOptions": {
"customHeaderColumns": [
{
"name": "Book Cover 1",
"displayed": true,
"labelerRestricted": false
},
{
"name": "Book Cover 2",
"displayed": true,
"labelerRestricted": false
}
],
"firstRowAsHeader": true
}
}
]
}
},
"query": "mutation LaunchTextProjectMutation($input: LaunchTextProjectInput!) { launchTextProject(input: $input) { id rootDocumentId settings { consensus enableEditLabelSet enableEditSentence __typename } __typename }}"
}