From 0d0d2875f2317a4b62ec69a96571dee0689b6549 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sat, 16 Jul 2022 09:35:36 +0200 Subject: [PATCH] specs: Update notes --- specs/notes.json | 2 +- specs/templates/notes.json | 44 +++++++++++++++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/specs/notes.json b/specs/notes.json index dd2b6401..15fb9947 100644 --- a/specs/notes.json +++ b/specs/notes.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Notes", - "version": "4.3.1", + "version": "4.4.0", "description": "Distraction-free notes and writing", "license": { "name": "agpl" diff --git a/specs/templates/notes.json b/specs/templates/notes.json index 42dce018..0df89d33 100644 --- a/specs/templates/notes.json +++ b/specs/templates/notes.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Notes", - "version": "4.3.1", + "version": "4.4.0", "description": "Distraction-free notes and writing", "license": { "name": "agpl" @@ -220,6 +220,48 @@ } } }, + "/notes/{noteid}/attachment": { + "parameters": [ + { + "name": "noteid", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "get": { + "operationId": "notes-getattachment-TODO", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + }, + "post": { + "operationId": "notes-uploadfile-TODO", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + } + } + } + }, "/settings": { "get": { "operationId": "settings-get-TODO",