# app.chronosky.media.getBlob

> Published by [chronosky.app](https://lexicon.garden/identity/did:plc:bfjib7fy6dob3gyfssyfd4ry)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:bfjib7fy6dob3gyfssyfd4ry/app.chronosky.media.getBlob)
- [Documentation](https://lexicon.garden/lexicon/did:plc:bfjib7fy6dob3gyfssyfd4ry/app.chronosky.media.getBlob/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:bfjib7fy6dob3gyfssyfd4ry/app.chronosky.media.getBlob/examples)

## Definitions

### `app.chronosky.media.getBlob`

**Type**: `query`

Get a blob by its CID from temporary R2 storage. Returns the raw binary content. The authenticated user's temporary blob is retrieved using their DID and the provided CID.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` | Yes | Content Identifier (CID) of the blob to retrieve. |

#### Output

**Encoding**: `*/*`

#### Errors

- **BlobNotFound**: The requested blob was not found.
- **InvalidRequest**: Invalid CID format or missing parameters.

## Raw Schema

```json
{
  "id": "app.chronosky.media.getBlob",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "BlobNotFound",
          "description": "The requested blob was not found."
        },
        {
          "name": "InvalidRequest",
          "description": "Invalid CID format or missing parameters."
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "type": "params",
        "required": [
          "cid"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "maxLength": 200,
            "description": "Content Identifier (CID) of the blob to retrieve."
          }
        }
      },
      "description": "Get a blob by its CID from temporary R2 storage. Returns the raw binary content. The authenticated user's temporary blob is retrieved using their DID and the provided CID."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
