diff options
| author | Dhravya Shah <[email protected]> | 2025-03-25 13:44:42 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2025-03-25 13:44:42 -0700 |
| commit | 3af7557f15e9cabc44c1aad9e6df202c09cb5c34 (patch) | |
| tree | 2af17271259291bad19c12ee8fd79c7ba40c2527 /apps/docs/openapi.json | |
| parent | auth info in endpoints (diff) | |
| download | supermemory-3af7557f15e9cabc44c1aad9e6df202c09cb5c34.tar.xz supermemory-3af7557f15e9cabc44c1aad9e6df202c09cb5c34.zip | |
updated openapi
Diffstat (limited to 'apps/docs/openapi.json')
| -rw-r--r-- | apps/docs/openapi.json | 78 |
1 files changed, 52 insertions, 26 deletions
diff --git a/apps/docs/openapi.json b/apps/docs/openapi.json index 8ee782ca..69f81bdd 100644 --- a/apps/docs/openapi.json +++ b/apps/docs/openapi.json @@ -11,12 +11,55 @@ "description": "Production Server" } ], - "security": [ - { - "ApiKeyAuth": [] - } - ], "paths": { + "/settings": { + "put": { + "responses": {}, + "operationId": "putSettings", + "parameters": [], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "categories": { + "type": "array", + "items": { + "type": "string", + "minLength": 1, + "maxLength": 50 + } + }, + "filterPrompt": { + "type": "string", + "minLength": 1, + "maxLength": 750 + }, + "includeItems": { + "type": "array", + "items": { + "type": "string", + "minLength": 1, + "maxLength": 20 + } + }, + "excludeItems": { + "type": "array", + "items": { + "type": "string", + "minLength": 1, + "maxLength": 20 + } + }, + "shouldLLMFilter": { "type": "boolean", "default": false } + } + } + } + } + } + } + }, "/add": { "post": { "responses": { @@ -297,16 +340,9 @@ { "type": "object", "additionalProperties": {} } ] }, - "chunkSize": { - "type": "integer", - "exclusiveMinimum": 0, - "default": 3 - }, - "minScore": { - "type": "number", - "minimum": 0, - "maximum": 1, - "default": 0.5 + "categoriesFilter": { + "type": "array", + "items": { "type": "string" } } }, "required": ["q"] @@ -380,15 +416,5 @@ } } }, - "components": { - "schemas": {}, - "securitySchemes": { - "ApiKeyAuth": { - "type": "apiKey", - "in": "header", - "name": "x-api-key", - "description": "API key for authentication" - } - } - } + "components": { "schemas": {} } } |