# social.grain.unspecced.getGallery

> Get a single gallery view by AT URI.

- Kind: query
- Authority: unspecced.grain.social
- Lexicon: 1
- Published by [grain.social](https://lexicon.garden/identity/did:plc:e7rftrdyz5e2rw4y6ocszew2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getGallery)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getGallery/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getGallery/analytics)

## Query (`social.grain.unspecced.getGallery`)

Type: query · GET

### Parameters (query string)

- `gallery` (string · at-uri, required): The gallery AT URI.

### Output (application/json)

- `gallery` (ref, required)
  - Reference: `social.grain.gallery.defs#galleryView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a single gallery view by AT URI.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "gallery": {
              "ref": "social.grain.gallery.defs#galleryView",
              "type": "ref"
            }
          },
          "required": [
            "gallery"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "gallery": {
            "description": "The gallery AT URI.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "gallery"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.grain.unspecced.getGallery",
  "lexicon": 1
}
```
