Browse Source

specs: Update notes

pull/23/head
jld3103 2 years ago
parent
commit
0d0d2875f2
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      specs/notes.json
  2. 44
      specs/templates/notes.json

2
specs/notes.json

@ -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"

44
specs/templates/notes.json

@ -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",

Loading…
Cancel
Save