---
title: "List a diary's photos, newest first (Media view, issue #1520)"
method: GET
path: "/entries/media"
tags: ["Entries"]
---

# List a diary's photos, newest first (Media view, issue #1520)

`GET /entries/media`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries/media`
- Auth: HTTP bearer

Keyset pagination over the diary's ENTRIES, newest first, flattened to the media each one holds -- same ACL, same Free-plan 30-day history cutoff and same Time-Capsule rule as `GET /entries` (a still-sealed entry contributes nothing). `limit` therefore counts entries, not pictures: **a page may come back with fewer than `limit` items, or with none at all, while `pagination.hasNext` is still true** -- that is a stretch of diary written without a camera, not the end of the grid. Keep paging until `hasNext` is false. The pictures themselves are resolved by the client through `GET /media/{mediaAssetId}`.

## Query parameters

- `diaryId` string, uuid, required
- `limit` string
- `cursor` string

## Response `200`

OK

- object
  - `data` EntryMediaItem[], required
    - `mediaAssetId` string, uuid, required
    - `entryId` string, uuid, required
    - `diaryId` string, uuid, required
    - `occurredAt` string, date-time, required
    - `title` string, nullable, 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)
