This commit is contained in:
Dax Raad
2025-05-26 18:14:36 -04:00
parent 94f35130f7
commit 591bd2a4e3
4 changed files with 421 additions and 9 deletions

View File

@@ -25,6 +25,76 @@
"description": "Create a new session"
}
},
"/session_share": {
"post": {
"responses": {
"200": {
"description": "Successfully shared session",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Session.Info"
}
}
}
}
},
"operationId": "postSession_share",
"parameters": [],
"description": "Share the session",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sessionID": {
"type": "string"
}
},
"required": [
"sessionID"
]
}
}
}
}
}
},
"/session_messages": {
"post": {
"responses": {
"200": {
"description": "Successfully created session",
"content": {
"application/json": {
"schema": {}
}
}
}
},
"operationId": "postSession_messages",
"parameters": [],
"description": "Get messages for a session",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sessionID": {
"type": "string"
}
},
"required": [
"sessionID"
]
}
}
}
}
}
},
"/session_chat": {
"post": {
"responses": {},
@@ -60,6 +130,9 @@
"type": "string",
"pattern": "^ses"
},
"shareID": {
"type": "string"
},
"title": {
"type": "string"
},