diff --git a/static/api/openapi.json b/static/api/openapi.json index 4be26d7..55bf71a 100644 --- a/static/api/openapi.json +++ b/static/api/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Crumbs API", "description": "Auto-generated API spec for crumbs", - "version": "0.21.9", + "version": "0.24.0", "contact": { "name": "Bretzel", "url": "https://bretzel.app" @@ -541,6 +541,47 @@ } } }, + "/api/notes/{id}/share": { + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "post": { + "tags": [ + "Notes" + ], + "responses": { + "200": { + "description": "Success" + } + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "delete": { + "tags": [ + "Notes" + ], + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/notes/{id}/versions": { "parameters": [ { @@ -728,6 +769,58 @@ } } }, + "/api/shared/{token}": { + "parameters": [ + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "get": { + "tags": [ + "Shared" + ], + "responses": { + "200": { + "description": "Success" + } + } + } + }, + "/api/shared/{token}/attachment/{attachmentId}": { + "parameters": [ + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "attachmentId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "get": { + "tags": [ + "Shared" + ], + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/sync": { "post": { "tags": [