---
title: "Story Mode: one day per entry, in order"
method: GET
path: "/diaries/{diaryId}/story"
tags: ["Diary features"]
---

# Story Mode: one day per entry, in order

`GET /diaries/{diaryId}/story`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/diaries/{diaryId}/story`
- Auth: HTTP bearer

Takes either a from/to range or an explicit dates list -- one or the other, not both.

## Path parameters

- `diaryId` string, uuid, required

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `dates` union
  - string
  - string[]

## Response `200`

OK

- object
  - `data` StoryDay[], required
    - `dayNumber` integer, required
    - `entryId` string, uuid, required
    - `occurredAt` string, required
    - `title` string, nullable, required
    - `body` string, required
    - `coverUrl` string, nullable, required
    - `mediaUrls` string[], required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `404`: No such diary, or not visible to the caller
- `422`: Neither a range nor a dates list, or the range is too long

---

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