# ink.resenha.parlor.getSuggestions

> Requires the caller's service token.

- Kind: query
- Authority: parlor.resenha.ink
- Lexicon: 1
- Published by [resenha.ink](https://lexicon.garden/identity/did:plc:v7itjf4h3sb5zuegiiskctqb), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.parlor.getSuggestions)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.parlor.getSuggestions/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.parlor.getSuggestions/analytics)

## Query (`ink.resenha.parlor.getSuggestions`)

Type: query · GET

### Parameters (query string)

- `languages` (string): The device's languages, comma-separated BCP 47 codes: readers writing in them come first within each tier.
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 30
- `offset` (integer): How many of the ranking to skip, for the next page of readers to show.
  - Constraints: minimum: 0, default: 0

### Output (application/json)

- `onboardedAt` (string · datetime): When the caller said Done to the list; absent while they haven't.
- `profiles` (array)
  - `items` (ref)
    - Reference: `ink.resenha.defs#profileView`
- `suggestions` (array, required)
  - `items` (ref)
    - Reference: `ink.resenha.defs#suggestionView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Requires the caller's service token.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "onboardedAt": {
              "description": "When the caller said Done to the list; absent while they haven't.",
              "format": "datetime",
              "type": "string"
            },
            "profiles": {
              "items": {
                "ref": "ink.resenha.defs#profileView",
                "type": "ref"
              },
              "type": "array"
            },
            "suggestions": {
              "items": {
                "ref": "ink.resenha.defs#suggestionView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "suggestions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "languages": {
            "description": "The device's languages, comma-separated BCP 47 codes: readers writing in them come first within each tier.",
            "type": "string"
          },
          "limit": {
            "default": 30,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "description": "How many of the ranking to skip, for the next page of readers to show.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Readers for the caller to follow when their Parlor is empty: Resenha's discoverable readers first, then BookHive's and Popfeed's active in the last six months, then anyone reviewing this year, by days active within a tier; never the caller or anyone they follow. Ranked once an hour.",
  "id": "ink.resenha.parlor.getSuggestions",
  "lexicon": 1
}
```
