API reference
Animation sets and requirements
Animation sets, the requirements in them, how requirements relate, and the core poses they share.
How to sign in, send a revision and read errors is on the overview.
The project's animation sets
GET /api/projects/:id/animation-sets
Token: read. Role: viewer or above.
| Query | Type | Required |
|---|---|---|
includeArchived | one of "true", "false" | no |
Create an animation set
POST /api/projects/:id/animation-sets
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | yes |
description | text (up to 4000 characters) | no |
skeletonId | id, or null | no |
qualityBarId | id, or null | no |
milestoneId | id, or null | no |
One animation set
GET /api/animation-sets/:id
Token: read. Role: viewer or above. Also through Bridge.
Change an animation set
PATCH /api/animation-sets/:id
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | no |
description | text (up to 4000 characters) | no |
skeletonId | id, or null | no |
qualityBarId | id, or null | no |
milestoneId | id, or null | no |
Archive an animation set
POST /api/animation-sets/:id/archive
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
Restore an animation set that was archived
POST /api/animation-sets/:id/restore
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
An animation set's requirements, relationships and poses
GET /api/animation-sets/:id/planning
Token: read. Role: viewer or above.
Where the nodes of a set's graph are
GET /api/animation-sets/:id/graph-layout
Token: read. Role: viewer or above.
Replace the node positions of a set's graph
PUT /api/animation-sets/:id/graph-layout
Token: write. Role: contributor or above. Needs If-Match with the revision you read.
| Body | Type | Required |
|---|---|---|
positions | object | yes |
autoLayout | true or false | no |
Move some nodes of a set's graph
PATCH /api/animation-sets/:id/graph-layout
Token: write. Role: contributor or above.
| Body | Type | Required |
|---|---|---|
positions | object | yes |
autoLayout | true or false | no |
Earlier layouts of a set's graph
GET /api/animation-sets/:id/graph-layout/snapshots
Token: read. Role: viewer or above.
Put a set's graph back as it was
POST /api/animation-sets/:id/graph-layout/snapshots/:snapshotId/restore
Token: write. Role: contributor or above.
Set the id another program knows an animation set by
PUT /api/animation-sets/:id/external-ids/:source
source names that program.
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
externalId | text (up to 200 characters) | yes |
url | URL, or null | no |
fields | object | no |
Forget the id another program knows an animation set by
DELETE /api/animation-sets/:id/external-ids/:source
Token: write. Role: contributor or above. Also through Bridge.
The project's active requirements, across its sets
GET /api/projects/:id/requirements
Token: read. Role: viewer or above. Also through Bridge.
Plan up to 500 requirements at once
POST /api/projects/:id/requirements/batch-plan
Token: write. Role: lead or above.
| Body | Type | Required |
|---|---|---|
items | list of { id: id; revision: whole number, 1 or more } (at most 500) | yes |
set | { assigneeId?: id, or null; priority?: one of "critical", "high", "medium", "low"; dueOn?: date, or null; milestoneId?: id, or null; planningState?: one of "draft", "ready", "in_production", "on_hold", "cut", "done" } | yes |
Planned animations that no active asset fulfils yet
GET /api/projects/:id/missing-clips
Token: read. Role: viewer or above.
| Query | Type | Required |
|---|---|---|
q | text (up to 200 characters) | no |
character | id | no |
set | id | no |
tag | id or list of id | no |
priority | one of "critical", "high", "medium", "low" | no |
limit | whole number, 1 to 1000 | no |
offset | whole number, 0 or more | no |
Archived relationships and core poses that can be restored
GET /api/projects/:id/archived-planning
Token: read. Role: viewer or above. Also through Bridge.
Create a requirement in an animation set
POST /api/animation-sets/:id/requirements
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | yes |
category | text (up to 80 characters) | no |
description | text (up to 20000 characters) | no |
planningState | one of "draft", "ready", "in_production", "on_hold", "cut", "done" | no |
priority | one of "critical", "high", "medium", "low" | no |
assigneeId | id, or null | no |
parentId | id, or null | no |
targetFrames | whole number, 1 to 100000, or null | no |
isLooping | true or false | no |
hasRootMotion | true or false | no |
targetSpeed | number, 0 to 1000, or null | no |
targetDistance | number, 0 to 100000, or null | no |
targetRotation | number, -36000 to 36000, or null | no |
targetHitTime | number, 0 to 3600, or null | no |
dueOn | date, or null | no |
qualityBarId | id, or null | no |
milestoneId | id, or null | no |
additiveType | one of "local_space", "mesh_space", or null | no |
additiveBasePose | one of "reference_pose", "animation_frame", "animation_scaled", or null | no |
additiveBaseId | id, or null | no |
additiveBaseFrame | whole number, 0 to 100000, or null | no |
layerSlotId | id | no |
layerContentId | id, or null | no |
ownerMachineId | id, or null | no |
ownerStateId | id, or null | no |
depthAxisId | id, or null | no |
machineLevelId | id, or null | no |
stateLevelId | id, or null | no |
overridesId | id, or null | no |
kind | one of "animation", "blendspace", "aim_offset", "collection", "state_machine", "layer" | no |
blendspace | { x: { name: text (up to 60 characters); min: number, -1000000 to 1000000; max: number, -1000000 to 1000000; defaultValue: number, -1000000 to 1000000; divisions: whole number, 2 to 32 }; y: { name: text (up to 60 characters); min: number, -1000000 to 1000000; max: number, -1000000 to 1000000; defaultValue: number, -1000000 to 1000000; divisions: whole number, 2 to 32 } } | no |
One requirement
GET /api/requirements/:id
Token: read. Role: viewer or above.
Change a requirement
PATCH /api/requirements/:id
The assignee, priority and due date need lead.
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | no |
category | text (up to 80 characters) | no |
description | text (up to 20000 characters) | no |
planningState | one of "draft", "ready", "in_production", "on_hold", "cut", "done" | no |
priority | one of "critical", "high", "medium", "low" | no |
assigneeId | id, or null | no |
parentId | id, or null | no |
targetFrames | whole number, 1 to 100000, or null | no |
isLooping | true or false | no |
hasRootMotion | true or false | no |
targetSpeed | number, 0 to 1000, or null | no |
targetDistance | number, 0 to 100000, or null | no |
targetRotation | number, -36000 to 36000, or null | no |
targetHitTime | number, 0 to 3600, or null | no |
dueOn | date, or null | no |
qualityBarId | id, or null | no |
milestoneId | id, or null | no |
additiveType | one of "local_space", "mesh_space", or null | no |
additiveBasePose | one of "reference_pose", "animation_frame", "animation_scaled", or null | no |
additiveBaseId | id, or null | no |
additiveBaseFrame | whole number, 0 to 100000, or null | no |
layerContentId | id, or null | no |
ownerMachineId | id, or null | no |
ownerStateId | id, or null | no |
depthAxisId | id, or null | no |
machineLevelId | id, or null | no |
stateLevelId | id, or null | no |
overridesId | id, or null | no |
blendspace | { x: { name: text (up to 60 characters); min: number, -1000000 to 1000000; max: number, -1000000 to 1000000; defaultValue: number, -1000000 to 1000000; divisions: whole number, 2 to 32 }; y: { name: text (up to 60 characters); min: number, -1000000 to 1000000; max: number, -1000000 to 1000000; defaultValue: number, -1000000 to 1000000; divisions: whole number, 2 to 32 } } | no |
Move a requirement to another animation set
POST /api/requirements/:id/move
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
| Body | Type | Required |
|---|---|---|
animationSetId | id | yes |
Archive a requirement
POST /api/requirements/:id/archive
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
Restore a requirement that was archived
POST /api/requirements/:id/restore
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
Set the id another program knows a requirement by
PUT /api/requirements/:id/external-ids/:source
source names that program.
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
externalId | text (up to 200 characters) | yes |
url | URL, or null | no |
fields | object | no |
Forget the id another program knows a requirement by
DELETE /api/requirements/:id/external-ids/:source
Token: write. Role: contributor or above. Also through Bridge.
Create a relationship between two requirements
POST /api/relationships
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
fromRequirementId | id | yes |
toRequirementId | id | yes |
kind | one of "sequence", "transition", "interrupt", "paired" | no |
priority | whole number, -1000 to 1000 | no |
blendMs | whole number, 0 to 60000, or null | no |
condition | text (up to 2000 characters) | no |
notes | text (up to 4000 characters) | no |
changesDepth | true or false | no |
One relationship
GET /api/relationships/:id
Token: read. Role: viewer or above. Also through Bridge.
Change a relationship
PATCH /api/relationships/:id
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
| Body | Type | Required |
|---|---|---|
kind | one of "sequence", "transition", "interrupt", "paired" | no |
priority | whole number, -1000 to 1000 | no |
blendMs | whole number, 0 to 60000, or null | no |
condition | text (up to 2000 characters) | no |
notes | text (up to 4000 characters) | no |
Archive a relationship
POST /api/relationships/:id/archive
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
Restore a relationship that was archived
POST /api/relationships/:id/restore
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
The project's core poses and what is linked to them
GET /api/projects/:id/core-poses
Token: read. Role: viewer or above. Also through Bridge.
Create a core pose shared by the whole project
POST /api/projects/:id/core-poses
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | yes |
kind | one of "idle", "combat_idle", "locomotion", "anticipation", "contact", "recovery", "hit_reaction", "death", "other" | no |
description | text (up to 4000 characters) | no |
sourceAssetId | id, or null | no |
sourceFrame | whole number, 0 to 1000000, or null | no |
Create a core pose in an animation set
POST /api/animation-sets/:id/core-poses
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | yes |
kind | one of "idle", "combat_idle", "locomotion", "anticipation", "contact", "recovery", "hit_reaction", "death", "other" | no |
description | text (up to 4000 characters) | no |
sourceAssetId | id, or null | no |
sourceFrame | whole number, 0 to 1000000, or null | no |
Change a core pose
PATCH /api/core-poses/:id
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | no |
kind | one of "idle", "combat_idle", "locomotion", "anticipation", "contact", "recovery", "hit_reaction", "death", "other" | no |
description | text (up to 4000 characters) | no |
sourceAssetId | id, or null | no |
sourceFrame | whole number, 0 to 1000000, or null | no |
Archive a core pose
POST /api/core-poses/:id/archive
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
Restore a core pose that was archived
POST /api/core-poses/:id/restore
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
Link a core pose to a requirement
POST /api/requirements/:id/poses
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
corePoseId | id | yes |
role | one of "start", "end", "key", "reference" | yes |
Unlink a core pose from a requirement
DELETE /api/requirements/:id/poses/:corePoseId/:role
Token: write. Role: contributor or above. Also through Bridge.
Link an asset to a core pose
PUT /api/assets/:id/core-pose-links/:corePoseId
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
relation | one of "starts_from", "ends_to", "derives_from", "passes_through" | yes |
Unlink an asset from a core pose
DELETE /api/assets/:id/core-pose-links/:corePoseId
Without relation, every link between the two.
Token: write. Role: contributor or above. Also through Bridge.
| Query | Type | Required |
|---|---|---|
relation | one of "starts_from", "ends_to", "derives_from", "passes_through" | no |
Whether you watch a requirement
GET /api/requirements/:id/watch
Token: read. Role: viewer or above.
Watch a requirement
PUT /api/requirements/:id/watch
Token: write. Role: viewer or above.
Stop watching a requirement
DELETE /api/requirements/:id/watch
Token: write. Role: viewer or above.