---
title: "Time-range / title update (v1 PATCH) -- a meta-only commit"
method: PATCH
path: "/diaries/{diaryId}/entries/{entryId}"
tags: ["Legacy (v1-compat)"]
---

# Time-range / title update (v1 PATCH) -- a meta-only commit

`PATCH /diaries/{diaryId}/entries/{entryId}`

## Request

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

## Path parameters

- `diaryId` string, uuid, required
- `entryId` string, uuid, required

## Request body

- CompatUpdateEntryRequest
  - `startTime` string
  - `endTime` string
  - `title` string, nullable
  - `headerImageKey` string, nullable

## Response `200`

OK

- CompatEntry
  - `id` string, uuid, required
  - `group_id` string, uuid, required
  - `author_id` string, uuid, required
  - `title` string, nullable, required
  - `entry_date` string, required
  - `created_at` string, required
  - `entry_time` string, required
  - `start_time` string, required
  - `end_time` string, required
  - `header_image_url` string, nullable, required
  - `head` CompatCommit, nullable, required
    - `id` string, uuid, required
    - `entry_id` string, uuid, required
    - `author_id` string, uuid, required
    - `message` string, required
    - `content` object, required
      - `text` string, required
      - `title` string, nullable
      - `mood` string, nullable
      - `location` string, nullable
      - `tags` string[], required
    - `parent_commit_id` string, uuid, nullable, required
    - `is_merge` boolean, required
    - `created_at` string, required
    - `commit_files` unknown[], required: always empty today
      - unknown

---

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