Docs

API reference

Runtime captures

Captures recorded in the game, checked against the plan.

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

Start a capture with its header

POST /api/integrations/v1/captures

Safe to repeat.

Token: publish. Role: contributor or above.

BodyTypeRequired
projecttext (up to 64 characters)yes
header{ format: "animsync-trace/1"; id: id; recordedAt: date and time; durationSeconds: number, 0 to 604800; engine: { name: text (up to 40 characters); version?: text (up to 40 characters) }; plugin: { version?: text (up to 40 characters); stateReader: true or false }; map?: text (up to 300 characters), or null; subjects: list of object (at most 64); chunks: list of object (at most 1000) }yes

Send one chunk

PUT /api/integrations/v1/captures/:id/chunks/:n

Token: publish. Role: contributor or above.

Body: the chunk file, as application/octet-stream.

Finish a capture

POST /api/integrations/v1/captures/:id/complete

It is indexed and checked.

Token: publish. Role: contributor or above.

The project's captures

GET /api/projects/:id/captures

Token: read. Role: viewer or above.

One capture

GET /api/runtime-captures/:id

Token: read. Role: viewer or above.

One check of a capture, with its findings

GET /api/validation-runs/:id

Token: read. Role: viewer or above.

Check a capture against the plan again

POST /api/runtime-captures/:id/check

Token: write. Role: contributor or above.

Archive a capture

POST /api/runtime-captures/:id/archive

Token: write. Role: contributor or above.

Restore a capture that was archived

POST /api/runtime-captures/:id/restore

Token: write. Role: contributor or above.

What captures show of a requirement

GET /api/requirements/:id/runtime

Token: read. Role: viewer or above.