Tags
Create tags and attach them to records, documents and drive resources.
Host: editor_api_domain (from the token response) · Path prefix: /docktix/api/v1/ · Method: POST (parameter-less reads are GET) · every POST body also carries Firm_Id and Email · see Authentication for headers and errors. Use the same access token as for all other routes.
| Route | Scope | Purpose |
|---|---|---|
tags/list | DocktixFirm.tags.READ | List tags of a type |
tags/create | DocktixFirm.tags.CREATE | Create a tag |
tags/assign | DocktixFirm.tags.UPDATE | Attach a tag to items |
tags/unassign | DocktixFirm.tags.UPDATE | Remove a tag from items |
tags/delete | DocktixFirm.tags.DELETE | Delete a tag |
Tag_Type is one of Record, Document or Resource (case-insensitive). Every Tag_Id and every item id must belong to your firm: an unknown or foreign tag answers 404 Tag not found., an unknown or foreign item answers 404 naming the id. When several ids are sent, all are checked first, so a refused id changes nothing.
List tags
{editor_api_domain}/docktix/api/v1/tags/list| Parameter | Type | Required | Description |
|---|---|---|---|
Tag_Type | string | Required | Record, Document or Resource |
Details is your active tags of that type.
Create a tag
{editor_api_domain}/docktix/api/v1/tags/create| Parameter | Type | Required | Description |
|---|---|---|---|
Tag_Label | string | Required | |
Tag_Type | string | Required | Record, Document or Resource |
Tag_Color | string | Optional |
Details is the new tag's id. Labels are not checked for duplicates.
Assign / unassign a tag
{editor_api_domain}/docktix/api/v1/tags/assign{editor_api_domain}/docktix/api/v1/tags/unassign| Parameter | Type | Required | Description |
|---|---|---|---|
Tag_Id | string | Required | The tag |
Tag_Type | string | Required | The kind of the items |
Selected_Ids | array of strings | Required | 1 to 100 item ids of that kind (duplicates are removed) |
assign skips items that already carry the tag.
Delete a tag
{editor_api_domain}/docktix/api/v1/tags/delete| Parameter | Type | Required | Description |
|---|---|---|---|
Tag_Id | string | Required | |
Confirm | boolean | Required | Must be true; otherwise 400 and nothing is changed |