# fyi.opensocial.getSpaceBlob

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getSpaceBlob)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getSpaceBlob/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getSpaceBlob/examples)

## Definitions

### `fyi.opensocial.getSpaceBlob`

**Type**: `query`

A picture or file in one of the group's spaces, for a caller the space lets read it: the host reads it from whoever wrote it, as the space's authority, so a page never reaches anyone's own server.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `group` | `string` (did) | Yes |  |
| `repo` | `string` (did) | Yes | Who wrote it. |
| `space` | `string` | Yes | The space, by its URI. |

#### Output

**Encoding**: `*/*`

#### Errors

- **NotFound**
- **NotAuthorized**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A picture or file in one of the group's spaces, for a caller the space lets read it: the host reads it from whoever wrote it, as the space's authority, so a page never reaches anyone's own server.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "NotAuthorized"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "cid": {
            "format": "cid",
            "type": "string"
          },
          "group": {
            "format": "did",
            "type": "string"
          },
          "repo": {
            "description": "Who wrote it.",
            "format": "did",
            "type": "string"
          },
          "space": {
            "description": "The space, by its URI.",
            "type": "string"
          }
        },
        "required": [
          "group",
          "space",
          "repo",
          "cid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.getSpaceBlob",
  "lexicon": 1
}
```
