Skip to content

Commit

Permalink
Regenerate client from commit c2c6e7b4 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jun 23, 2022
1 parent d9b96bc commit e16b303
Show file tree
Hide file tree
Showing 25 changed files with 2,530 additions and 22 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-06-23 07:02:09.553077",
"spec_repo_commit": "c91969fc"
"regenerated": "2022-06-23 07:34:05.164610",
"spec_repo_commit": "c2c6e7b4"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-06-23 07:02:09.565364",
"spec_repo_commit": "c91969fc"
"regenerated": "2022-06-23 07:34:05.175576",
"spec_repo_commit": "c2c6e7b4"
}
}
}
260 changes: 253 additions & 7 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8603,7 +8603,7 @@ components:
format: int64
type: integer
times:
description: An array of query timestamps in EPOCH milliseconds
description: An array of query timestamps in EPOCH milliseconds.
example: []
items:
description: A timestamp in EPOCH milliseconds.
Expand Down Expand Up @@ -9471,6 +9471,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: Facets
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 SLO.
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: double
type: number
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 @@ -9599,7 +9757,7 @@ components:
nullable: true
type: string
groups:
description: 'A list of (up to 20) monitor groups that narrow the scope
description: 'A list of (up to 100) monitor groups that narrow the scope
of a monitor service level objective.


Expand Down Expand Up @@ -9648,8 +9806,8 @@ components:

field.

Always included in service level objective responses for monitor service
level
Always included in service level objective responses for monitor-based
service level

objectives (but may be empty). Ignored in create/update requests. Does
not
Expand Down Expand Up @@ -9702,7 +9860,7 @@ components:
- thresholds
- type
ServiceLevelObjectiveQuery:
description: 'A metric SLI query. **Required if type is `metric`**. Note that
description: 'A metric-based SLO. **Required if type is `metric`**. Note that
Datadog only allows the sum by aggregator

to be used because this will sum up all request counts instead of averaging
Expand Down Expand Up @@ -9738,7 +9896,7 @@ components:
nullable: true
type: string
groups:
description: 'A list of (up to 20) monitor groups that narrow the scope
description: 'A list of (up to 100) monitor groups that narrow the scope
of a monitor service level objective.


Expand All @@ -9757,7 +9915,7 @@ components:
type: string
type: array
monitor_ids:
description: 'A list of monitor ids that defines the scope of a monitor
description: 'A list of monitor IDs that defines the scope of a monitor
service level

objective. **Required if type is `monitor`**.'
Expand Down Expand Up @@ -24231,6 +24389,94 @@ paths:
x-menu-order: 4
x-undo:
type: idempotent
/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'
servers:
- url: https://{subdomain}.{site}
variables:
site:
default: datadoghq.com
description: The regional site for Datadog customers.
enum:
- datadoghq.com
- us3.datadoghq.com
- us5.datadoghq.com
- ddog-gov.com
subdomain:
default: api
description: The subdomain where the API is deployed.
- url: '{protocol}://{name}'
variables:
name:
default: api.datadoghq.com
description: Full site DNS name.
protocol:
default: https
description: The protocol for accessing the API.
- url: https://{subdomain}.{site}
variables:
site:
default: datadoghq.com
description: Any Datadog deployment.
subdomain:
default: api
description: The subdomain where the API is deployed.
summary: Search for SLOs
tags:
- Service Level Objectives
x-menu-order: 1
x-undo:
type: safe
x-unstable: '**Note**: Note: This endpoint is in public beta for US regions.

It is not currently supported in the EU region.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v1/slo/{slo_id}:
delete:
description: 'Permanently delete the specified service level objective object.
Expand Down
Loading

0 comments on commit e16b303

Please sign in to comment.