Xeonr Developer Docs

Resolve Renderer For Content Type

POST
/uplim.api.v1.InternalPipelineRunsService/ResolveRendererForContentType

Late-binds a <slug>:<name> content type to its current renderer archive upload id, preferring the worker config and falling back to the renderer config. NotFound when the integration or content type doesn't exist; FailedPrecondition when there is no config, the renderer is disabled, or it has no archive upload id.

Access: internal only — the pipeline coordinator, authenticated by the shared X-Upl-Internal-Token header matching PIPELINE_INTERNAL_TOKEN (FailedPrecondition when unset, Unauthenticated on mismatch). No user authentication.

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

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

contentTypeUrn?string

<integration-slug>:<content-type-name>. Matches the URN pattern used everywhere else (e.g. default:image).

Match^[a-z][a-z0-9_-]{0,63}:[a-z][a-z0-9_-]{0,63}$
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalPipelineRunsService/ResolveRendererForContentType" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "archiveUploadId": "0f00a816-1fc2-4597-bbce-ea7af713750b"
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}