Skip to content
Merged
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
17 changes: 17 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46019,6 +46019,7 @@ paths:
delete:
description: Delete an existing Action Connection. This API requires a [registered
application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: DeleteActionConnection
parameters:
- $ref: '#/components/parameters/ConnectionId'
Expand Down Expand Up @@ -47146,6 +47147,7 @@ paths:
delete:
description: Delete multiple apps in a single request from a list of app IDs.
This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: DeleteApps
requestBody:
content:
Expand Down Expand Up @@ -47192,6 +47194,7 @@ paths:
is paginated. Only basic app information such as the app ID, name, and description
is returned by this endpoint. This API requires a [registered application
key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: ListApps
parameters:
- description: The number of apps to return per page.
Expand Down Expand Up @@ -47299,6 +47302,7 @@ paths:
post:
description: Create a new app, returning the app ID. This API requires a [registered
application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: CreateApp
requestBody:
content:
Expand Down Expand Up @@ -47340,6 +47344,7 @@ paths:
delete:
description: Delete a single app. This API requires a [registered application
key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: DeleteApp
parameters:
- description: The ID of the app to delete.
Expand Down Expand Up @@ -47393,6 +47398,7 @@ paths:
get:
description: Get the full definition of an app. This API requires a [registered
application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: GetApp
parameters:
- description: The ID of the app to retrieve.
Expand Down Expand Up @@ -47456,6 +47462,7 @@ paths:
patch:
description: Update an existing app. This creates a new version of the app.
This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: UpdateApp
parameters:
- description: The ID of the app to update.
Expand Down Expand Up @@ -47509,6 +47516,7 @@ paths:
(`00000000-0000-0000-0000-000000000000`). The app can still be updated and
published again in the future. This API requires a [registered application
key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: UnpublishApp
parameters:
- description: The ID of the app to unpublish.
Expand Down Expand Up @@ -47558,6 +47566,7 @@ paths:
to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/)
on the app if a policy does not yet exist. This API requires a [registered
application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: PublishApp
parameters:
- description: The ID of the app to publish.
Expand Down Expand Up @@ -68652,6 +68661,7 @@ paths:
post:
description: Create a new workflow, returning the workflow ID. This API requires
a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: CreateWorkflow
requestBody:
content:
Expand Down Expand Up @@ -68695,6 +68705,7 @@ paths:
delete:
description: Delete a workflow by ID. This API requires a [registered application
key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: DeleteWorkflow
parameters:
- $ref: '#/components/parameters/WorkflowId'
Expand Down Expand Up @@ -68729,6 +68740,7 @@ paths:
get:
description: Get a workflow by ID. This API requires a [registered application
key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: GetWorkflow
parameters:
- $ref: '#/components/parameters/WorkflowId'
Expand Down Expand Up @@ -68773,6 +68785,7 @@ paths:
patch:
description: Update a workflow by ID. This API requires a [registered application
key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: UpdateWorkflow
parameters:
- $ref: '#/components/parameters/WorkflowId'
Expand Down Expand Up @@ -68824,6 +68837,7 @@ paths:
get:
description: List all instances of a given workflow. This API requires a [registered
application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: ListWorkflowInstances
parameters:
- $ref: '#/components/parameters/WorkflowId'
Expand Down Expand Up @@ -68857,6 +68871,7 @@ paths:
post:
description: Execute the given workflow. This API requires a [registered application
key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: CreateWorkflowInstance
parameters:
- $ref: '#/components/parameters/WorkflowId'
Expand Down Expand Up @@ -68896,6 +68911,7 @@ paths:
get:
description: Get a specific execution of a given workflow. This API requires
a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: GetWorkflowInstance
parameters:
- $ref: '#/components/parameters/WorkflowId'
Expand Down Expand Up @@ -68931,6 +68947,7 @@ paths:
put:
description: Cancels a specific execution of a given workflow. This API requires
a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
operationId: CancelWorkflowInstance
parameters:
- $ref: '#/components/parameters/WorkflowId'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ public CompletableFuture<Void> deleteActionConnectionAsync(String connectionId)
/**
* Delete an existing Action Connection. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param connectionId The ID of the action connection (required)
* @return ApiResponse&lt;Void&gt;
Expand Down
32 changes: 24 additions & 8 deletions src/main/java/com/datadog/api/client/v2/api/AppBuilderApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ public CompletableFuture<CreateAppResponse> createAppAsync(CreateAppRequest body
/**
* Create a new app, returning the app ID. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param body (required)
* @return ApiResponse&lt;CreateAppResponse&gt;
Expand Down Expand Up @@ -219,7 +221,9 @@ public CompletableFuture<DeleteAppResponse> deleteAppAsync(UUID appId) {
/**
* Delete a single app. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param appId The ID of the app to delete. (required)
* @return ApiResponse&lt;DeleteAppResponse&gt;
Expand Down Expand Up @@ -354,7 +358,9 @@ public CompletableFuture<DeleteAppsResponse> deleteAppsAsync(DeleteAppsRequest b
/**
* Delete multiple apps in a single request from a list of app IDs. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param body (required)
* @return ApiResponse&lt;DeleteAppsResponse&gt;
Expand Down Expand Up @@ -538,7 +544,9 @@ public CompletableFuture<GetAppResponse> getAppAsync(
/**
* Get the full definition of an app. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param appId The ID of the app to retrieve. (required)
* @param parameters Optional parameters for the request.
Expand Down Expand Up @@ -851,7 +859,9 @@ public CompletableFuture<ListAppsResponse> listAppsAsync(ListAppsOptionalParamet
* information such as the app ID, name, and description is returned by this endpoint. This API
* requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param parameters Optional parameters for the request.
* @return ApiResponse&lt;ListAppsResponse&gt;
Expand Down Expand Up @@ -1022,7 +1032,9 @@ public CompletableFuture<PublishAppResponse> publishAppAsync(UUID appId) {
* href="https://docs.datadoghq.com/api/latest/restriction-policies/">Restriction Policy</a> on
* the app if a policy does not yet exist. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param appId The ID of the app to publish. (required)
* @return ApiResponse&lt;PublishAppResponse&gt;
Expand Down Expand Up @@ -1160,7 +1172,9 @@ public CompletableFuture<UnpublishAppResponse> unpublishAppAsync(UUID appId) {
* 00000000-0000-0000-0000-000000000000</code>). The app can still be updated and published again
* in the future. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param appId The ID of the app to unpublish. (required)
* @return ApiResponse&lt;UnpublishAppResponse&gt;
Expand Down Expand Up @@ -1300,7 +1314,9 @@ public CompletableFuture<UpdateAppResponse> updateAppAsync(UUID appId, UpdateApp
/**
* Update an existing app. This creates a new version of the app. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param appId The ID of the app to update. (required)
* @param body (required)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ public CompletableFuture<WorklflowCancelInstanceResponse> cancelWorkflowInstance
/**
* Cancels a specific execution of a given workflow. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param workflowId The ID of the workflow. (required)
* @param instanceId The ID of the workflow instance. (required)
Expand Down Expand Up @@ -255,7 +257,9 @@ public CompletableFuture<CreateWorkflowResponse> createWorkflowAsync(CreateWorkf
/**
* Create a new workflow, returning the workflow ID. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param body (required)
* @return ApiResponse&lt;CreateWorkflowResponse&gt;
Expand Down Expand Up @@ -392,7 +396,9 @@ public CompletableFuture<WorkflowInstanceCreateResponse> createWorkflowInstanceA
/**
* Execute the given workflow. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param workflowId The ID of the workflow. (required)
* @param body (required)
Expand Down Expand Up @@ -552,7 +558,9 @@ public CompletableFuture<Void> deleteWorkflowAsync(String workflowId) {
/**
* Delete a workflow by ID. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param workflowId The ID of the workflow. (required)
* @return ApiResponse&lt;Void&gt;
Expand Down Expand Up @@ -689,7 +697,9 @@ public CompletableFuture<GetWorkflowResponse> getWorkflowAsync(String workflowId
/**
* Get a workflow by ID. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param workflowId The ID of the workflow. (required)
* @return ApiResponse&lt;GetWorkflowResponse&gt;
Expand Down Expand Up @@ -833,7 +843,9 @@ public CompletableFuture<WorklflowGetInstanceResponse> getWorkflowInstanceAsync(
/**
* Get a specific execution of a given workflow. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param workflowId The ID of the workflow. (required)
* @param instanceId The ID of the workflow instance. (required)
Expand Down Expand Up @@ -1064,7 +1076,9 @@ public CompletableFuture<WorkflowListInstancesResponse> listWorkflowInstancesAsy
/**
* List all instances of a given workflow. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param workflowId The ID of the workflow. (required)
* @param parameters Optional parameters for the request.
Expand Down Expand Up @@ -1225,7 +1239,9 @@ public CompletableFuture<UpdateWorkflowResponse> updateWorkflowAsync(
/**
* Update a workflow by ID. This API requires a <a
* href="https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key">registered
* application key</a>.
* application key</a>. Alternatively, you can configure these permissions <a
* href="https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access">in the
* UI</a>.
*
* @param workflowId The ID of the workflow. (required)
* @param body (required)
Expand Down