Something went wrong. Try again.
opencode v2 mirror
Something went wrong. Try again.
JSON
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149{ "openapi": "3.1.0", "info": { "title": "CodeMode Transport Coverage", "version": "1.0.0" }, "paths": { "/records/{recordID}": { "get": { "operationId": "records.get", "parameters": [ { "name": "recordID", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Record", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Record" } } } } } } }, "/events": { "get": { "operationId": "events.subscribe", "responses": { "200": { "description": "Events", "content": { "text/event-stream": { "schema": { "type": "string" } } } } } } }, "/files/{path}": { "get": { "operationId": "files.read", "parameters": [ { "name": "path", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "File", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } } } } } }, "put": { "operationId": "files.write", "parameters": [ { "name": "path", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "required": true, "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } } } }, "responses": { "204": { "description": "Written" } } } }, "/terminals/{terminalID}/connect": { "get": { "operationId": "terminals.connect", "x-websocket": true, "parameters": [ { "name": "terminalID", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "101": { "description": "Connected" } } } } }, "components": { "schemas": { "Record": { "type": "object", "properties": { "id": { "type": "string" }, "value": { "type": "string" } }, "required": ["id", "value"], "additionalProperties": false } } }}