# at.isnot.suggestSubjects

> Published by [isnot.at](https://lexicon.garden/identity/did:web:isnot.at)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:isnot.at/at.isnot.suggestSubjects)
- [Documentation](https://lexicon.garden/lexicon/did:web:isnot.at/at.isnot.suggestSubjects/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:isnot.at/at.isnot.suggestSubjects/examples)

## Definitions

### `at.isnot.suggestSubjects`

**Type**: `query`

Suggest review subjects whose title matches a search string, most-reviewed first.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No |  |
| `q` | `string` | Yes | Text to match against subject titles, case-insensitively. An empty string returns no suggestions. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `subjects` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Suggest review subjects whose title matches a search string, most-reviewed first.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subjects": {
              "items": {
                "ref": "at.isnot.review#subject",
                "type": "ref"
              },
              "maxLength": 25,
              "type": "array"
            }
          },
          "required": [
            "subjects"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 8,
            "maximum": 25,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "Text to match against subject titles, case-insensitively. An empty string returns no suggestions.",
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "q"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "at.isnot.suggestSubjects",
  "lexicon": 1
}
```
