info: name: Update Note type: http seq: 4 http: method: PUT url: '{{base_url}}/api/media-items/{{media_item_id}}/notes/{{note_id}}' auth: inherit body: type: json data: |- { "content": "Updated note content", "position": "epubcfi(/6/4/2:20)" } settings: encodeUrl: true timeout: 0 followRedirects: true maxRedirects: 5 runtime: scripts: - type: tests code: |- test("status is 200", function() { expect(res.status).to.eql(200); }); docs: content: |- # Update Note `PUT /api/media-items/:id/notes/:noteId` — auth: jwt. Canonical reference: docs/developer/api/notes/update_note.md (docs site → Developer → API). This request is GENERATED from that doc; edit the doc, then run the drift test with -update. type: text/markdown