# fyi.opensocial.getSpaceBlob

> 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.

- Kind: query
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getSpaceBlob)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getSpaceBlob/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getSpaceBlob/analytics)

## Query (`fyi.opensocial.getSpaceBlob`)

Type: query · GET

### Parameters (query string)

- `cid` (string · cid, required)
- `group` (string · did, required)
- `repo` (string · did, required): Who wrote it.
- `space` (string, required): The space, by its URI.

### Output (*/*)


### Errors

- `NotFound`: No description in schema.
- `NotAuthorized`: No description in schema.

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