Remakes
Run one op in the builder tab
Relays one op (applyEdits, renderStills, shotDetails, seek, canvas, getProject, seedLibrary, swapImageSources, flushSave) to the builder tab and answers what the tab answered. A renderStills call whose worst-case answer is over the bridge's budget is refused with 413 too_large; split the times across calls.
POST
/v1/remakes/{id}/labAPI key with the remake scope.
Parameters
| Field | In | Type | Description |
|---|---|---|---|
idrequired | path | uuid | The remake id. |
Request body
application/json
| Field | Type | Description |
|---|---|---|
oprequired | enum | One of: applyEdits, renderStills, shotDetails, seek, canvas, getProject, seedLibrary, swapImageSources, flushSave |
args | object | |
timeoutMs | integer |
Responses
200The op's result.
400Invalid request.
401Missing, invalid or revoked key.
403The key lacks the scope, or the key's owner has view-only access to the workspace (code
forbidden).404Not found.
409No builder tab is connected (code
tab_gone: reopen the project and attach again), another tab took over mid-call (code detached), or the remake ended (code stage).413The answer could be over the budget (code
too_large).422The op threw in the page (code
lab_error).429Rate limited, or a monthly cap reached.
504The tab did not answer in time (code
tab_timeout).200 response body
| Field | Type | Description |
|---|---|---|
result | any |
Example
curl -X POST https://api.raylight.app/v1/remakes/$ID/lab \ -H "Authorization: Bearer $RAYLIGHT_API_KEY" \ -H "Content-Type: application/json" \ -d '"string"'