# social.colibri.beta.polyfill.getBlob

> Returns the bytes of a blob the requesting user stored with the AppView, so a migration can upload it to their PDS.

- Kind: query
- Authority: polyfill.beta.colibri.social
- Lexicon: 1
- Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.polyfill.getBlob)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.polyfill.getBlob/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.polyfill.getBlob/analytics)

## Query (`social.colibri.beta.polyfill.getBlob`)

Type: query · GET

### Parameters (query string)

- `cid` (string · cid, required): The CID of the record or blob.

### Output (*/*)


### Errors

- `AuthRequired`: The request has no valid service auth.
- `InvalidRequest`: The arguments are inconsistent or malformed beyond schema validation.
- `BlobNotFound`: The caller has no blob with this CID.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Returns the bytes of a blob the requesting user stored with the AppView, so a migration can upload it to their PDS.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The arguments are inconsistent or malformed beyond schema validation.",
          "name": "InvalidRequest"
        },
        {
          "description": "The caller has no blob with this CID.",
          "name": "BlobNotFound"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "cid": {
            "description": "The CID of the record or blob.",
            "format": "cid",
            "type": "string"
          }
        },
        "required": [
          "cid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.colibri.beta.polyfill.getBlob",
  "lexicon": 1
}
```
