From 513d1c020ca95614241a5370cee671494733728e Mon Sep 17 00:00:00 2001 From: jph Date: Sat, 17 Sep 2022 10:47:44 +1000 Subject: [PATCH] Add another ETAPI method to the api spec file. --- src/etapi/etapi.openapi.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/etapi/etapi.openapi.yaml b/src/etapi/etapi.openapi.yaml index a05f6b3b2..82177d428 100644 --- a/src/etapi/etapi.openapi.yaml +++ b/src/etapi/etapi.openapi.yaml @@ -245,6 +245,19 @@ paths: text/html: schema: type: string + put: + description: Updates note content idenfied by its ID + operationId: putNoteContentById + requestBody: + description: html content of note + required: true + content: + text/plain: + schema: + type: string + responses: + '204': + description: note content updated /notes/{noteId}/export: parameters: - name: noteId