---
title: "Previous/next entry ids in the same diary (swipe navigation, issue #57)"
method: GET
path: "/entries/{entryId}/adjacent"
tags: ["Entries"]
---

# Previous/next entry ids in the same diary (swipe navigation, issue #57)

`GET /entries/{entryId}/adjacent`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries/{entryId}/adjacent`
- Auth: HTTP bearer

## Path parameters

- `entryId` string, uuid, required

## Response `200`

OK

- object
  - `data` object, required
    - `previousId` string, uuid, nullable, required
    - `nextId` string, uuid, nullable, required
  - `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)
