Set Upload Common Metadata KV
Pre-step write path the coordinator uses after virus scan and classification: upserts common:* KV entries on exactly one of an upload or a folder, bypassing step bindings. Entries without a value are skipped; any key outside common:* or a value with no variant set is rejected with InvalidArgument.
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.
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Exactly one of upload_id / folder_id MUST be set. upload_id routes to UploadMetadataKV (the original path); folder_id routes to FolderMetadataKV (folder-bound pipelines).
length <= 64length <= 64items <= 1000Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalPipelineRunsService/SetUploadCommonMetadataKV" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}