Add Label Set Item into Project's Label Set
Last updated
Last updated
Beside adding label set item through the , we also allow users to add new label set item into existing Label Set through API.
Use the following cURL command to add one or more label set items 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:
tagItems:
tagName: name of the label item
color: valid HTML readable color code
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 to for best practices on choosing an operationName
.
labelSetId: string, id of the target label set in a project. Refer to to obtain label set ID.