# us.off-the-clock.admin.getBlob

> One blob and the records that reference it. Effective admins and the community identity only.

- Kind: query
- Authority: admin.off-the-clock.us
- Lexicon: 1
- Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.getBlob)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.getBlob/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.getBlob/analytics)

## Query (`us.off-the-clock.admin.getBlob`)

Type: query · GET

### Parameters (query string)

- `cid` (string · cid, required)
- `did` (string · did, required)
- `space` (string, required): A registered pair's content space: its TID or <space-type>/<space-id>.
  - Constraints: maxLength: 512

### Output (application/json)

- `blob` (ref, required)
  - Reference: `us.off-the-clock.admin.defs#blob`
- `records` (array, required)
  - `items` (ref)
    - Reference: `us.off-the-clock.admin.defs#record`

### Errors

- `NotAdmin`: No description in schema.
- `InvalidRequest`: No description in schema.
- `NotFound`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One blob and the records that reference it. Effective admins and the community identity only.",
      "errors": [
        {
          "name": "NotAdmin"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "blob": {
              "ref": "us.off-the-clock.admin.defs#blob",
              "type": "ref"
            },
            "records": {
              "items": {
                "ref": "us.off-the-clock.admin.defs#record",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "blob",
            "records"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cid": {
            "format": "cid",
            "type": "string"
          },
          "did": {
            "format": "did",
            "type": "string"
          },
          "space": {
            "description": "A registered pair's content space: its TID or <space-type>/<space-id>.",
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "space",
          "did",
          "cid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.admin.getBlob",
  "lexicon": 1
}
```
