Skip to content

Commit

Permalink
Regenerate client from commit 52a2a5a9 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Apr 13, 2022
1 parent 006219e commit bf6fb9b
Show file tree
Hide file tree
Showing 17 changed files with 2,386 additions and 4 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.6.2",
"regenerated": "2022-04-13 07:37:46.499762",
"spec_repo_commit": "a87e717d"
"regenerated": "2022-04-13 09:26:45.426899",
"spec_repo_commit": "52a2a5a9"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-04-13 07:37:46.517566",
"spec_repo_commit": "a87e717d"
"regenerated": "2022-04-13 09:26:45.439859",
"spec_repo_commit": "52a2a5a9"
}
}
}
214 changes: 214 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9304,6 +9304,164 @@ components:
- formula
- dimension
type: object
SearchSLOResponse:
description: A search SLO response containing results from the search query.
properties:
data:
$ref: '#/components/schemas/SearchSLOResponseData'
links:
$ref: '#/components/schemas/SearchSLOResponseLinks'
meta:
$ref: '#/components/schemas/SearchSLOResponseMeta'
type: object
SearchSLOResponseData:
description: Data from search SLO response
properties:
attributes:
$ref: '#/components/schemas/SearchSLOResponseDataAttributes'
type:
description: Type of Service Level Objective result.
example: ''
type: string
type: object
SearchSLOResponseDataAttributes:
description: Attributes
properties:
facets:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacets'
slo:
description: SLOs
items:
$ref: '#/components/schemas/ServiceLevelObjective'
type: array
type: object
SearchSLOResponseDataAttributesFacets:
description: Facet
properties:
all_tags:
description: All tags associated with an SLO
items:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacetsObjectString'
type: array
creator_name:
description: Creator of an SLO
items:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacetsObjectString'
type: array
env_tags:
description: Tags with the `env` tag key
items:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacetsObjectString'
type: array
service_tags:
description: Tags with the `service` tag key
items:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacetsObjectString'
type: array
slo_type:
description: Type of SLOs
items:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacetsObjectInt'
type: array
target:
description: SLO Target
items:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacetsObjectInt'
type: array
team_tags:
description: Tags with the `team` tag key
items:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacetsObjectString'
type: array
timeframe:
description: Timeframes of SLOs
items:
$ref: '#/components/schemas/SearchSLOResponseDataAttributesFacetsObjectString'
type: array
type: object
SearchSLOResponseDataAttributesFacetsObjectInt:
description: Facet
properties:
count:
description: Count
format: int64
type: integer
name:
description: Facet
format: int64
type: integer
type: object
SearchSLOResponseDataAttributesFacetsObjectString:
description: Facet
properties:
count:
description: Count
format: int64
type: integer
name:
description: Facet
type: string
type: object
SearchSLOResponseLinks:
description: Pagination links.
properties:
first:
description: Link to last page.
type: string
last:
description: Link to first page.
type: string
next:
description: Link to the next page.
type: string
prev:
description: Link to previous page.
type: string
self:
description: Link to current page.
type: string
type: object
SearchSLOResponseMeta:
description: Searches metadata returned by the API.
properties:
pagination:
$ref: '#/components/schemas/SearchSLOResponseMetaPage'
type: object
SearchSLOResponseMetaPage:
description: Pagination metadata returned by the API.
properties:
first_number:
description: The first number.
format: int64
type: integer
last_number:
description: The last number.
format: int64
type: integer
next_number:
description: The next number.
format: int64
type: integer
number:
description: The page number.
format: int64
type: integer
prev_number:
description: The previous page number.
format: int64
type: integer
size:
description: The size of the response.
format: int64
type: integer
total:
description: The total number of SLOs in the response.
format: int64
type: integer
type:
description: type of pagination.
type: string
type: object
Series:
description: 'A metric to submit to Datadog.

Expand Down Expand Up @@ -23613,6 +23771,62 @@ paths:
type: idempotent
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/search:
get:
description: Get a list of service level objective objects for your organization.
operationId: SearchSLO
parameters:
- description: The query string to filter results based on SLO names.
in: query
name: query
required: false
schema:
type: string
- description: The number of files to return in the response. `[default=10]`.
in: query
name: page[size]
required: false
schema:
format: int64
type: integer
- description: The identifier of the first page to return. This parameter is
used for the pagination feature `[default=0]`.
in: query
name: page[number]
required: false
schema:
format: int64
type: integer
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SearchSLOResponse'
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
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Search for SLOs
tags:
- Service Level Objectives
x-menu-order: 9
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}:
delete:
Expand Down
Loading

0 comments on commit bf6fb9b

Please sign in to comment.