# blue.catbird.circle.getMedia

> Published by [catbird.blue](https://lexicon.garden/identity/did:plc:xg4h4n7w5mh3m4uoi27me4hh)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xg4h4n7w5mh3m4uoi27me4hh/blue.catbird.circle.getMedia)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xg4h4n7w5mh3m4uoi27me4hh/blue.catbird.circle.getMedia/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xg4h4n7w5mh3m4uoi27me4hh/blue.catbird.circle.getMedia/examples)

## Definitions

### `blue.catbird.circle.getMedia`

**Type**: `query`

Get media associated with a post in a Circle Space

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `did` | `string` (did) | Yes |  |
| `space` | `string` (space-ref) | Yes |  |

#### Output

**Encoding**: `*/*`

#### Errors

- **AuthRequired**
- **AccessRemoved**
- **UnsupportedPDS**
- **ProtocolRevisionMismatch**
- **UpstreamUnavailable**

## Raw Schema

```json
{
  "id": "blue.catbird.circle.getMedia",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "AccessRemoved"
        },
        {
          "name": "UnsupportedPDS"
        },
        {
          "name": "ProtocolRevisionMismatch"
        },
        {
          "name": "UpstreamUnavailable"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "type": "params",
        "required": [
          "space",
          "did",
          "cid"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid"
          },
          "did": {
            "type": "string",
            "format": "did"
          },
          "space": {
            "type": "string",
            "format": "space-ref"
          }
        }
      },
      "description": "Get media associated with a post in a Circle Space"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
