---
title: "PATCH /api/text_content/{note}/content"
method: PATCH
path: "/api/text_content/{note}/content"
tags: ["text-content-controller"]
---

# PATCH /api/text_content/{note}/content

`PATCH /api/text_content/{note}/content`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/text_content/{note}/content`
- Auth: none declared

## Path parameters

- `note` integer, required

## Request body

- NoteUpdateContentDTO
  - `content` string

## Response `200`

OK

- NoteRealm
  - `id` integer, required
  - `note` Note, required
    - `noteTopology` NoteTopology, required
      - `id` integer, required
      - `title` string, required
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
    - `content` string
    - `id` integer, required
  - `references` NoteTopology[]
    - `id` integer, required
    - `title` string, required
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `wikiLinks` WikiLink[]
    - `authoredLink` string, required
    - `target` string, required
    - `displayText` string, required
    - `resolution` 'RESOLVED' | 'UNRESOLVED' | 'AMBIGUOUS', required
    - `destinationNoteId` integer: Present when resolution is RESOLVED
  - `notebookRealm` NotebookRealm, required: Notebook chrome: entity plus optional catalog hints (attached book, readonly), and optional container-owned readme markdown.
    - `notebook` Notebook, required
      - `id` integer, required
      - `notebookSettings` NotebookSettings, required
        - `skipMemoryTrackingEntirely` boolean
      - `creatorId` string
      - `name` string, required
      - `circle` Circle
        - `id` integer, required
        - `name` string, required
      - `description` string
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `readmeContent` string
    - `hasAttachedBook` boolean
    - `readonly` boolean
    - `readmeContent` string: Container-owned notebook readme markdown. Omitted when absent.
  - `ancestorFolders` FolderTrailSegment[]: Folders from notebook root outward; see each realm for trail semantics.
    - `id` integer, required
    - `name` string, required
  - `scopedReadmeContent` string: Full markdown of the container readme that supplies the nearest non-blank title_pattern (inner scope toward notebook root). Omitted when none applies.

## Changes

- **2026-09-27** `482412c3c1b0`: 4 breaking, 2 warning
  - the `ancestorFolders/items/name` response property's maxLength was unset from `512` for the response status `200`
  - the `ancestorFolders/items/name` response property's minLength was decreased from `1` to `0` for the response status `200`
  - removed the required property `ancestorFolders/items/createdAt` from the response with the `200` status
  - removed the required property `ancestorFolders/items/updatedAt` from the response with the `200` status
  - …2 more
- **2026-09-13** `370013d86c63`: 1 warning
  - removed the optional property `note/deletedAt` from the response with the `200` status
- **2026-09-01** `fe725cad0905`: 1 breaking, 1 info
  - removed the required property `wikiLinks/items/portablePath` from the response with the `200` status
  - added the required property `wikiLinks/items/target` to the response with the `200` status
- **2026-08-31** `4416e327005b`: 1 breaking, 1 info
  - the response property `wikiLinks/items/destinationNoteId` became optional for the status `200`
  - added the required property `wikiLinks/items/resolution` to the response with the `200` status
- **2026-08-31** `f650b15d8c39`: 1 warning, 1 info
  - removed the optional property `wikiTitles` from the response with the `200` status
  - added the optional property `wikiLinks` to the response with the `200` status

[Operation history](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/changes/api/text_content/:note/content/patch.md)

---

[API](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api.md) - [All operations](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/revisions/193c5e89085a?raw)
