# app.zeens.getContentFacets

> 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.getContentFacets)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getContentFacets/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getContentFacets/examples)

## Definitions

### `app.zeens.getContentFacets`

**Type**: `query`

Category and location counts for the /search discovery landing, computed with the same visibility and matching rules getPhotoFeed applies so a tile's count matches the search it links to. A category counts a post when its postMeta categories match OR the post carries the tag as a hashtag facet.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|

#### Output

**Encoding**: `application/json`

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Category and location counts for the /search discovery landing, computed with the same visibility and matching rules getPhotoFeed applies so a tile's count matches the search it links to. A category counts a post when its postMeta categories match OR the post carries the tag as a hashtag facet.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "target_collection": "app.zeens.postMeta",
      "type": "query"
    }
  },
  "id": "app.zeens.getContentFacets",
  "lexicon": 1
}
```
