Skip to content

Commit d948867

Browse files
YOYO NEW API SPEC!
1 parent aeca3d1 commit d948867

File tree

1 file changed

+89
-5
lines changed

1 file changed

+89
-5
lines changed

spec.json

Lines changed: 89 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23323,6 +23323,14 @@
2332323323
"minimum": 0
2332423324
}
2332523325
},
23326+
{
23327+
"in": "query",
23328+
"name": "order_independent_transparency",
23329+
"description": "Enables nicer visuals for transparent surfaces. This slows down rendering, so it's off by default.",
23330+
"schema": {
23331+
"type": "boolean"
23332+
}
23333+
},
2332623334
{
2332723335
"in": "query",
2332823336
"name": "pool",
@@ -26738,11 +26746,6 @@
2673826746
"type": "number",
2673926747
"format": "money-usd"
2674026748
},
26741-
"deleted": {
26742-
"description": "Always true for a deleted object.",
26743-
"default": false,
26744-
"type": "boolean"
26745-
},
2674626749
"id": {
2674726750
"description": "Unique identifier for the object.",
2674826751
"type": "string"
@@ -30320,6 +30323,13 @@
3032030323
"enum": [
3032130324
"void"
3032230325
]
30326+
},
30327+
{
30328+
"description": "Unknown.",
30329+
"type": "string",
30330+
"enum": [
30331+
"unknown"
30332+
]
3032330333
}
3032430334
]
3032530335
},
@@ -31252,6 +31262,13 @@
3125231262
"enum": [
3125331263
"bye"
3125431264
]
31265+
},
31266+
{
31267+
"description": "Interrupt the current prompt that is being processed.",
31268+
"type": "string",
31269+
"enum": [
31270+
"interrupt"
31271+
]
3125531272
}
3125631273
]
3125731274
},
@@ -33740,6 +33757,15 @@
3374033757
"type": "number",
3374133758
"format": "float"
3374233759
},
33760+
"backface_color": {
33761+
"nullable": true,
33762+
"description": "Color of the backface",
33763+
"allOf": [
33764+
{
33765+
"$ref": "#/components/schemas/Color"
33766+
}
33767+
]
33768+
},
3374333769
"color": {
3374433770
"description": "Color of the new material",
3374533771
"allOf": [
@@ -36122,6 +36148,26 @@
3612236148
"required": [
3612336149
"type"
3612436150
]
36151+
},
36152+
{
36153+
"description": "Render transparent surfaces more accurately, but this might make rendering slower. Because it can interfere with runtime performance, it defaults to false.",
36154+
"type": "object",
36155+
"properties": {
36156+
"enabled": {
36157+
"nullable": true,
36158+
"description": "Enables or disables OIT. If not given, toggles it.",
36159+
"type": "boolean"
36160+
},
36161+
"type": {
36162+
"type": "string",
36163+
"enum": [
36164+
"set_order_independent_transparency"
36165+
]
36166+
}
36167+
},
36168+
"required": [
36169+
"type"
36170+
]
3612536171
}
3612636172
]
3612736173
},
@@ -38810,6 +38856,24 @@
3881038856
"data",
3881138857
"type"
3881238858
]
38859+
},
38860+
{
38861+
"type": "object",
38862+
"properties": {
38863+
"data": {
38864+
"$ref": "#/components/schemas/SetOrderIndependentTransparency"
38865+
},
38866+
"type": {
38867+
"type": "string",
38868+
"enum": [
38869+
"set_order_independent_transparency"
38870+
]
38871+
}
38872+
},
38873+
"required": [
38874+
"data",
38875+
"type"
38876+
]
3881338877
}
3881438878
]
3881538879
},
@@ -41034,6 +41098,13 @@
4103441098
"enum": [
4103541099
"year"
4103641100
]
41101+
},
41102+
{
41103+
"description": "Don't use.",
41104+
"type": "string",
41105+
"enum": [
41106+
"unknown"
41107+
]
4103741108
}
4103841109
]
4103941110
},
@@ -42161,6 +42232,19 @@
4216142232
"description": "The response from the `SetObjectTransform` command.",
4216242233
"type": "object"
4216342234
},
42235+
"SetOrderIndependentTransparency": {
42236+
"description": "The response from the 'SetOrderIndependentTransparency'.",
42237+
"type": "object",
42238+
"properties": {
42239+
"enabled": {
42240+
"description": "Is it now enabled, or disabled?",
42241+
"type": "boolean"
42242+
}
42243+
},
42244+
"required": [
42245+
"enabled"
42246+
]
42247+
},
4216442248
"SetSceneUnits": {
4216542249
"description": "The response from the `SetSceneUnits` endpoint.",
4216642250
"type": "object"

0 commit comments

Comments
 (0)