|
|
@ -2,7 +2,7 @@ |
|
|
|
"openapi": "3.0.3", |
|
|
|
"openapi": "3.0.3", |
|
|
|
"info": { |
|
|
|
"info": { |
|
|
|
"title": "Notes", |
|
|
|
"title": "Notes", |
|
|
|
"version": "4.3.1", |
|
|
|
"version": "4.4.0", |
|
|
|
"description": "Distraction-free notes and writing", |
|
|
|
"description": "Distraction-free notes and writing", |
|
|
|
"license": { |
|
|
|
"license": { |
|
|
|
"name": "agpl" |
|
|
|
"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": { |
|
|
|
"/settings": { |
|
|
|
"get": { |
|
|
|
"get": { |
|
|
|
"operationId": "settings-get-TODO", |
|
|
|
"operationId": "settings-get-TODO", |
|
|
|