Skip to content

Commit 802e3a6

Browse files
YOYO NEW API SPEC!
1 parent aeca3d1 commit 802e3a6

File tree

1 file changed

+237
-5
lines changed

1 file changed

+237
-5
lines changed

spec.json

Lines changed: 237 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17996,6 +17996,100 @@
1799617996
}
1799717997
}
1799817998
},
17999+
"/user/features": {
18000+
"get": {
18001+
"tags": [
18002+
"users"
18003+
],
18004+
"summary": "List user-visible feature flags enabled for the authenticated user.",
18005+
"description": "Returns only features that are marked as safe for exposure to clients and currently resolved to `true` for the requesting user (including org overrides).",
18006+
"operationId": "user_features_get",
18007+
"responses": {
18008+
"200": {
18009+
"description": "successful operation",
18010+
"headers": {
18011+
"Access-Control-Allow-Credentials": {
18012+
"description": "Access-Control-Allow-Credentials header.",
18013+
"style": "simple",
18014+
"schema": {
18015+
"nullable": true,
18016+
"type": "string"
18017+
}
18018+
},
18019+
"Access-Control-Allow-Headers": {
18020+
"description": "Access-Control-Allow-Headers header. This is a comma-separated list of headers.",
18021+
"style": "simple",
18022+
"schema": {
18023+
"nullable": true,
18024+
"type": "string"
18025+
}
18026+
},
18027+
"Access-Control-Allow-Methods": {
18028+
"description": "Access-Control-Allow-Methods header.",
18029+
"style": "simple",
18030+
"schema": {
18031+
"nullable": true,
18032+
"type": "string"
18033+
}
18034+
},
18035+
"Access-Control-Allow-Origin": {
18036+
"description": "Access-Control-Allow-Origin header.",
18037+
"style": "simple",
18038+
"schema": {
18039+
"nullable": true,
18040+
"type": "string"
18041+
}
18042+
},
18043+
"Content-Location": {
18044+
"description": "The Content-Location header for responses that are not the final destination. This is used to indicate where the resource can be found, when it is finished.",
18045+
"style": "simple",
18046+
"schema": {
18047+
"nullable": true,
18048+
"type": "string"
18049+
}
18050+
},
18051+
"Location": {
18052+
"description": "The location header for redirects and letting users know if there is a websocket they can listen to for status updates on their operation.",
18053+
"style": "simple",
18054+
"schema": {
18055+
"nullable": true,
18056+
"type": "string"
18057+
}
18058+
},
18059+
"Set-Cookie": {
18060+
"description": "Set-Cookie header.",
18061+
"style": "simple",
18062+
"schema": {
18063+
"nullable": true,
18064+
"type": "string"
18065+
}
18066+
},
18067+
"X-Api-Call-Id": {
18068+
"description": "ID for this request. We return it so that users can report this to us and help us debug their problems.",
18069+
"style": "simple",
18070+
"required": true,
18071+
"schema": {
18072+
"type": "string"
18073+
}
18074+
}
18075+
},
18076+
"content": {
18077+
"application/json": {
18078+
"schema": {
18079+
"$ref": "#/components/schemas/UserFeatureList"
18080+
}
18081+
}
18082+
}
18083+
},
18084+
"4XX": {
18085+
"$ref": "#/components/responses/Error"
18086+
},
18087+
"5XX": {
18088+
"$ref": "#/components/responses/Error"
18089+
}
18090+
}
18091+
}
18092+
},
1799918093
"/user/form": {
1800018094
"put": {
1800118095
"tags": [
@@ -23323,6 +23417,14 @@
2332323417
"minimum": 0
2332423418
}
2332523419
},
23420+
{
23421+
"in": "query",
23422+
"name": "order_independent_transparency",
23423+
"description": "Enables nicer visuals for transparent surfaces. This slows down rendering, so it's off by default.",
23424+
"schema": {
23425+
"type": "boolean"
23426+
}
23427+
},
2332623428
{
2332723429
"in": "query",
2332823430
"name": "pool",
@@ -26738,11 +26840,6 @@
2673826840
"type": "number",
2673926841
"format": "money-usd"
2674026842
},
26741-
"deleted": {
26742-
"description": "Always true for a deleted object.",
26743-
"default": false,
26744-
"type": "boolean"
26745-
},
2674626843
"id": {
2674726844
"description": "Unique identifier for the object.",
2674826845
"type": "string"
@@ -29958,6 +30055,14 @@
2995830055
"description": "The form for a public inquiry submission.",
2995930056
"type": "object",
2996030057
"properties": {
30058+
"cad_platforms": {
30059+
"nullable": true,
30060+
"description": "The CAD platforms (used for pilot inquiries).",
30061+
"type": "array",
30062+
"items": {
30063+
"type": "string"
30064+
}
30065+
},
2996130066
"company": {
2996230067
"nullable": true,
2996330068
"description": "The company name.",
@@ -29985,6 +30090,11 @@
2998530090
}
2998630091
]
2998730092
},
30093+
"job_title": {
30094+
"nullable": true,
30095+
"description": "The job title (used for pilot inquiries).",
30096+
"type": "string"
30097+
},
2998830098
"last_name": {
2998930099
"description": "The last name of the user.",
2999030100
"type": "string"
@@ -29993,6 +30103,11 @@
2999330103
"description": "The message content.",
2999430104
"type": "string"
2999530105
},
30106+
"num_cad_users": {
30107+
"nullable": true,
30108+
"description": "The number of CAD users (used for pilot inquiries).",
30109+
"type": "string"
30110+
},
2999630111
"phone": {
2999730112
"nullable": true,
2999830113
"description": "The phone number of the user.",
@@ -30010,6 +30125,13 @@
3001030125
"InquiryType": {
3001130126
"description": "The type of inquiry.",
3001230127
"oneOf": [
30128+
{
30129+
"description": "Inquiries related to pilots (on the enterprise page).",
30130+
"type": "string",
30131+
"enum": [
30132+
"pilot_inquiry"
30133+
]
30134+
},
3001330135
{
3001430136
"description": "General inquiry about the service or product.",
3001530137
"type": "string",
@@ -30320,6 +30442,13 @@
3032030442
"enum": [
3032130443
"void"
3032230444
]
30445+
},
30446+
{
30447+
"description": "Unknown.",
30448+
"type": "string",
30449+
"enum": [
30450+
"unknown"
30451+
]
3032330452
}
3032430453
]
3032530454
},
@@ -31252,6 +31381,13 @@
3125231381
"enum": [
3125331382
"bye"
3125431383
]
31384+
},
31385+
{
31386+
"description": "Interrupt the current prompt that is being processed.",
31387+
"type": "string",
31388+
"enum": [
31389+
"interrupt"
31390+
]
3125531391
}
3125631392
]
3125731393
},
@@ -33740,6 +33876,15 @@
3374033876
"type": "number",
3374133877
"format": "float"
3374233878
},
33879+
"backface_color": {
33880+
"nullable": true,
33881+
"description": "Color of the backface",
33882+
"allOf": [
33883+
{
33884+
"$ref": "#/components/schemas/Color"
33885+
}
33886+
]
33887+
},
3374333888
"color": {
3374433889
"description": "Color of the new material",
3374533890
"allOf": [
@@ -36122,6 +36267,26 @@
3612236267
"required": [
3612336268
"type"
3612436269
]
36270+
},
36271+
{
36272+
"description": "Render transparent surfaces more accurately, but this might make rendering slower. Because it can interfere with runtime performance, it defaults to false.",
36273+
"type": "object",
36274+
"properties": {
36275+
"enabled": {
36276+
"nullable": true,
36277+
"description": "Enables or disables OIT. If not given, toggles it.",
36278+
"type": "boolean"
36279+
},
36280+
"type": {
36281+
"type": "string",
36282+
"enum": [
36283+
"set_order_independent_transparency"
36284+
]
36285+
}
36286+
},
36287+
"required": [
36288+
"type"
36289+
]
3612536290
}
3612636291
]
3612736292
},
@@ -38810,6 +38975,24 @@
3881038975
"data",
3881138976
"type"
3881238977
]
38978+
},
38979+
{
38980+
"type": "object",
38981+
"properties": {
38982+
"data": {
38983+
"$ref": "#/components/schemas/SetOrderIndependentTransparency"
38984+
},
38985+
"type": {
38986+
"type": "string",
38987+
"enum": [
38988+
"set_order_independent_transparency"
38989+
]
38990+
}
38991+
},
38992+
"required": [
38993+
"data",
38994+
"type"
38995+
]
3881338996
}
3881438997
]
3881538998
},
@@ -41034,6 +41217,13 @@
4103441217
"enum": [
4103541218
"year"
4103641219
]
41220+
},
41221+
{
41222+
"description": "Don't use.",
41223+
"type": "string",
41224+
"enum": [
41225+
"unknown"
41226+
]
4103741227
}
4103841228
]
4103941229
},
@@ -42161,6 +42351,19 @@
4216142351
"description": "The response from the `SetObjectTransform` command.",
4216242352
"type": "object"
4216342353
},
42354+
"SetOrderIndependentTransparency": {
42355+
"description": "The response from the 'SetOrderIndependentTransparency'.",
42356+
"type": "object",
42357+
"properties": {
42358+
"enabled": {
42359+
"description": "Is it now enabled, or disabled?",
42360+
"type": "boolean"
42361+
}
42362+
},
42363+
"required": [
42364+
"enabled"
42365+
]
42366+
},
4216442367
"SetSceneUnits": {
4216542368
"description": "The response from the `SetSceneUnits` endpoint.",
4216642369
"type": "object"
@@ -46180,6 +46383,35 @@
4618046383
"payment_methods_summary"
4618146384
]
4618246385
},
46386+
"UserFeatureEntry": {
46387+
"description": "Enabled features surfaced to end users.",
46388+
"type": "object",
46389+
"properties": {
46390+
"id": {
46391+
"description": "Stable identifier for the feature flag (snake_case).",
46392+
"type": "string"
46393+
}
46394+
},
46395+
"required": [
46396+
"id"
46397+
]
46398+
},
46399+
"UserFeatureList": {
46400+
"description": "User features response payload.",
46401+
"type": "object",
46402+
"properties": {
46403+
"features": {
46404+
"description": "Features that are active and safe to expose to the current user.",
46405+
"type": "array",
46406+
"items": {
46407+
"$ref": "#/components/schemas/UserFeatureEntry"
46408+
}
46409+
}
46410+
},
46411+
"required": [
46412+
"features"
46413+
]
46414+
},
4618346415
"UserIdentifier": {
4618446416
"type": "string"
4618546417
},

0 commit comments

Comments
 (0)