Skip to content

Commit

Permalink
Regenerate client from commit 1f05be0a of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Oct 16, 2023
1 parent 757b789 commit ed931cd
Show file tree
Hide file tree
Showing 30 changed files with 3,073 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.6",
"regenerated": "2023-10-13 14:48:31.209305",
"spec_repo_commit": "9c0d47b3"
"regenerated": "2023-10-16 16:10:15.325916",
"spec_repo_commit": "1f05be0a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-10-13 14:48:31.229549",
"spec_repo_commit": "9c0d47b3"
"regenerated": "2023-10-16 16:10:15.351961",
"spec_repo_commit": "1f05be0a"
}
}
}
244 changes: 244 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3441,6 +3441,101 @@ components:
$ref: '#/components/schemas/ConfluentResourceResponseData'
type: array
type: object
Container:
description: Container object.
properties:
attributes:
$ref: '#/components/schemas/ContainerAttributes'
id:
description: Container ID.
type: string
type:
$ref: '#/components/schemas/ContainerType'
type: object
ContainerAttributes:
description: Attributes for a container.
properties:
container_id:
description: The ID of the container.
type: string
created_at:
description: Time the container was created.
type: string
host:
description: Hostname of the host running the container.
type: string
image_digest:
description: Digest of the compressed image manifest.
type: string
image_name:
description: Name of the associated container image.
type: string
image_tags:
description: List of image tags associated with the container image.
items:
type: string
type: array
name:
description: Name of the container.
type: string
started_at:
description: Time the container was started.
type: string
state:
description: State of the container. This depends on the container runtime.
type: string
tags:
description: List of tags associated with the container.
items:
type: string
type: array
type: object
ContainerGroup:
description: Container group object.
properties:
attributes:
$ref: '#/components/schemas/ContainerGroupAttributes'
id:
description: Container Group ID.
type: string
relationships:
$ref: '#/components/schemas/ContainerGroupRelationships'
type:
$ref: '#/components/schemas/ContainerGroupType'
type: object
ContainerGroupAttributes:
description: Attributes for a container group.
properties:
count:
description: Number of containers in the group.
format: int64
type: integer
tags:
description: Tags from the group name parsed in key/value format.
type: object
type: object
ContainerGroupRelationships:
description: Relationships to containers inside a container group.
properties:
links:
$ref: '#/components/schemas/ContainerGroupRelationshipsLinks'
type: object
ContainerGroupRelationshipsLinks:
description: Links attributes.
properties:
related:
description: Link to related containers.
type: string
type: object
ContainerGroupType:
default: container_group
description: Type of container group.
enum:
- container_group
example: container_group
type: string
x-enum-varnames:
- CONTAINER_GROUP
ContainerImage:
description: Container Image object.
properties:
Expand Down Expand Up @@ -3751,6 +3846,73 @@ components:
description: Link to current page.
type: string
type: object
ContainerItem:
description: Possible Container models.
oneOf:
- $ref: '#/components/schemas/Container'
- $ref: '#/components/schemas/ContainerGroup'
ContainerMeta:
description: Response metadata object.
properties:
pagination:
$ref: '#/components/schemas/ContainerMetaPage'
type: object
ContainerMetaPage:
description: Paging attributes.
properties:
limit:
description: Number of results returned
format: int32
maximum: 10000
minimum: 0
type: integer
next_cursor:
description: The cursor used to get the next results, if any.
type: string
total:
description: Total number of records that match the query.
format: int64
type: integer
type: object
ContainerType:
default: container
description: Type of container.
enum:
- container
example: container
type: string
x-enum-varnames:
- CONTAINER
ContainersResponse:
description: List of containers.
properties:
data:
description: Array of Container objects.
items:
$ref: '#/components/schemas/ContainerItem'
type: array
links:
$ref: '#/components/schemas/ContainersResponseLinks'
meta:
$ref: '#/components/schemas/ContainerMeta'
type: object
ContainersResponseLinks:
description: Pagination links.
properties:
first:
description: Link to the first page.
type: string
next:
description: Link to the next page.
type: string
prev:
description: Link to previous page.
nullable: true
type: string
self:
description: Link to current page.
type: string
type: object
ContentEncoding:
description: HTTP header used to compress the media-type.
enum:
Expand Down Expand Up @@ -19814,6 +19976,86 @@ paths:
x-unstable: '**Note**: This endpoint is in public beta.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/containers:
get:
description: Get all containers for your organization.
operationId: ListContainers
parameters:
- description: Comma-separated list of tags to filter containers by.
example: env:prod,short_image:cassandra
in: query
name: filter[tags]
required: false
schema:
type: string
- description: Comma-separated list of tags to group containers by.
example: datacenter,cluster
in: query
name: group_by
required: false
schema:
type: string
- description: Attribute to sort containers by.
example: started_at
in: query
name: sort
required: false
schema:
type: string
- description: Maximum number of results returned.
in: query
name: page[size]
required: false
schema:
default: 1000
format: int32
maximum: 10000
minimum: 1
type: integer
- description: 'String to query the next page of results.

This key is provided with each valid response from the API in `meta.pagination.next_cursor`.'
in: query
name: page[cursor]
required: false
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ContainersResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Authentication Error
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Get All Containers
tags:
- Containers
x-pagination:
cursorParam: page[cursor]
cursorPath: meta.pagination.next_cursor
limitParam: page[size]
resultsPath: data
x-unstable: '**Note**: This endpoint is in public beta.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/current_user/application_keys:
get:
description: List all application keys available for current user
Expand Down Expand Up @@ -29384,6 +29626,8 @@ tags:
- description: The Container Images API allows you to query Container Image data for
your organization.
name: Container Images
- description: The Containers API allows you to query container data for your organization.
name: Containers
- description: 'Interact with your dashboard lists through the API to

organize, find, and share all of your dashboards with your team and
Expand Down
1 change: 1 addition & 0 deletions api/datadog/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ func NewConfiguration() *Configuration {
},
unstableOperations: map[string]bool{
"v2.ListContainerImages": false,
"v2.ListContainers": false,
"v2.ListEvents": false,
"v2.SearchEvents": false,
"v2.CreateIncident": false,
Expand Down
Loading

0 comments on commit ed931cd

Please sign in to comment.