full diff

io.atcr.hold.completeUpload

From
bafyreigbfwzy6rrzrfovlceev2me7wvcw4cgul5f23daxylzzo5776ifry indexed 2026-11-13 00:49 UTC View this version
To
bafyreigbfwzy6rrzrfovlceev2me7wvcw4cgul5f23daxylzzo5776ifry indexed 2026-11-13 00:49 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Finalize a multipart upload and move the assembled blob to its final location.",
66 "errors": [
77 {
88 "name": "InvalidUploadId"
99 },
1010 {
1111 "name": "InvalidDigest"
1212 },
1313 {
1414 "name": "MissingParts"
1515 },
1616 {
1717 "name": "CompletionFailed"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "digest": {
2525 "description": "Final blob digest (e.g., sha256:abc123...)",
2626 "maxLength": 128,
2727 "type": "string"
2828 },
2929 "parts": {
3030 "description": "List of uploaded parts with their ETags",
3131 "items": {
3232 "ref": "#partInfo",
3333 "type": "ref"
3434 },
3535 "type": "array"
3636 },
3737 "uploadId": {
3838 "description": "Upload session ID from initiateUpload",
3939 "maxLength": 256,
4040 "type": "string"
4141 }
4242 },
4343 "required": [
4444 "uploadId",
4545 "digest",
4646 "parts"
4747 ],
4848 "type": "object"
4949 }
5050 },
5151 "output": {
5252 "encoding": "application/json",
5353 "schema": {
5454 "properties": {
5555 "digest": {
5656 "description": "The digest of the completed blob",
5757 "maxLength": 128,
5858 "type": "string"
5959 },
6060 "status": {
6161 "const": "completed",
6262 "description": "Always 'completed' on success",
6363 "maxLength": 16,
6464 "type": "string"
6565 }
6666 },
6767 "required": [
6868 "status",
6969 "digest"
7070 ],
7171 "type": "object"
7272 }
7373 },
7474 "type": "procedure"
7575 },
7676 "partInfo": {
7777 "description": "Information about a completed upload part",
7878 "properties": {
7979 "etag": {
8080 "description": "ETag returned when the part was uploaded",
8181 "maxLength": 256,
8282 "type": "string"
8383 },
8484 "partNumber": {
8585 "description": "Part sequence number (1-indexed)",
8686 "minimum": 1,
8787 "type": "integer"
8888 }
8989 },
9090 "required": [
9191 "partNumber",
9292 "etag"
9393 ],
9494 "type": "object"
9595 }
9696 },
9797 "id": "io.atcr.hold.completeUpload",
9898 "lexicon": 1
9999}