Skip to content

Commit 7625da9

Browse files
Update api spec (#135)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 6fc5a7d commit 7625da9

File tree

2 files changed

+151
-59
lines changed

2 files changed

+151
-59
lines changed

spec.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21787,6 +21787,44 @@
2178721787
"type"
2178821788
]
2178921789
},
21790+
{
21791+
"description": "The response to the 'ZoomToFit' endpoint",
21792+
"type": "object",
21793+
"properties": {
21794+
"data": {
21795+
"$ref": "#/components/schemas/ZoomToFit"
21796+
},
21797+
"type": {
21798+
"type": "string",
21799+
"enum": [
21800+
"zoom_to_fit"
21801+
]
21802+
}
21803+
},
21804+
"required": [
21805+
"data",
21806+
"type"
21807+
]
21808+
},
21809+
{
21810+
"description": "The response to the 'ViewIsometric' endpoint",
21811+
"type": "object",
21812+
"properties": {
21813+
"data": {
21814+
"$ref": "#/components/schemas/ViewIsometric"
21815+
},
21816+
"type": {
21817+
"type": "string",
21818+
"enum": [
21819+
"view_isometric"
21820+
]
21821+
}
21822+
},
21823+
"required": [
21824+
"data",
21825+
"type"
21826+
]
21827+
},
2179021828
{
2179121829
"description": "The response to the 'GetNumObjects' endpoint",
2179221830
"type": "object",
@@ -27201,6 +27239,23 @@
2720127239
"updated_at"
2720227240
]
2720327241
},
27242+
"ViewIsometric": {
27243+
"description": "The response from the `ViewIsometric` command.",
27244+
"type": "object",
27245+
"properties": {
27246+
"settings": {
27247+
"description": "Camera settings",
27248+
"allOf": [
27249+
{
27250+
"$ref": "#/components/schemas/CameraSettings"
27251+
}
27252+
]
27253+
}
27254+
},
27255+
"required": [
27256+
"settings"
27257+
]
27258+
},
2720427259
"Volume": {
2720527260
"description": "The volume response.",
2720627261
"type": "object",
@@ -27588,6 +27643,23 @@
2758827643
]
2758927644
}
2759027645
]
27646+
},
27647+
"ZoomToFit": {
27648+
"description": "The response from the `ZoomToFit` command.",
27649+
"type": "object",
27650+
"properties": {
27651+
"settings": {
27652+
"description": "Camera settings",
27653+
"allOf": [
27654+
{
27655+
"$ref": "#/components/schemas/CameraSettings"
27656+
}
27657+
]
27658+
}
27659+
},
27660+
"required": [
27661+
"settings"
27662+
]
2759127663
}
2759227664
},
2759327665
"responses": {

types.go

Lines changed: 79 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)