Skip to content

Commit 868d2dd

Browse files
Update api spec (#221)
* YOYO NEW API SPEC! * Generated new lib --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 680b0ed commit 868d2dd

File tree

3 files changed

+296
-85
lines changed

3 files changed

+296
-85
lines changed

kittycad.ts.patch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"op": "add",
44
"path": "/paths/~1ws~1modeling~1commands/get/x-typescript",
55
"value": {
6-
"example": "import { modeling } from '@kittycad/lib'\n\nasync function example() {\n const response = await modeling.modeling_commands_ws({\n fps: 7,\n unlocked_framerate: true,\n video_res_height: 7,\n video_res_width: 7,\n webrtc: true,\n body: {\n candidate: {\n candidate: 'The candidate string associated with the object.',\n sdpMLineIndex: 7,\n sdpMid: \"The identifier of the 'media stream identification' as defined in [RFC 8841](https://tools.ietf.org/html/rfc8841).\",\n usernameFragment:\n 'The username fragment (as defined in [RFC 8445](https://tools.ietf.org/html/rfc8445#section-5.2.1)) associated with the object.',\n },\n type: 'trickle_ice',\n },\n })\n if ('error_code' in response) throw response\n console.log(JSON.stringify(response, null, 2))\n}\n",
6+
"example": "import { modeling } from '@kittycad/lib'\n\nasync function example() {\n const response = await modeling.modeling_commands_ws({\n fps: 7,\n pool: 'string',\n unlocked_framerate: true,\n video_res_height: 7,\n video_res_width: 7,\n webrtc: true,\n body: {\n candidate: {\n candidate: 'The candidate string associated with the object.',\n sdpMLineIndex: 7,\n sdpMid: \"The identifier of the 'media stream identification' as defined in [RFC 8841](https://tools.ietf.org/html/rfc8841).\",\n usernameFragment:\n 'The username fragment (as defined in [RFC 8445](https://tools.ietf.org/html/rfc8445#section-5.2.1)) associated with the object.',\n },\n type: 'trickle_ice',\n },\n })\n if ('error_code' in response) throw response\n console.log(JSON.stringify(response, null, 2))\n}\n",
77
"libDocsLink": ""
88
}
99
},

0 commit comments

Comments
 (0)