---
title: "Browse published diaries, most recently updated first"
method: GET
path: "/public/diaries"
tags: ["Public Square"]
---

# Browse published diaries, most recently updated first

`GET /public/diaries`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/public/diaries`
- Auth: none declared

Every diary its group's members can read, in a group its owner published (the Public Square always is). Diaries kept to their creator are never listed. A signed-in reader (bearer token sent) does not get what people they blocked, or who blocked them, wrote.

## Query parameters

- `limit` integer
- `cursor` string
- `groupId` string, uuid: Only this published group's diaries.

## Response `200`

OK

- object
  - `data` PublicDiary[], required
    - `id` string, uuid, required
    - `groupId` string, uuid, required
    - `name` string, required
    - `description` string, nullable, required
    - `coverUrl` string, nullable, required
    - `entryCount` integer, required
    - `updatedAt` string, required
  - `pagination` object, required
    - `nextCursor` string, nullable, required
    - `hasNext` boolean, required
    - `limit` integer, required
    - `totalCount` integer
  - `meta` object, required
    - `requestId` string, required

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
