# List comments

`GET` `https://streetartcities.com/api/comments/entity/{entity}`

The comments on something, newest first. Anyone can read them, without a token.

## Path parameters

- **entity** `string` · pattern: ^[a-z][a-z-]*\.[^\s#,]+$ — required
  What the comments are on, like `edit.123`

## Requirements

No login needed.

## Responses

### `200` The comments

- _Array of object_
  - **type** `string` · const: Note — required
  - **id** `string` — required
  - **actor** `object` — required
    Who wrote it
    - **id** `string` — required
    - **displayName** `string` — required
    - **href** `string` — required
      A link to a profile on Street Art Cities
    - **avatar** `string`
  - **noteType** `string` · const: comment — required
  - **summary** `string` — required
    The author's name, as a link
  - **content** `string | null`
    The comment itself. Mentions are stored as `<@Kim|https://streetartcities.com/users/123>`
  - **attachments** `array string[]` — required
  - **published** `string` — required
    When it was written
  - **edited** `boolean`
  - **likesCount** `number` — required

### `400` Invalid entity

- **error** `object` — required
  - **message** `string` — required
  - **details** `array any[]`
