-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
US71619-Included new endpoint to handle service health update (#135)
* US71619-Included new endpoint to handle service health update * [auto generated] Checking in generated offline HTML doc --------- Co-authored-by: dbozzato81 <[email protected]>
- Loading branch information
1 parent
406649e
commit f3109d3
Showing
10 changed files
with
322 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
description: forbidden | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../schemas/ErrorResponse.yaml |
29 changes: 29 additions & 0 deletions
29
v1/api/swagger/paths/services@{serviceId}@updatehealth.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
put: | ||
tags: | ||
- services | ||
summary: Trigger a request to update an OS service image health by its ID. | ||
description: >- | ||
Trigger a request to update an OS service image health by its ID. | ||
If GreenLake Platform IAM issued token is used for authentication, then it is required to pass | ||
'X-Role' and 'X-Workspaceid' headers. | ||
operationId: Service_updatehealth | ||
parameters: | ||
- name: serviceId | ||
in: path | ||
description: ID of OS service image. | ||
required: true | ||
schema: | ||
type: string | ||
- $ref: ../components/parameters/Role.yaml | ||
- $ref: ../components/parameters/WorkspaceID.yaml | ||
responses: | ||
'202': | ||
description: accepted | ||
'401': | ||
$ref: ../components/responses/Unauthorized.yaml | ||
'403': | ||
$ref: ../components/responses/Forbidden.yaml | ||
'404': | ||
$ref: ../components/responses/NotFound.yaml | ||
'500': | ||
$ref: ../components/responses/InternalError.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.