---
title: "Everything published, newest first, or what matches a term"
method: GET
path: "/public/entries"
tags: ["Public Square"]
---

# Everything published, newest first, or what matches a term

`GET /public/entries`

## Request

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

One endpoint for the Timeline and for Search, because they are the same question asked with and without a term. A signed-in reader (bearer token sent) does not get what people they blocked, or who blocked them, wrote.

## Query parameters

- `q` string
- `limit` integer

## Response `200`

OK

- object
  - `data` PublicEntry[], required
    - `id` string, uuid, required
    - `diaryId` string, uuid, required
    - `diaryName` string, required
    - `title` string, nullable, required
    - `author` string, nullable, required
    - `authorId` string, uuid, nullable, required
    - `tags` string[], required
    - `coverUrl` string, nullable, required
    - `body` string, required
    - `prompt` string, nullable, required
    - `occurredAt` string, required
    - `updatedAt` string, required
    - `editors` DiaryMember[]
      - `id` string, uuid, required
      - `username` string, nullable, required
      - `displayName` string, nullable, required
      - `avatarUrl` string, nullable, required
  - `pagination` object, required
    - `nextCursor` string, nullable, required
    - `hasNext` boolean, required
    - `limit` integer, required
    - `totalCount` integer
  - `meta` object, required
    - `requestId` string, required

## Changes

- **2026-10-20** `5babd76752f2`: 1 info
  - added the required property `data/items/prompt` to the response with the `200` status
- **2026-10-20** `137cbd702c1b`: 1 info
  - added the optional property `data/items/editors` to the response with the `200` status

[Operation history](https://skmtc.dev/whatareyoudo/apis/whatcha-api/changes/public/entries/get.md)

---

[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)
