Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update app builder API #2854

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "2024-12-19 07:26:27.191303",
"spec_repo_commit": "5dd2cbe4"
"regenerated": "2024-12-24 22:26:01.467609",
"spec_repo_commit": "e84e2933"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-19 07:26:27.207255",
"spec_repo_commit": "5dd2cbe4"
"regenerated": "2024-12-24 22:26:01.482745",
"spec_repo_commit": "e84e2933"
}
}
}
134 changes: 66 additions & 68 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1615,34 +1615,6 @@ components:
type: string
x-enum-varnames:
- apm_retention_filter
AppBuilderError:
description: The definition of `AppBuilderError` object.
properties:
errors:
description: The `AppBuilderError` `errors`.
items:
$ref: '#/components/schemas/AppBuilderErrorErrorsItems'
type: array
type: object
AppBuilderErrorErrorsItems:
description: The definition of `AppBuilderErrorErrorsItems` object.
properties:
detail:
description: The `items` `detail`.
type: string
source:
$ref: '#/components/schemas/AppBuilderErrorErrorsItemsSource'
type: object
AppBuilderErrorErrorsItemsSource:
description: The definition of `AppBuilderErrorErrorsItemsSource` object.
properties:
parameter:
description: The `source` `parameter`.
type: string
pointer:
description: The `source` `pointer`.
type: string
type: object
AppBuilderEvent:
additionalProperties: {}
description: The definition of `AppBuilderEvent` object.
Expand Down Expand Up @@ -1735,6 +1707,21 @@ components:
format: int64
type: integer
type: object
AppVersionSelector:
description: The version selector parameter used in endpoints such as Get App
oneOf:
- $ref: '#/components/schemas/AppVersionSelectorConstants'
- format: int64
type: integer
AppVersionSelectorConstants:
description: Constants that always selects a particular version of an app
enum:
- latest
- deployed
type: string
x-enum-varnames:
- LATEST
- DEPLOYED
ApplicationKeyCreateAttributes:
description: Attributes used to create an application Key.
properties:
Expand Down Expand Up @@ -30153,19 +30140,19 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
description: Forbidden, e.g. missing permissions to delete one or more apps
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
Expand Down Expand Up @@ -30196,19 +30183,19 @@ paths:
schema:
format: int64
type: integer
- description: The `AppsFilter` `user_name`.
- description: Filter apps by the app creator. Usually the user's email
in: query
name: filter[user_name]
required: false
schema:
type: string
- description: The `AppsFilter` `user_uuid`.
- description: Filter apps by the app creator's UUID
in: query
name: filter[user_uuid]
required: false
schema:
type: string
- description: The `AppsFilter` `name`.
- description: Filter by app name
in: query
name: filter[name]
required: false
Expand All @@ -30220,25 +30207,32 @@ paths:
required: false
schema:
type: string
- description: The `AppsFilter` `deployed`.
- description: Filter apps by whether they are published
in: query
name: filter[deployed]
required: false
schema:
type: boolean
- description: The `AppsFilter` `tags`.
- description: Filter apps by tags
in: query
name: filter[tags]
required: false
schema:
type: string
- description: The `AppsFilter` `favorite`.
- description: Filter apps by whether you have added them to your favorites
in: query
name: filter[favorite]
required: false
schema:
type: boolean
- explode: false
- description: Filter apps by whether they are enabled for self-service
in: query
name: filter[self_service]
required: false
schema:
type: boolean
- description: The fields and direction to sort apps by
explode: false
in: query
name: sort
required: false
Expand All @@ -30258,13 +30252,13 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
description: Bad Request, e.g. invalid sort parameter
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Forbidden
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
Expand Down Expand Up @@ -30297,15 +30291,14 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
description: Forbidden, e.g. missing required permissions to a connection
or workflow used in the app
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Forbidden
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Create App
Expand Down Expand Up @@ -30340,25 +30333,25 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Not Found
'410':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Gone
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
Expand All @@ -30380,6 +30373,11 @@ paths:
required: true
schema:
type: string
- in: query
name: version
required: false
schema:
$ref: '#/components/schemas/AppVersionSelector'
responses:
'200':
content:
Expand All @@ -30391,19 +30389,19 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
Expand Down Expand Up @@ -30443,15 +30441,14 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
description: Forbidden, e.g. missing required permissions to a connection
or workflow used in the app
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Forbidden
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Update App
Expand Down Expand Up @@ -30486,25 +30483,25 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Disable App
tags:
- App Deployment
- Apps
x-permission:
operator: OR
permissions:
Expand All @@ -30531,25 +30528,25 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/AppBuilderError'
$ref: '#/components/schemas/JSONAPIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
summary: Deploy App
tags:
- App Deployment
- Apps
x-permission:
operator: OR
permissions:
Expand Down Expand Up @@ -46584,9 +46581,10 @@ tags:
externalDocs:
url: https://docs.datadoghq.com/integrations/amazon_web_services/#log-collection
name: AWS Logs Integration
- description: Deploy and disable apps in App Builder.
name: App Deployment
- description: Create, read, update, and delete apps in App Builder.
- description: Datadog App Builder provides a low-code solution to rapidly develop
and integrate secure, customized applications into your monitoring stack that
are built to accelerate remediation at scale. These API endpoints allow you to
create, read, update, delete, and publish apps.
name: Apps
- description: Search your Audit Logs events over HTTP.
name: Audit
Expand Down
4 changes: 2 additions & 2 deletions api/datadog/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ func NewConfiguration() *Configuration {
"v2.CreateApp": false,
"v2.DeleteApp": false,
"v2.DeleteApps": false,
"v2.DeployApp": false,
"v2.DisableApp": false,
"v2.GetApp": false,
"v2.ListApps": false,
"v2.UpdateApp": false,
"v2.DeployApp": false,
"v2.DisableApp": false,
"v2.GetActiveBillingDimensions": false,
"v2.GetBillingDimensionMapping": false,
"v2.GetMonthlyCostAttribution": false,
Expand Down
Loading
Loading