Add User Document Tag
GraphQL endpoint: /user
Attaches one of the calling user's tags to one of their documents. Adding a suggested tag confirms the suggestion, moving it from the document's tagSuggestions into its tags.
Query
mutation ($documentId: ID!, $tagId: ID!) {
addUserDocumentTag(documentId: $documentId, tagId: $tagId) {
status
}
}
Variables
{
"documentId": "00000000-0000-4000-8000-000000000001",
"tagId": "00000000-0000-4000-8000-000000000002"
}Response
{
"data": {
"addUserDocumentTag": {
"status": "OK"
}
}
}Last updated