API reference
Characters and skeletons
Characters, skeletons, skeletal meshes and the bone maps between skeletons.
How to sign in, send a revision and read errors is on the overview.
The project's characters
GET /api/projects/:id/characters
Token: read. Role: viewer or above. Also through Bridge.
Create a character
POST /api/projects/:id/characters
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 character
GET /api/characters/:id
Token: read. Role: viewer or above. Also through Bridge.
Change a character
PATCH /api/characters/: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 a character
POST /api/characters/:id/archive
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
Restore a character that was archived
POST /api/characters/:id/restore
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
A character's animation sets, in order
GET /api/characters/:id/animation-sets
Token: read. Role: viewer or above. Also through Bridge.
Give a character an animation set, or move it in the order
PUT /api/characters/:id/animation-sets/:setId
Token: write. Role: contributor or above. Also through Bridge.
| Body | Type | Required |
|---|---|---|
sortOrder | whole number, 0 to 10000 | no |
Take an animation set off a character
DELETE /api/characters/:id/animation-sets/:setId
The set itself stays.
Token: write. Role: contributor or above. Also through Bridge.
A character's whole plan: every set's requirements, relationships and poses
GET /api/characters/:id/planning
Token: read. Role: viewer or above. Also through Bridge.
The files in source control under a character's locations
GET /api/characters/:id/vcs-files
Token: read. Role: viewer or above.
Where the nodes of a character's graph are
GET /api/characters/:id/graph-layout
Token: read. Role: viewer or above.
Replace the node positions of a character's graph
PUT /api/characters/: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 character's graph
PATCH /api/characters/:id/graph-layout
Token: write. Role: contributor or above.
| Body | Type | Required |
|---|---|---|
positions | object | yes |
autoLayout | true or false | no |
Earlier layouts of a character's graph
GET /api/characters/:id/graph-layout/snapshots
Token: read. Role: viewer or above.
Put a character's graph back as it was
POST /api/characters/:id/graph-layout/snapshots/:snapshotId/restore
Token: write. Role: contributor or above.
Set the id another program knows a character by
PUT /api/characters/: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 character by
DELETE /api/characters/:id/external-ids/:source
Token: write. Role: contributor or above. Also through Bridge.
The project's skeletons
GET /api/projects/:id/skeletons
Token: read. Role: viewer or above. Also through Bridge.
Create a skeleton
POST /api/projects/:id/skeletons
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 |
Change a skeleton
PATCH /api/skeletons/: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 |
motionUpAxis | one of "x", "y", "z", or null | no |
motionForwardAxis | one of "+x", "-x", "+y", "-y", "+z", "-z", or null | no |
motionSourceNode | text (up to 200 characters), or null | no |
Archive a skeleton
POST /api/skeletons/:id/archive
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
Restore a skeleton that was archived
POST /api/skeletons/:id/restore
Token: write. Role: contributor or above. Needs If-Match with the revision you read. Also through Bridge.
A skeleton with its meshes, rig, characters and animations
GET /api/skeletons/:id/overview
Token: read. Role: viewer or above.
The project's skeletal meshes
GET /api/projects/:id/skeletal-meshes
Token: read. Role: viewer or above.
Create a skeletal mesh
POST /api/projects/:id/skeletal-meshes
Token: write. Role: contributor or above.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | yes |
description | text (up to 4000 characters) | no |
skeletonId | id, or null | no |
One skeletal mesh
GET /api/skeletal-meshes/:id
Token: read. Role: viewer or above.
Change a skeletal mesh
PATCH /api/skeletal-meshes/:id
Token: write. Role: contributor or above. Needs If-Match with the revision you read.
| Body | Type | Required |
|---|---|---|
name | text (up to 120 characters) | no |
description | text (up to 4000 characters) | no |
skeletonId | id, or null | no |
assetId | id, or null | no |
Archive a skeletal mesh
POST /api/skeletal-meshes/:id/archive
Token: write. Role: contributor or above. Needs If-Match with the revision you read.
Restore a skeletal mesh that was archived
POST /api/skeletal-meshes/:id/restore
Token: write. Role: contributor or above. Needs If-Match with the revision you read.
The project's bone maps
GET /api/projects/:id/bone-maps
Token: read. Role: viewer or above.
Create a bone map between two skeletons
POST /api/projects/:id/bone-maps
Token: write. Role: contributor or above.
| Body | Type | Required |
|---|---|---|
sourceSkeletonId | id | yes |
targetSkeletonId | id | yes |
entries | object | no |
sourceHip | text (up to 200 characters), or null | no |
targetHip | text (up to 200 characters), or null | no |
rootMotionScale | number, up to 100, or null | no |
One bone map
GET /api/bone-maps/:id
Token: read. Role: viewer or above.
Change a bone map
PATCH /api/bone-maps/:id
Token: write. Role: contributor or above. Needs If-Match with the revision you read.
| Body | Type | Required |
|---|---|---|
entries | object | no |
sourceHip | text (up to 200 characters), or null | no |
targetHip | text (up to 200 characters), or null | no |
rootMotionScale | number, up to 100, or null | no |
Archive a bone map
POST /api/bone-maps/:id/archive
Token: write. Role: contributor or above. Needs If-Match with the revision you read.
Restore a bone map that was archived
POST /api/bone-maps/:id/restore
Token: write. Role: contributor or above. Needs If-Match with the revision you read.