Add Label Sets into Existing Project
Last updated
Last updated
We allow users to add new label sets in the existing project.
First, you need to create the label set first by following the steps provided in and obtain the returned label set id to be used for the following step:
Use the following cURL command to add a label set into an existing project. You can copy and paste the following template and replace the access_token and the content of the label set items according to your needs.
Below is a more readable version of the above curl command's request body.
variables:
input:
id: string, reviewer's document id of the project.
settings:
labelSets: list of label sets to be registered.
index: the label set slot in zero-based index. For example, if you want to insert the labelset for the 2nd label set, you need to set this value to: 1
query: Copy this from the example above.
💡a tag has the same meaning as label. In the near future we will update the GraphQL Schema to refer to all instances as labels.
Here is the response you can expect after issuing the cURL command. Use the id to create the project.
operationName: you can fill any alphanumeric string in as the operationName. Refer for best practices on choosing an operationName
.
id: id of the label set. Please follow the instruction to create a label set in .