File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 66 "version" : " 1.0.0"
77 },
88 "paths" : {
9+ "/global/health" : {
10+ "get" : {
11+ "operationId" : " global.health" ,
12+ "summary" : " Get health" ,
13+ "description" : " Get health information about the OpenCode server." ,
14+ "responses" : {
15+ "200" : {
16+ "description" : " Health information" ,
17+ "content" : {
18+ "application/json" : {
19+ "schema" : {
20+ "type" : " object" ,
21+ "properties" : {
22+ "healthy" : {
23+ "type" : " boolean" ,
24+ "const" : true
25+ },
26+ "version" : {
27+ "type" : " string"
28+ }
29+ },
30+ "required" : [" healthy" , " version" ]
31+ }
32+ }
33+ }
34+ }
35+ },
36+ "x-codeSamples" : [
37+ {
38+ "lang" : " js" ,
39+ "source" : " import { createOpencodeClient } from \" @opencode-ai/sdk\n\n const client = createOpencodeClient()\n await client.global.health({\n ...\n })"
40+ }
41+ ]
42+ }
43+ },
944 "/global/event" : {
1045 "get" : {
1146 "operationId" : " global.event" ,
You can’t perform that action at this time.
0 commit comments