Append a checksummed capture-agent upload chunk
PATCH/api/v1/capture-agent/jobs/:job_id/uploads/:upload_id
Requires the narrow device credential, current lease, application/offset+octet-stream body, exact Upload-Offset, and SHA-256 Upload-Checksum. Each accepted chunk renews the lease; a checksum mismatch returns 460, and completing the transfer attaches it to the job for durable finalization.
Request
Responses
- 204
- 400
- 401
- 404
- 409
- 413
- 415
- 421
- 460
- 503
Chunk stored durably and upload offset advanced
Response Headers
Declared total byte length
Next durable byte offset
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
The request syntax, headers, body, or validated input is malformed or invalid
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
The opaque credential is absent, ambiguous, malformed, expired, revoked, or invalid
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
The resource is unknown or outside the authenticated household scope
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
The request conflicts with the current resource, revision, lease, credential, or idempotency state
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
A configured streaming body or per-file size limit was exceeded. A transport-level rejection may omit the JSON body.
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
The payload media type is not accepted for this operation, or the file's actual content type is unsupported
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
The request authority or direct peer is outside the configured Jiandu ingress boundary
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
Chunk checksum mismatch
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.
A required core dependency is unavailable; retry with bounded backoff
Response Headers
Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.