summaryrefslogtreecommitdiffhomepage
path: root/pkg/client/gen/openapi.json
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-26 18:14:36 -0400
committerDax Raad <[email protected]>2025-05-26 18:14:36 -0400
commit591bd2a4e3ae8eea9629d0c2b6caf725ef993645 (patch)
treedc09fca005c57bb0b7f1648043b9220e57c3e27b /pkg/client/gen/openapi.json
parent94f35130f7d5e3f3cc06ef1ae53aa1c82775d3ae (diff)
downloadopencode-591bd2a4e3ae8eea9629d0c2b6caf725ef993645.tar.gz
opencode-591bd2a4e3ae8eea9629d0c2b6caf725ef993645.zip
sync
Diffstat (limited to 'pkg/client/gen/openapi.json')
-rw-r--r--pkg/client/gen/openapi.json73
1 files changed, 73 insertions, 0 deletions
diff --git a/pkg/client/gen/openapi.json b/pkg/client/gen/openapi.json
index 58027b839..3a14a4643 100644
--- a/pkg/client/gen/openapi.json
+++ b/pkg/client/gen/openapi.json
@@ -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"
},