Update upload (internal)
Updates an upload with processing results including validation, metadata, AI analysis, and virus scan. Authenticated by the in-band update_token; no Bearer required.
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
Per-upload processing JWT (queue.EncodeUploadToken)
1 <= length <= 4096Per-entry metadata writes. Each entry is upserted into UploadMetadataKV keyed on (upload_id, key). Replaces the legacy UploadMetadata proto blob. Key must be a known registration (common:* or owning integration's slug).
items <= 32validate:skip a bool has no bounds
validate:skip opaque pipeline version, any uint32 stored as-is
validate:skip opaque pipeline version, any uint32 stored as-is
validate:skip opaque pipeline version, any uint32 stored as-is
validate:skip opaque pipeline version, any uint32 stored as-is
Detection results from the pipeline's classification step. Persisted on the Upload row as detected_mime / detected_magic_format / detected_encoding / detected_magic_prefix. The prefix is the first 64 bytes of the file; the read-side matcher evaluator uses it to handle MagicMatch_Raw byte-for-byte the same as the pipeline.
length <= 255length <= 64length <= 32bytelength <= 64URN of the content type whose worker generated the current S3 thumbnail (e.g., "default:image"). Equals resolvePrimary(detection, BucketApplicationDefault) at last classify/reprocess. Null when no thumbnail was generated.
length <= 160Reprocess marker — set by the Sub-plan F reprocess workflow once an upload has been re-run under the new content type system.
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalUploadsService/UpdateUpload" \ -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": {}
}
]
}