Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(COR-1132): [API] Return actions and statuses in different fields #745

Merged
merged 3 commits into from
Jan 2, 2025
Merged
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
34 changes: 34 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14781,6 +14781,7 @@ components:
- name
- service_id
- service_type
- status_details
properties:
name:
type: string
Expand All @@ -14803,6 +14804,8 @@ components:
$ref: '#/components/schemas/DeploymentHistoryAuditingData'
details:
$ref: '#/components/schemas/DeploymentHistoryServiceDetails'
status_details:
$ref: '#/components/schemas/StatusDetails'
DeploymentHistoryServiceDetails:
x-stoplight:
id: vx9hzryfyv7sb
Expand Down Expand Up @@ -18397,6 +18400,24 @@ components:
- WAITING_RESTARTING
- WAITING_RUNNING
- WAITING_STOPPING
ServiceActionEnum:
type: string
enum:
- DEPLOY
- DELETE
- RESTART
- STOP
- UNKNOWN
ServiceActionStatusEnum:
type: string
enum:
- QUEUED
- ONGOING
- SUCCESS
- ERROR
- CANCELED
- CANCELING
- NEVER
StageStatusEnum:
type: string
x-stoplight:
Expand Down Expand Up @@ -18440,6 +18461,7 @@ components:
- id
- state
- service_deployment_status
- status_details
properties:
id:
type: string
Expand All @@ -18459,6 +18481,18 @@ components:
type: string
x-stoplight:
id: 3o9tz4272s2ct
status_details:
$ref: '#/components/schemas/StatusDetails'
StatusDetails:
type: object
required:
- action
- status
properties:
action:
$ref: '#/components/schemas/ServiceActionEnum'
status:
$ref: '#/components/schemas/ServiceActionStatusEnum'
Stage:
type: object
required:
Expand Down
Loading