From 80cf7eed2bf3949abdb42748c0c88b355547bc00 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 29 Sep 2024 00:03:42 +0000 Subject: [PATCH] daily update 20240929T000342 --- client/services/PipelineService.ts | 22 ++++++++++ swagger.json | 64 ++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/client/services/PipelineService.ts b/client/services/PipelineService.ts index b976166..d0aa0c6 100644 --- a/client/services/PipelineService.ts +++ b/client/services/PipelineService.ts @@ -383,6 +383,28 @@ export class PipelineService { }, }); } + /** + * Get pipeline values for a pipeline + * Returns a map of pipeline values by pipeline ID. For more information see the [pipeline values reference page](https://circleci.com/docs/variables/#pipeline-values). + * @returns any A JSON object of pipeline values + * @throws ApiError + */ + public static getPipelineValuesById({ + pipelineId, + }: { + /** + * The unique ID of the pipeline. + */ + pipelineId: string; + }): CancelablePromise> { + return __request(OpenAPI, { + method: "GET", + url: "/pipeline/{pipeline-id}/values", + path: { + "pipeline-id": pipelineId, + }, + }); + } /** * Get a pipeline's workflows * Returns a paginated list of workflows by pipeline ID. diff --git a/swagger.json b/swagger.json index b2267ba..9e6c497 100644 --- a/swagger.json +++ b/swagger.json @@ -6175,6 +6175,70 @@ "tags": ["Pipeline"] } }, + "/pipeline/{pipeline-id}/values": { + "get": { + "description": "Returns a map of pipeline values by pipeline ID. For more information see the [pipeline values reference page](https://circleci.com/docs/variables/#pipeline-values).", + "operationId": "getPipelineValuesById", + "parameters": [ + { + "description": "The unique ID of the pipeline.", + "example": "5034460f-c7c4-4c43-9457-de07e2029e7b", + "in": "path", + "name": "pipeline-id", + "required": true, + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "format": "int64", + "type": "integer" + }, + { + "type": "boolean" + } + ] + }, + "description": "The pipeline-values for the pipeline.", + "title": "PipelineValues", + "type": "object" + } + } + }, + "description": "A JSON object of pipeline values" + }, + "default": { + "content": { + "application/json": { + "schema": { + "properties": { + "message": { + "type": "string" + } + }, + "type": "object" + } + } + }, + "description": "Error response." + } + }, + "summary": "Get pipeline values for a pipeline", + "tags": ["Pipeline"] + } + }, "/pipeline/{pipeline-id}/workflow": { "get": { "description": "Returns a paginated list of workflows by pipeline ID.",