# zone.stratos.repo.uploadBlob

> Published by [lexicon.northsky.app](https://lexicon.garden/identity/did:plc:6uxgo3ypovauub7nblwylqyv)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.repo.uploadBlob)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.repo.uploadBlob/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.repo.uploadBlob/examples)

## Definitions

### `zone.stratos.repo.uploadBlob`

**Type**: `procedure`

Upload a new blob, to be referenced from a Stratos repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by Stratos service.

#### Input

**Encoding**: `*/*`

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blob` | `blob` | Yes |  |

## Raw Schema

```json
{
  "id": "zone.stratos.repo.uploadBlob",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "encoding": "*/*"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "blob"
          ],
          "properties": {
            "blob": {
              "type": "blob"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Upload a new blob, to be referenced from a Stratos repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by Stratos service."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
