Xeonr Developer Docs

GetRenderWorkerContext

POST
/uplim.api.v1.InternalPipelineRunsService/GetRenderWorkerContext

GetRenderWorkerContext returns the worker-bridge context the puppeteer dispatcher feeds into the headless renderer for THIS step. The renderer SDK's WorkerRendererProvider reads upload/config/ __auth_token/__api_base_url via the bridge's getInput; without them upload/scope resolve null and the worker can't render. The api resolves the run's resource upload (with a browser-fetchable content_url) so the dispatcher can supply them. Self-authed with the per-step JWT.

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

runId?string
Formatuuid
stepId?string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalPipelineRunsService/GetRenderWorkerContext" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "uploadJson": "string",
  "configJson": "string",
  "authToken": "string",
  "apiBaseUrl": "string",
  "scopeJson": "string"
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}