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

> Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.getBlob)
- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.getBlob/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.admin.getBlob/examples)

## Definitions

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

**Type**: `query`

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

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `did` | `string` (did) | Yes |  |
| `space` | `string` | Yes | A registered pair's content space: its TID or <space-type>/<space-id>. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `blob` | `ref` → `us.off-the-clock.admin.defs#blob` | Yes |  |
| `records` | `array` | Yes |  |

#### Errors

- **NotAdmin**
- **InvalidRequest**
- **NotFound**

## Raw 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
}
```
