# io.atcr.hold.getPartUploadUrl

> Get a presigned URL or endpoint info for uploading a specific part of a multipart upload.

- Kind: procedure
- Authority: hold.atcr.io
- Lexicon: 1
- Published by [did:web:lexicon.atcr.io](https://lexicon.garden/identity/did:web:lexicon.atcr.io), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:web:lexicon.atcr.io/io.atcr.hold.getPartUploadUrl)
- [Schema JSON](https://lexicon.garden/lexicon/did:web:lexicon.atcr.io/io.atcr.hold.getPartUploadUrl/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:web:lexicon.atcr.io/io.atcr.hold.getPartUploadUrl/analytics)

## Procedure (`io.atcr.hold.getPartUploadUrl`)

Type: procedure · POST

### Input (application/json)

- `partNumber` (integer, required): Part sequence number (1-indexed)
  - Constraints: minimum: 1
- `uploadId` (string, required): Upload session ID from initiateUpload
  - Constraints: maxLength: 256

### Output (application/json)

- `headers` (unknown): Additional headers required for the request (e.g., content-type)
- `method` (string): HTTP method to use (usually PUT)
  - Constraints: maxLength: 16, default: "PUT"
- `url` (string · uri, required): URL to PUT the part data to

### Errors

- `InvalidUploadId`: No description in schema.
- `InvalidPartNumber`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a presigned URL or endpoint info for uploading a specific part of a multipart upload.",
      "errors": [
        {
          "name": "InvalidUploadId"
        },
        {
          "name": "InvalidPartNumber"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "partNumber": {
              "description": "Part sequence number (1-indexed)",
              "minimum": 1,
              "type": "integer"
            },
            "uploadId": {
              "description": "Upload session ID from initiateUpload",
              "maxLength": 256,
              "type": "string"
            }
          },
          "required": [
            "uploadId",
            "partNumber"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "headers": {
              "description": "Additional headers required for the request (e.g., content-type)",
              "type": "unknown"
            },
            "method": {
              "default": "PUT",
              "description": "HTTP method to use (usually PUT)",
              "maxLength": 16,
              "type": "string"
            },
            "url": {
              "description": "URL to PUT the part data to",
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "url"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "io.atcr.hold.getPartUploadUrl",
  "lexicon": 1
}
```
