Skip to content

Commit

Permalink
Regenerate client from commit 897225af of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Sep 19, 2023
1 parent 81c0108 commit 665db3b
Show file tree
Hide file tree
Showing 44 changed files with 2,994 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.5",
"regenerated": "2023-09-19 15:38:26.616719",
"spec_repo_commit": "30c5293b"
"regenerated": "2023-09-19 20:50:07.379588",
"spec_repo_commit": "897225af"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-19 15:38:26.630730",
"spec_repo_commit": "30c5293b"
"regenerated": "2023-09-19 20:50:07.394834",
"spec_repo_commit": "897225af"
}
}
}
309 changes: 309 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5472,6 +5472,24 @@ components:
type: string
x-enum-varnames:
- GCP_SERVICE_ACCOUNT
GetAllPowerpacksResponse:
description: Response object which includes all powerpack configurations.
properties:
data:
description: List of powerpack definitions.
items:
$ref: '#/components/schemas/PowerpackData'
type: array
included:
description: Array of objects related to the users.
items:
$ref: '#/components/schemas/User'
type: array
links:
$ref: '#/components/schemas/PowerpackResponseLinks'
meta:
$ref: '#/components/schemas/TeamsResponseMeta'
type: object
GetFindingResponse:
description: The expected response schema when getting a finding.
properties:
Expand Down Expand Up @@ -10555,6 +10573,116 @@ components:
type: string
x-enum-varnames:
- PERMISSIONS
Powerpack:
description: Powerpacks are templated groups of dashboard widgets you can save
from an existing dashboard and turn into reusable packs in the widget tray.
properties:
data:
$ref: '#/components/schemas/PowerpackData'
type: object
PowerpackAttributes:
description: Powerpack attribute object.
properties:
description:
description: Description of this powerpack.
example: Powerpack for ABC
type: string
group_widget:
additionalProperties: {}
description: Templated group of dashboard widgets for the powerpack.
example:
layout_type: ordered
tags:
- tag:foo1
type: group
widgets:
- definition:
content: example
type: note
type: object
name:
description: Name of the powerpack.
example: Sample Powerpack
type: string
tags:
description: List of tags to identify this powerpack.
example:
- tag:foo1
items:
maxLength: 80
type: string
maxItems: 8
type: array
template_variables:
description: List of template variables for this powerpack.
example:
- defaults:
- '*'
name: test
items:
$ref: '#/components/schemas/PowerpackTemplateVariable'
type: array
required:
- group_widget
- name
type: object
PowerpackData:
description: Powerpack data object.
properties:
attributes:
$ref: '#/components/schemas/PowerpackAttributes'
id:
description: ID of the powerpack.
type: string
relationships:
$ref: '#/components/schemas/PowerpackRelationships'
type:
description: Type of widget, must be powerpack.
example: powerpack
type: string
type: object
PowerpackRelationships:
description: Powerpack relationship object.
properties:
author:
$ref: '#/components/schemas/Creator'
type: object
PowerpackResponse:
description: Response object which includes a single powerpack configuration.
properties:
data:
$ref: '#/components/schemas/PowerpackData'
included:
description: Array of objects related to the users.
items:
$ref: '#/components/schemas/User'
type: array
readOnly: true
type: object
PowerpackResponseLinks:
description: Links attributes.
properties:
next:
description: Link for the next set of results.
example: https://app.datadoghq.com/api/v2/powerpacks?page[offset]=25&page[limit]=25
type: string
type: object
PowerpackTemplateVariable:
description: Powerpack template variables.
properties:
defaults:
description: One or many template variable default values within the saved
view, which are unioned together using `OR` if more than one is specified.
items:
description: One or many default values of the template variable.
minLength: 1
type: string
minItems: 1
type: array
name:
description: The name of the variable.
type: string
type: object
ProcessSummariesMeta:
description: Response metadata object.
properties:
Expand Down Expand Up @@ -22896,6 +23024,171 @@ 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/powerpacks:
get:
description: Get a list of all powerpacks.
operationId: GetAllPowerpacks
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GetAllPowerpacksResponse'
description: OK
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- dashboards_read
summary: Get all powerpacks
tags:
- Powerpack
post:
description: Create a powerpack.
operationId: CreatePowerpack
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Powerpack'
description: Create a powerpack request body.
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PowerpackResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- dashboards_write
summary: Create a new powerpack
tags:
- Powerpack
x-codegen-request-body-name: body
/api/v2/powerpacks/{powerpack_id}:
delete:
description: Delete a powerpack.
operationId: DeletePowerpack
parameters:
- description: Powerpack id
in: path
name: powerpack_id
required: true
schema:
type: string
responses:
'204':
description: OK
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Powerpack Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- dashboards_write
summary: Delete a powerpack
tags:
- Powerpack
get:
description: Get a powerpack.
operationId: GetPowerpack
parameters:
- description: ID of the powerpack.
in: path
name: powerpack_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PowerpackResponse'
description: OK
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Powerpack Not Found.
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- dashboards_read
summary: Get a Powerpack
tags:
- Powerpack
patch:
description: Update a powerpack.
operationId: UpdatePowerpack
parameters:
- description: ID of the powerpack.
in: path
name: powerpack_id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Powerpack'
description: Update a powerpack request body.
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PowerpackResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Powerpack Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- dashboards_write
summary: Update a powerpack
tags:
- Powerpack
x-codegen-request-body-name: body
/api/v2/processes:
get:
description: Get all processes for your organization.
Expand Down Expand Up @@ -27901,6 +28194,22 @@ tags:
description: Find out more at
url: https://docs.datadoghq.com/account_management/multi_organization
name: Organizations
- description: 'The powerpack endpoints allow you to:


- Get a powerpack

- Create a powerpack

- Delete a powerpack

- Get a list of all powerpacks


The Patch and Delete API methods can only be performed on a powerpack by

a user who has the powerpack create permission for that specific powerpack.'
name: Powerpack
- description: The processes API allows you to query processes data for your organization.
name: Processes
- description: Search or aggregate your RUM events over HTTP.
Expand Down
Loading

0 comments on commit 665db3b

Please sign in to comment.