Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/reference/api/openapi-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9332,10 +9332,6 @@ components:
type: string
framework:
$ref: "#/components/schemas/Framework"
providerData:
type: object
additionalProperties:
type: object
timestamp:
type: string
uuid:
Expand Down
48 changes: 48 additions & 0 deletions docs/reference/api/openapi-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ tags:
description: Endpoints related to projects
- name: Secrets
description: Endpoints related to secrets
- name: System Capabilities
description: Endpoints exposing the capabilities of the running server
- name: Task Queues
description: Endpoints related to task queue management
- name: Vuln Data Sources
Expand Down Expand Up @@ -1347,6 +1349,24 @@ paths:
$ref: "#/components/responses/generic-not-found-error"
default:
$ref: "#/components/responses/generic-error"
/internal/system-capabilities:
get:
tags:
- System Capabilities
summary: Get system capabilities
description: Returns the capabilities of the system.
operationId: getSystemCapabilities
responses:
"200":
description: System capabilities
content:
application/json:
schema:
$ref: "#/components/schemas/system-capabilities-response"
"401":
$ref: "#/components/responses/generic-unauthorized-error"
default:
$ref: "#/components/responses/generic-error"
/internal/task-queues/{type}:
get:
tags:
Expand Down Expand Up @@ -1516,6 +1536,19 @@ paths:
description: Status to filter by
schema:
$ref: "#/components/schemas/workflow-run-status"
- name: label
in: query
description: |-
Filter by label in `key=value` form. Repeat to require multiple labels.
A run matches only if it carries every supplied label.
On duplicate keys the last occurrence wins.
style: form
explode: true
schema:
type: array
items:
pattern: "^[^=]+=.*$"
type: string
- name: created_at_from
in: query
description: Filter runs created on or after this timestamp.
Expand Down Expand Up @@ -2196,6 +2229,21 @@ components:
failure_reason:
type: string
description: Reason for why the mirror run failed.
system-capabilities-response:
required:
- capabilities
type: object
properties:
capabilities:
type: object
additionalProperties:
type: object
additionalProperties: true
description: Map of namespaces to capability flags.
example:
capabilities:
secret_management:
read_only: false
task-queue-type:
type: string
enum:
Expand Down