{ "openapi": "3.0.0", "info": { "title": "Alumet API", "version": "1.0.0" }, "components": { "schemas": { "ApiError": { "type": "object", "properties": { "error": { "type": "string" }, "code": { "type": "string" } }, "required": [ "error", "code" ] }, "CreateSessionBody": { "type": "object", "properties": { "mail": { "type": "string", "format": "email" }, "password": { "type": "string", "minLength": 1 } }, "required": [ "mail", "password" ] }, "CreateAccountBody": { "type": "object", "properties": { "name": { "type": "string", "minLength": 2 }, "lastname": { "type": "string", "minLength": 2 }, "mail": { "type": "string", "format": "email" }, "password": { "type": "string", "minLength": 6 }, "accountType": { "type": "string", "enum": [ "student", "professor" ] } }, "required": [ "name", "lastname", "mail", "password", "accountType" ] }, "CreateAlumetBody": { "type": "object", "properties": { "title": { "type": "string", "minLength": 2, "maxLength": 150 }, "description": { "anyOf": [ { "type": "string", "maxLength": 2000 }, { "type": "string", "enum": [ "" ] } ] }, "type": { "type": "string", "enum": [ "alumet", "flashcard", "mindmap" ] } }, "required": [ "title", "type" ], "additionalProperties": { "nullable": true } }, "InvitationPatchBody": { "type": "object", "properties": { "status": { "type": "string", "enum": [ "accepted", "declined" ] } }, "required": [ "status" ] } }, "parameters": {} }, "paths": { "/api/csrf-token": { "get": { "summary": "Get CSRF token", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/sessions": { "post": { "summary": "Create session", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/sessions/current": { "delete": { "summary": "Delete current session", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/accounts": { "post": { "summary": "Create account", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/me": { "get": { "summary": "Get current user dashboard", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "patch": { "summary": "Update current user", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/me/avatar": { "patch": { "summary": "Update current user avatar", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/me/2fa": { "patch": { "summary": "Toggle current user 2FA", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{id}": { "get": { "summary": "Get Alumet metadata", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "patch": { "summary": "Update Alumet-compatible application", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "delete": { "summary": "Delete Alumet-compatible application", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{id}/content": { "get": { "summary": "Get Alumet content", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets": { "post": { "summary": "Create Alumet-compatible application", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{id}/access-grants": { "post": { "summary": "Grant or request Alumet access", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{id}/members/me": { "delete": { "summary": "Leave Alumet", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{id}/members/{userId}": { "patch": { "summary": "Update Alumet member role", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{id}/owner": { "patch": { "summary": "Transfer Alumet ownership", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{alumetId}/walls": { "post": { "summary": "Create Alumet wall", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{alumetId}/walls/{wallId}": { "patch": { "summary": "Update Alumet wall", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "delete": { "summary": "Delete Alumet wall", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{alumetId}/walls/{wallId}/position": { "patch": { "summary": "Move Alumet wall", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{alumetId}/walls/{wallId}/posts": { "post": { "summary": "Create Alumet post", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{alumetId}/posts/{postId}": { "patch": { "summary": "Update Alumet post", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "delete": { "summary": "Delete Alumet post", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{alumetId}/walls/{wallId}/posts/{postId}/position": { "patch": { "summary": "Move Alumet post", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/alumets/{alumetId}/posts/{postId}/comments": { "get": { "summary": "List Alumet post comments", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "post": { "summary": "Create Alumet post comment", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/flashcard-sets/{id}": { "get": { "summary": "Get flashcard set", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/flashcard-sets/{id}/cards": { "get": { "summary": "Get flashcard set cards", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "put": { "summary": "Replace flashcard set cards", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/flashcard-sets/{id}/imports": { "post": { "summary": "Import flashcards", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/flashcard-sets/{id}/review-availability": { "get": { "summary": "Get flashcard review availability", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/flashcard-sets/{id}/cards/{cardId}/reviews": { "post": { "summary": "Create flashcard review", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/flashcard-sets/{id}/cards/{cardId}": { "delete": { "summary": "Delete flashcard", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/flashcard-sets/{id}/progress/me": { "delete": { "summary": "Reset my flashcard progress", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/flashcard-generations": { "post": { "summary": "Generate flashcards", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/files": { "get": { "summary": "List files", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "post": { "summary": "Upload file", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/files/{id}": { "get": { "summary": "Get file metadata", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "patch": { "summary": "Update file", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "delete": { "summary": "Delete file", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/files/{id}/preview": { "get": { "summary": "Get file preview", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/files/{id}/content": { "get": { "summary": "Get file content", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/files/{id}/download": { "get": { "summary": "Download file", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/folders": { "get": { "summary": "List folders", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "post": { "summary": "Create folder", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/folders/{id}": { "patch": { "summary": "Update folder", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "delete": { "summary": "Delete folder", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/invitations/{id}": { "get": { "summary": "Get invitation", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "patch": { "summary": "Update invitation", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/users/search": { "get": { "summary": "Search users", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/admin/incidents": { "get": { "summary": "List incidents", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "post": { "summary": "Create incident", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/admin/users/{userId}/suspension": { "patch": { "summary": "Suspend user", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } }, "delete": { "summary": "Unsuspend user", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/billing/checkout-sessions": { "post": { "summary": "Create checkout session", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/billing/portal-sessions": { "post": { "summary": "Create billing portal session", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/billing/webhook": { "post": { "summary": "Stripe webhook", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/link-metadata": { "get": { "summary": "Get link metadata", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/chat/conversations": { "post": { "summary": "Create chat conversation", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/chat/conversations/{id}/messages": { "post": { "summary": "Create chat message", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } }, "/api/chat/messages/{id}": { "delete": { "summary": "Delete chat message", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "400": { "description": "Bad request", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "404": { "description": "Not found", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } }, "422": { "description": "Validation error", "content": { "application/json": { "schema": { "type": "object", "properties": {}, "additionalProperties": { "nullable": true } } } } } } } } } }