Docs

API reference

References and tags

Reference files and links on sets, requirements and characters, the tags of a project, and external ids.

How to sign in, send a revision and read errors is on the overview.

The references on an animation set

GET /api/animation-sets/:id/references

Token: read. Role: viewer or above.

POST /api/animation-sets/:id/references

Token: publish. Role: contributor or above.

Body: one of 4 shapes.

The references on a requirement

GET /api/requirements/:id/references

Token: read. Role: viewer or above.

POST /api/requirements/:id/references

Token: publish. Role: contributor or above.

Body: one of 4 shapes.

The references on a character

GET /api/characters/:id/references

Token: read. Role: viewer or above.

POST /api/characters/:id/references

Token: publish. Role: contributor or above.

Body: one of 4 shapes.

One reference

GET /api/references/:id

Token: read. Role: viewer or above.

Change a reference

PATCH /api/references/:id

Token: write. Role: contributor or above. Needs If-Match with the revision you read.

BodyTypeRequired
titletext (up to 200 characters)yes

Archive a reference

POST /api/references/:id/archive

Token: write. Role: contributor or above. Needs If-Match with the revision you read.

Restore a reference that was archived

POST /api/references/:id/restore

Token: write. Role: contributor or above. Needs If-Match with the revision you read.

A reference's file

GET /api/references/:id/content

Token: read. Role: viewer or above.

The comments on a reference

GET /api/references/:id/comments

Token: read. Role: viewer or above.

QueryTypeRequired
includeArchivedone of "true", "false"no

Comment on a reference

POST /api/references/:id/comments

Token: write. Role: viewer or above.

BodyTypeRequired
bodytext (up to 4000 characters)yes

Change your comment

PATCH /api/reference-comments/:id

Token: write. Role: viewer or above.

BodyTypeRequired
bodytext (up to 4000 characters)yes

Archive a comment

POST /api/reference-comments/:id/archive

Token: write. Role: viewer or above.

Restore a comment that was archived

POST /api/reference-comments/:id/restore

Token: write. Role: viewer or above.

The project's tags, with how often each is used

GET /api/projects/:id/tags

Token: read. Role: viewer or above. Also through Bridge.

Create a tag

POST /api/projects/:id/tags

Token: write. Role: contributor or above. Also through Bridge.

BodyTypeRequired
nametext (up to 40 characters)yes
colorone of "slate", "red", "orange", "amber", "green", "teal", "blue", "violet", "pink"no

Change a tag

PATCH /api/projects/:id/tags/:tagId

Token: write. Role: contributor or above. Also through Bridge.

BodyTypeRequired
nametext (up to 40 characters)no
colorone of "slate", "red", "orange", "amber", "green", "teal", "blue", "violet", "pink"no

Remove a tag

DELETE /api/projects/:id/tags/:tagId

Token: write. Role: contributor or above.

Restore a tag that was removed

POST /api/projects/:id/tags/:tagId/restore

Token: write. Role: contributor or above.

Which item has which tag

GET /api/projects/:id/tag-assignments

Token: read. Role: viewer or above. Also through Bridge.

Put a tag on an item

PUT /api/projects/:id/tags/:tagId/assignments/:entityType/:entityId

Token: write. Role: contributor or above. Also through Bridge.

Take a tag off an item

DELETE /api/projects/:id/tags/:tagId/assignments/:entityType/:entityId

Token: write. Role: contributor or above. Also through Bridge.

The ids other programs know items by

GET /api/projects/:id/external-ids

Token: read. Role: viewer or above. Also through Bridge.

QueryTypeRequired
sourcetextno
kindone of "character", "animation_set", "requirement", "asset"no
externalIdtext (up to 200 characters)no
subjectIdidno
includeArchivedone of "true", "false"no
cursortextno
limitwhole number, 1 to 1000no