# app.zeens.getExifFacets

> Published by [zeens.app](https://lexicon.garden/identity/did:plc:pwpuqwge6g7xrjmfbw73uycw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getExifFacets)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getExifFacets/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getExifFacets/examples)

## Definitions

### `app.zeens.getExifFacets`

**Type**: `query`

Aggregate distinct EXIF facet values (makes, models, lenses, apertures, focal lengths, camera/lens gear with counts) across all app.zeens.postMeta records. Powers the search UI's cascading filters and popular-gear chips without needing any client-side aggregation.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `make` | `string` | No | Optional substring match on exif.make. Used when listing models/lenses for a chosen make. |
| `models` | `string` | No | Optional comma-separated list of exact exif.model values to restrict lens/aperture/focal facets. Takes precedence over make. |

#### Output

**Encoding**: `application/json`

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Aggregate distinct EXIF facet values (makes, models, lenses, apertures, focal lengths, camera/lens gear with counts) across all app.zeens.postMeta records. Powers the search UI's cascading filters and popular-gear chips without needing any client-side aggregation.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "make": {
            "description": "Optional substring match on exif.make. Used when listing models/lenses for a chosen make.",
            "type": "string"
          },
          "models": {
            "description": "Optional comma-separated list of exact exif.model values to restrict lens/aperture/focal facets. Takes precedence over make.",
            "type": "string"
          }
        },
        "type": "params"
      },
      "target_collection": "app.zeens.postMeta",
      "type": "query"
    }
  },
  "id": "app.zeens.getExifFacets",
  "lexicon": 1
}
```
