|
7153 | 7153 | }
|
7154 | 7154 | },
|
7155 | 7155 | "components": {
|
7156 |
| - "responses": { |
7157 |
| - "Error": { |
7158 |
| - "description": "Error", |
7159 |
| - "content": { |
7160 |
| - "application/json": { |
7161 |
| - "schema": { |
7162 |
| - "$ref": "#/components/schemas/Error" |
7163 |
| - } |
7164 |
| - } |
7165 |
| - } |
7166 |
| - } |
7167 |
| - }, |
7168 | 7156 | "schemas": {
|
7169 | 7157 | "AccountProvider": {
|
7170 | 7158 | "description": "An account provider.",
|
|
9143 | 9131 | }
|
9144 | 9132 | },
|
9145 | 9133 | "CodeLanguage": {
|
9146 |
| - "description": "The language code is written in.", |
| 9134 | + "description": "The language code is written in.\n\n<details><summary>JSON schema</summary>\n\n```json { \"description\": \"The language code is written in.\", \"oneOf\": [ { \"description\": \"The `go` programming language.\", \"type\": \"string\", \"enum\": [ \"go\" ] }, { \"description\": \"The `python` programming language.\", \"type\": \"string\", \"enum\": [ \"python\" ] }, { \"description\": \"The `node` programming language.\", \"type\": \"string\", \"enum\": [ \"node\" ] } ] } ``` </details>", |
9147 | 9135 | "oneOf": [
|
9148 | 9136 | {
|
9149 | 9137 | "description": "The `go` programming language.",
|
|
9169 | 9157 | ]
|
9170 | 9158 | },
|
9171 | 9159 | "CodeOutput": {
|
9172 |
| - "description": "Output of the code being executed.", |
| 9160 | + "description": "Output of the code being executed.\n\n<details><summary>JSON schema</summary>\n\n```json { \"description\": \"Output of the code being executed.\", \"type\": \"object\", \"properties\": { \"output_files\": { \"description\": \"The contents of the files requested if they were passed.\", \"type\": \"array\", \"items\": { \"$ref\": \"#/components/schemas/OutputFile\" } }, \"stderr\": { \"description\": \"The stderr of the code.\", \"default\": \"\", \"type\": \"string\" }, \"stdout\": { \"description\": \"The stdout of the code.\", \"default\": \"\", \"type\": \"string\" } } } ``` </details>", |
9173 | 9161 | "type": "object",
|
9174 | 9162 | "properties": {
|
9175 | 9163 | "output_files": {
|
|
15485 | 15473 | }
|
15486 | 15474 | },
|
15487 | 15475 | "OutputFile": {
|
15488 |
| - "description": "Output file contents.", |
| 15476 | + "description": "Output file contents.\n\n<details><summary>JSON schema</summary>\n\n```json { \"description\": \"Output file contents.\", \"type\": \"object\", \"properties\": { \"contents\": { \"description\": \"The contents of the file. This is base64 encoded so we can ensure it is UTF-8 for JSON.\", \"type\": \"string\" }, \"name\": { \"description\": \"The name of the file.\", \"default\": \"\", \"type\": \"string\" } } } ``` </details>", |
15489 | 15477 | "type": "object",
|
15490 | 15478 | "properties": {
|
15491 | 15479 | "contents": {
|
@@ -19165,112 +19153,124 @@
|
19165 | 19153 | }
|
19166 | 19154 | ]
|
19167 | 19155 | }
|
| 19156 | + }, |
| 19157 | + "responses": { |
| 19158 | + "Error": { |
| 19159 | + "description": "Error", |
| 19160 | + "content": { |
| 19161 | + "application/json": { |
| 19162 | + "schema": { |
| 19163 | + "$ref": "#/components/schemas/Error" |
| 19164 | + } |
| 19165 | + } |
| 19166 | + } |
| 19167 | + } |
19168 | 19168 | }
|
19169 | 19169 | },
|
19170 | 19170 | "tags": [
|
19171 | 19171 | {
|
19172 | 19172 | "name": "ai",
|
19173 | 19173 | "description": "AI uses machine learning to generate CAD models.",
|
19174 | 19174 | "externalDocs": {
|
19175 |
| - "url": "https://docs.kittycad.io/api/ai" |
| 19175 | + "url": "https://zoo.dev/docs/api/ai" |
19176 | 19176 | }
|
19177 | 19177 | },
|
19178 | 19178 | {
|
19179 | 19179 | "name": "api-calls",
|
19180 | 19180 | "description": "API calls that have been performed by users can be queried by the API. This is helpful for debugging as well as billing.",
|
19181 | 19181 | "externalDocs": {
|
19182 |
| - "url": "https://docs.kittycad.io/api/api-calls" |
| 19182 | + "url": "https://zoo.dev/docs/api/api-calls" |
19183 | 19183 | }
|
19184 | 19184 | },
|
19185 | 19185 | {
|
19186 | 19186 | "name": "api-tokens",
|
19187 | 19187 | "description": "API tokens allow users to call the API outside of their session token that is used as a cookie in the user interface. Users can create, delete, and list their API tokens. But, of course, you need an API token to do this, so first be sure to generate one in the account UI.",
|
19188 | 19188 | "externalDocs": {
|
19189 |
| - "url": "https://docs.kittycad.io/api/api-tokens" |
| 19189 | + "url": "https://zoo.dev/docs/api/api-tokens" |
19190 | 19190 | }
|
19191 | 19191 | },
|
19192 | 19192 | {
|
19193 | 19193 | "name": "apps",
|
19194 | 19194 | "description": "Endpoints for third party app grant flows.",
|
19195 | 19195 | "externalDocs": {
|
19196 |
| - "url": "https://docs.kittycad.io/api/apps" |
| 19196 | + "url": "https://zoo.dev/docs/api/apps" |
19197 | 19197 | }
|
19198 | 19198 | },
|
19199 | 19199 | {
|
19200 | 19200 | "name": "beta",
|
19201 | 19201 | "description": "Beta API endpoints. We will not charge for these endpoints while they are in beta.",
|
19202 | 19202 | "externalDocs": {
|
19203 |
| - "url": "https://docs.kittycad.io/api/beta" |
| 19203 | + "url": "https://zoo.dev/docs/api/beta" |
19204 | 19204 | }
|
19205 | 19205 | },
|
19206 | 19206 | {
|
19207 | 19207 | "name": "constant",
|
19208 | 19208 | "description": "Constants. These are helpful as helpers.",
|
19209 | 19209 | "externalDocs": {
|
19210 |
| - "url": "https://docs.kittycad.io/api/constant" |
| 19210 | + "url": "https://zoo.dev/docs/api/constant" |
19211 | 19211 | }
|
19212 | 19212 | },
|
19213 | 19213 | {
|
19214 | 19214 | "name": "executor",
|
19215 | 19215 | "description": "Endpoints that allow for code execution or creation of code execution environments.",
|
19216 | 19216 | "externalDocs": {
|
19217 |
| - "url": "https://docs.kittycad.io/api/executor" |
| 19217 | + "url": "https://zoo.dev/docs/api/executor" |
19218 | 19218 | }
|
19219 | 19219 | },
|
19220 | 19220 | {
|
19221 | 19221 | "name": "file",
|
19222 | 19222 | "description": "CAD file operations. Create, get, and list CAD file conversions. More endpoints will be added here in the future as we build out transforms, etc on CAD models.",
|
19223 | 19223 | "externalDocs": {
|
19224 |
| - "url": "https://docs.kittycad.io/api/file" |
| 19224 | + "url": "https://zoo.dev/docs/api/file" |
19225 | 19225 | }
|
19226 | 19226 | },
|
19227 | 19227 | {
|
19228 | 19228 | "name": "hidden",
|
19229 | 19229 | "description": "Hidden API endpoints that should not show up in the docs.",
|
19230 | 19230 | "externalDocs": {
|
19231 |
| - "url": "https://docs.kittycad.io/api/hidden" |
| 19231 | + "url": "https://zoo.dev/docs/api/hidden" |
19232 | 19232 | }
|
19233 | 19233 | },
|
19234 | 19234 | {
|
19235 | 19235 | "name": "meta",
|
19236 | 19236 | "description": "Meta information about the API.",
|
19237 | 19237 | "externalDocs": {
|
19238 |
| - "url": "https://docs.kittycad.io/api/meta" |
| 19238 | + "url": "https://zoo.dev/docs/api/meta" |
19239 | 19239 | }
|
19240 | 19240 | },
|
19241 | 19241 | {
|
19242 | 19242 | "name": "modeling",
|
19243 |
| - "description": "Modeling API for updating your 3D files using the KittyCAD engine.", |
| 19243 | + "description": "Modeling API for updating your 3D files using the Zoo engine.", |
19244 | 19244 | "externalDocs": {
|
19245 |
| - "url": "https://docs.kittycad.io/api/modeling" |
| 19245 | + "url": "https://zoo.dev/docs/api/modeling" |
19246 | 19246 | }
|
19247 | 19247 | },
|
19248 | 19248 | {
|
19249 | 19249 | "name": "oauth2",
|
19250 | 19250 | "description": "Endpoints that implement OAuth 2.0 grant flows.",
|
19251 | 19251 | "externalDocs": {
|
19252 |
| - "url": "https://docs.kittycad.io/api/oauth2" |
| 19252 | + "url": "https://zoo.dev/docs/api/oauth2" |
19253 | 19253 | }
|
19254 | 19254 | },
|
19255 | 19255 | {
|
19256 | 19256 | "name": "payments",
|
19257 | 19257 | "description": "Operations around payments and billing.",
|
19258 | 19258 | "externalDocs": {
|
19259 |
| - "url": "https://docs.kittycad.io/api/payments" |
| 19259 | + "url": "https://zoo.dev/docs/api/payments" |
19260 | 19260 | }
|
19261 | 19261 | },
|
19262 | 19262 | {
|
19263 | 19263 | "name": "unit",
|
19264 | 19264 | "description": "Unit conversion operations.",
|
19265 | 19265 | "externalDocs": {
|
19266 |
| - "url": "https://docs.kittycad.io/api/file" |
| 19266 | + "url": "https://zoo.dev/docs/api/file" |
19267 | 19267 | }
|
19268 | 19268 | },
|
19269 | 19269 | {
|
19270 | 19270 | "name": "users",
|
19271 |
| - "description": "A user is someone who uses the KittyCAD API. Here, we can create, delete, and list users. We can also get information about a user. Operations will only be authorized if the user is requesting information about themselves.", |
| 19271 | + "description": "A user is someone who uses the Zoo API. Here, we can create, delete, and list users. We can also get information about a user. Operations will only be authorized if the user is requesting information about themselves.", |
19272 | 19272 | "externalDocs": {
|
19273 |
| - "url": "https://docs.kittycad.io/api/users" |
| 19273 | + "url": "https://zoo.dev/docs/api/users" |
19274 | 19274 | }
|
19275 | 19275 | }
|
19276 | 19276 | ]
|
|
0 commit comments