Skip to main content

OrganizeMutations

No description

type OrganizeMutations {
createFolder(
scope: String!
name: String!
): Folder
renameFolder(
folderId: Long!
name: String!
): Folder
deleteFolder(
folderId: Long!
): Boolean
createTag(
scope: String!
name: String!
color: String!
): OrganizeTag
updateTag(
tagId: Long!
name: String!
color: String!
): OrganizeTag
deleteTag(
tagId: Long!
): Boolean
setItemFolder(
scope: String!
entityId: Long!
folderId: Long
): Boolean
assignTag(
tagId: Long!
entityId: Long!
): Boolean
unassignTag(
tagId: Long!
entityId: Long!
): Boolean
}

Fields

OrganizeMutations.createFolder ● Folder object

Create a folder for one list view. Requires the scope's manage permission.

OrganizeMutations.createFolder.scope ● String! non-null scalar
OrganizeMutations.createFolder.name ● String! non-null scalar

OrganizeMutations.renameFolder ● Folder object

Rename a folder. Requires the scope's manage permission.

OrganizeMutations.renameFolder.folderId ● Long! non-null scalar
OrganizeMutations.renameFolder.name ● String! non-null scalar

OrganizeMutations.deleteFolder ● Boolean scalar

Delete a folder; its items become unfiled. Requires the scope's manage permission.

OrganizeMutations.deleteFolder.folderId ● Long! non-null scalar

OrganizeMutations.createTag ● OrganizeTag object

Create a colored tag for one list view. Requires the scope's manage permission.

OrganizeMutations.createTag.scope ● String! non-null scalar
OrganizeMutations.createTag.name ● String! non-null scalar
OrganizeMutations.createTag.color ● String! non-null scalar

OrganizeMutations.updateTag ● OrganizeTag object

Rename or recolor a tag. Requires the scope's manage permission.

OrganizeMutations.updateTag.tagId ● Long! non-null scalar
OrganizeMutations.updateTag.name ● String! non-null scalar
OrganizeMutations.updateTag.color ● String! non-null scalar

OrganizeMutations.deleteTag ● Boolean scalar

Delete a tag and all its assignments. Requires the scope's manage permission.

OrganizeMutations.deleteTag.tagId ● Long! non-null scalar

OrganizeMutations.setItemFolder ● Boolean scalar

Move one item into a folder of the same scope, or out of any folder (null). Requires the scope's manage permission.

OrganizeMutations.setItemFolder.scope ● String! non-null scalar
OrganizeMutations.setItemFolder.entityId ● Long! non-null scalar
OrganizeMutations.setItemFolder.folderId ● Long scalar

OrganizeMutations.assignTag ● Boolean scalar

Assign a tag to one item of the tag's scope. Idempotent. Requires the scope's manage permission.

OrganizeMutations.assignTag.tagId ● Long! non-null scalar
OrganizeMutations.assignTag.entityId ● Long! non-null scalar

OrganizeMutations.unassignTag ● Boolean scalar

Remove a tag from one item. Requires the scope's manage permission.

OrganizeMutations.unassignTag.tagId ● Long! non-null scalar
OrganizeMutations.unassignTag.entityId ● Long! non-null scalar

Returned By

organize mutation