Skip to content

Commit

Permalink
Regenerate client from commit 71029a4 of spec repo (#604)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Nov 25, 2021
1 parent a0a951d commit cd77537
Show file tree
Hide file tree
Showing 16 changed files with 895 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-11-25 12:06:03.167568",
"spec_repo_commit": "765200a"
"regenerated": "2021-11-25 13:33:58.147249",
"spec_repo_commit": "71029a4"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-11-25 12:06:03.200031",
"spec_repo_commit": "765200a"
"regenerated": "2021-11-25 13:33:58.175244",
"spec_repo_commit": "71029a4"
}
}
}
83 changes: 83 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7654,6 +7654,10 @@ components:
properties:
category:
$ref: '#/components/schemas/SLOCorrectionCategory'
created_at:
description: The epoch timestamp of when the correction was created at
format: int64
type: integer
creator:
$ref: '#/components/schemas/Creator'
description:
Expand All @@ -7670,6 +7674,24 @@ components:
description: Ending time of the correction in epoch seconds.
format: int64
type: integer
modified_at:
description: The epoch timestamp of when the correction was modified at
format: int64
type: integer
modifier:
description: Modifier of the object.
nullable: true
properties:
email:
description: Email of the Modifier.
type: string
handle:
description: Handle of the Modifier.
type: string
name:
description: Name of the Modifier.
type: string
type: object
rrule:
description: Recurrence rules as defined in the iCalendar RFC 5545.
example: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
Expand Down Expand Up @@ -22102,6 +22124,57 @@ paths:
x-menu-order: 3
x-undo:
type: idempotent
/api/v1/slo/{slo_id}/corrections:
get:
description: Get corrections applied to an SLO
operationId: GetSLOCorrections
parameters:
- description: The ID of the service level objective object.
in: path
name: slo_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SLOCorrectionListResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Get Corrections For an SLO
tags:
- Service Level Objectives
x-menu-order: 6
x-undo:
type: safe
x-unstable: '**Note**: This endpoint is in public beta.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v1/slo/{slo_id}/history:
get:
description: "Get a specific SLO\u2019s history, regardless of its SLO type.\n\nThe
Expand Down Expand Up @@ -22143,6 +22216,16 @@ paths:
maximum: 100
minimum: 0
type: number
- description: 'Defaults to `true`. If any SLO corrections are applied and this
parameter is set to `false`,

then the corrections will not be applied and the SLI values will not be
affected.'
in: query
name: apply_correction
required: false
schema:
type: boolean
responses:
'200':
content:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ All URIs are relative to *https://api.datadoghq.com*
| _DatadogAPIClient::V1::ServiceLevelObjectivesAPI_ | [**delete_slo**](ServiceLevelObjectivesAPI.md#delete_slo) | **DELETE** /api/v1/slo/{slo_id} | Delete an SLO |
| _DatadogAPIClient::V1::ServiceLevelObjectivesAPI_ | [**delete_slo_timeframe_in_bulk**](ServiceLevelObjectivesAPI.md#delete_slo_timeframe_in_bulk) | **POST** /api/v1/slo/bulk_delete | Bulk Delete SLO Timeframes |
| _DatadogAPIClient::V1::ServiceLevelObjectivesAPI_ | [**get_slo**](ServiceLevelObjectivesAPI.md#get_slo) | **GET** /api/v1/slo/{slo_id} | Get an SLO's details |
| _DatadogAPIClient::V1::ServiceLevelObjectivesAPI_ | [**get_slo_corrections**](ServiceLevelObjectivesAPI.md#get_slo_corrections) | **GET** /api/v1/slo/{slo_id}/corrections | Get Corrections For an SLO |
| _DatadogAPIClient::V1::ServiceLevelObjectivesAPI_ | [**get_slo_history**](ServiceLevelObjectivesAPI.md#get_slo_history) | **GET** /api/v1/slo/{slo_id}/history | Get an SLO's history |
| _DatadogAPIClient::V1::ServiceLevelObjectivesAPI_ | [**list_slos**](ServiceLevelObjectivesAPI.md#list_slos) | **GET** /api/v1/slo | Get all SLOs |
| _DatadogAPIClient::V1::ServiceLevelObjectivesAPI_ | [**update_slo**](ServiceLevelObjectivesAPI.md#update_slo) | **PUT** /api/v1/slo/{slo_id} | Update an SLO |
Expand Down Expand Up @@ -572,6 +573,7 @@ All URIs are relative to *https://api.datadoghq.com*
- [DatadogAPIClient::V1::SLOCorrectionListResponse](SLOCorrectionListResponse.md)
- [DatadogAPIClient::V1::SLOCorrectionResponse](SLOCorrectionResponse.md)
- [DatadogAPIClient::V1::SLOCorrectionResponseAttributes](SLOCorrectionResponseAttributes.md)
- [DatadogAPIClient::V1::SLOCorrectionResponseAttributesModifier](SLOCorrectionResponseAttributesModifier.md)
- [DatadogAPIClient::V1::SLOCorrectionType](SLOCorrectionType.md)
- [DatadogAPIClient::V1::SLOCorrectionUpdateData](SLOCorrectionUpdateData.md)
- [DatadogAPIClient::V1::SLOCorrectionUpdateRequest](SLOCorrectionUpdateRequest.md)
Expand Down
Loading

0 comments on commit cd77537

Please sign in to comment.