From fb5f3c972a06c50ff9bc55da0fac9beeb93af811 Mon Sep 17 00:00:00 2001 From: Andrew Nguonly Date: Wed, 26 Jun 2024 11:29:58 -0700 Subject: [PATCH] Update openapi.json spec to include POST /runs endpoint. (#837) --- docs/docs/cloud/reference/api/openapi.json | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/docs/docs/cloud/reference/api/openapi.json b/docs/docs/cloud/reference/api/openapi.json index 15799d758..b4ffe014c 100644 --- a/docs/docs/cloud/reference/api/openapi.json +++ b/docs/docs/cloud/reference/api/openapi.json @@ -1543,6 +1543,46 @@ } } }, + "/runs": { + "post": { + "tags": [ + "runs/create" + ], + "summary": "Run Stateless", + "description": "Create a stateless run that will run in the background.", + "operationId": "run_stateless_runs_post", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RunCreate" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": {} + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, "/runs/crons/{cron_id}": { "delete": { "tags": [