# PartialUser model

A user in a partial listing: their id, username and avatar.

## Fields

| Field | Type | Present | Notes |
|---|---|---|---|
| `id` | `integer` |  |  |
| `username` | `string` |  |  |
| `avatar` | `object \| null` |  |  |
| `avatar.key` | `string` |  |  |

## Returned by

The endpoints whose `data` holds a PartialUser as it is, and where.

- [`GET /users/bulk`](https://hematite.gg/docs/developers/reference/users#get-users-bulk), in `data[]`
- [`POST /users/search`](https://hematite.gg/docs/developers/reference/users#post-users-search), in `data.results[]`

## Example

```json
{
  "id": 1,
  "username": "nova",
  "avatar": {
    "key": "images/a1b2c3d4e5f6.png"
  }
}
```
