From 36b4a8765bc5147571b0aca00efc20cd3c8ac8a2 Mon Sep 17 00:00:00 2001 From: Bryce Date: Fri, 7 Nov 2025 09:41:32 -0800 Subject: [PATCH 1/2] update patch pipeline trigger key return tyle --- platform/paths/pipelines/triggerKeys/triggerKey.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/paths/pipelines/triggerKeys/triggerKey.yml b/platform/paths/pipelines/triggerKeys/triggerKey.yml index 4d53af0a..e486e5fa 100644 --- a/platform/paths/pipelines/triggerKeys/triggerKey.yml +++ b/platform/paths/pipelines/triggerKeys/triggerKey.yml @@ -75,7 +75,7 @@ patch: - data properties: data: - $ref: ../../../../components/schemas/jobs/JobDescriptor.yml + $ref: ../../../../components/schemas/pipelines/trigger-keys/TriggerKey.yml default: $ref: ../../../../components/responses/errors/DefaultError.yml From 75254af42d9cc329dd16f8628caefd84f823d86b Mon Sep 17 00:00:00 2001 From: Bryce Date: Fri, 7 Nov 2025 10:57:06 -0800 Subject: [PATCH 2/2] external volume source endpoint --- platform/api.yml | 2 + .../external-volumes/sources.yml | 37 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 platform/paths/infrastructure/external-volumes/sources.yml diff --git a/platform/api.yml b/platform/api.yml index 23acaa6a..67a1c69a 100644 --- a/platform/api.yml +++ b/platform/api.yml @@ -588,6 +588,8 @@ paths: $ref: "./paths/infrastructure/external-volumes/external-volumes.yml" "/v1/infrastructure/external-volumes/{externalVolumeId}": $ref: "./paths/infrastructure/external-volumes/external-volume.yml" + "/v1/infrastructure/external-volumes/sources": + $ref: "./paths/infrastructure/external-volumes/sources.yml" "/v1/infrastructure/external-volumes/{externalVolumeId}/access": $ref: "./paths/infrastructure/external-volumes/access.yml" "/v1/infrastructure/external-volumes/{externalVolumeId}/tasks": diff --git a/platform/paths/infrastructure/external-volumes/sources.yml b/platform/paths/infrastructure/external-volumes/sources.yml new file mode 100644 index 00000000..505ca77e --- /dev/null +++ b/platform/paths/infrastructure/external-volumes/sources.yml @@ -0,0 +1,37 @@ +get: + operationId: "getExternalVolumeSources" + summary: List External Volume Sources + description: Requires the `external-volumes-view` capability. + tags: + - External Volumes + responses: + 200: + description: Returns supported external volume sources and their capabilities. + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: object + additionalProperties: + type: object + title: ExternalVolumeSource + required: + - capabilities + - creatable + properties: + capabilities: + type: object + description: Map where keys are attachment types and values are arrays of supported modes. + additionalProperties: + type: array + items: + type: string + creatable: + type: boolean + description: Whether volumes of this source type can be created via the API. + default: + $ref: ../../../../components/responses/errors/DefaultError.yml