# com.livtet.listReviewsByActor

> List the reviews one account has written, most recent first. Reads the same records `getReviewsByBook` does, keyed by author instead of by book, so a profile page can show activity without a per-request PDS scan.

- Kind: query
- Authority: livtet.com
- Lexicon: 1
- Published by [biblio.livtet.com](https://lexicon.garden/identity/did:plc:e2x3ihw2ntxt7pcgzmtu3abi), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.listReviewsByActor)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.listReviewsByActor/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/com.livtet.listReviewsByActor/analytics)

## Query (`com.livtet.listReviewsByActor`)

Type: query · GET

### Parameters (query string)

- `cursor` (string): Opaque pagination cursor.
- `did` (string · did, required): DID of the account whose reviews to list.
- `limit` (integer): Maximum number of review records to return.
  - Constraints: minimum: 1, maximum: 100, default: 25

### Output (application/json)

- `cursor` (string): Opaque pagination cursor; absent when no further reviews are known.
- `reviews` (array, required)
  - `items` (ref)
    - Reference: `com.livtet.defs#reviewView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Opaque pagination cursor; absent when no further reviews are known.",
              "type": "string"
            },
            "reviews": {
              "items": {
                "ref": "com.livtet.defs#reviewView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "reviews"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Opaque pagination cursor.",
            "type": "string"
          },
          "did": {
            "description": "DID of the account whose reviews to list.",
            "format": "did",
            "type": "string"
          },
          "limit": {
            "default": 25,
            "description": "Maximum number of review records to return.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "List the reviews one account has written, most recent first. Reads the same records `getReviewsByBook` does, keyed by author instead of by book, so a profile page can show activity without a per-request PDS scan.",
  "id": "com.livtet.listReviewsByActor",
  "lexicon": 1
}
```
