Xeonr Developer Docs

GetResourceMetadataKV

POST
/uplim.api.v1.InternalPipelineRunsService/GetResourceMetadataKV

Returns every live KV entry on a resource — used by the dispatcher to resolve ${{ resource.metadata.<key> }} references against the accumulated state (built-in pre-step writes like common:mime + anything earlier pipeline runs wrote).

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

resourceKind?string

Resource kinds a pipeline can target. Mirrors the matcher infra's kind gating (see content_type_matcher.proto).

Value in"PIPELINE_RESOURCE_KIND_UNSPECIFIED" | "PIPELINE_RESOURCE_KIND_UPLOAD" | "PIPELINE_RESOURCE_KIND_FOLDER" | "PIPELINE_RESOURCE_KIND_VIRTUAL_FILE" | "PIPELINE_RESOURCE_KIND_INTEGRATION_FOLDER"
folderId*string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalPipelineRunsService/GetResourceMetadataKV" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{    "folderId": "string"  }'
{
  "entries": [
    {
      "key": "string",
      "valueType": "METADATA_VALUE_TYPE_UNSPECIFIED",
      "value": {
        "arrayValue": {
          "values": [
            {}
          ]
        }
      },
      "title": "string",
      "iconName": "string",
      "hiddenFromUsers": true
    }
  ],
  "resourceJson": "string"
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}