@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AppBuilderApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AppBuilderApi.GetAppOptionalParameters
Manage optional parameters to getApp.
|
static class |
AppBuilderApi.ListAppsOptionalParameters
Manage optional parameters to listApps.
|
static class |
AppBuilderApi.ListAppVersionsOptionalParameters
Manage optional parameters to listAppVersions.
|
static class |
AppBuilderApi.ListBlueprintsOptionalParameters
Manage optional parameters to listBlueprints.
|
| Constructor and Description |
|---|
AppBuilderApi() |
AppBuilderApi(ApiClient apiClient) |
public AppBuilderApi()
public AppBuilderApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CreateAppResponse createApp(CreateAppRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CreateAppResponse> createAppAsync(CreateAppRequest body)
body - (required)public ApiResponse<CreateAppResponse> createAppWithHttpInfo(CreateAppRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CreateAppResponse>> createAppWithHttpInfoAsync(CreateAppRequest body)
body - (required)public PublishAppResponse createPublishRequest(UUID appId, CreatePublishRequestRequest body) throws ApiException
appId - The ID of the app. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<PublishAppResponse> createPublishRequestAsync(UUID appId, CreatePublishRequestRequest body)
appId - The ID of the app. (required)body - (required)public ApiResponse<PublishAppResponse> createPublishRequestWithHttpInfo(UUID appId, CreatePublishRequestRequest body) throws ApiException
approval_required. Publishing happens automatically once the request is approved by a
user with the appropriate permissions.appId - The ID of the app. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<PublishAppResponse>> createPublishRequestWithHttpInfoAsync(UUID appId, CreatePublishRequestRequest body)
appId - The ID of the app. (required)body - (required)public DeleteAppResponse deleteApp(UUID appId) throws ApiException
appId - The ID of the app to delete. (required)ApiException - if fails to make API callpublic CompletableFuture<DeleteAppResponse> deleteAppAsync(UUID appId)
appId - The ID of the app to delete. (required)public ApiResponse<DeleteAppResponse> deleteAppWithHttpInfo(UUID appId) throws ApiException
appId - The ID of the app to delete. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 410 | Gone | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeleteAppResponse>> deleteAppWithHttpInfoAsync(UUID appId)
appId - The ID of the app to delete. (required)public DeleteAppsResponse deleteApps(DeleteAppsRequest body) throws ApiException
See deleteAppsWithHttpInfo(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DeleteAppsResponse> deleteAppsAsync(DeleteAppsRequest body)
See deleteAppsWithHttpInfoAsync(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)public ApiResponse<DeleteAppsResponse> deleteAppsWithHttpInfo(DeleteAppsRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeleteAppsResponse>> deleteAppsWithHttpInfoAsync(DeleteAppsRequest body)
See deleteAppsWithHttpInfo(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)public GetAppResponse getApp(UUID appId) throws ApiException
appId - The ID of the app to retrieve. (required)ApiException - if fails to make API callpublic CompletableFuture<GetAppResponse> getAppAsync(UUID appId)
appId - The ID of the app to retrieve. (required)public GetAppResponse getApp(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) throws ApiException
appId - The ID of the app to retrieve. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<GetAppResponse> getAppAsync(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters)
appId - The ID of the app to retrieve. (required)parameters - Optional parameters for the request.public ApiResponse<GetAppResponse> getAppWithHttpInfo(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) throws ApiException
appId - The ID of the app to retrieve. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 410 | Gone | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetAppResponse>> getAppWithHttpInfoAsync(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters)
appId - The ID of the app to retrieve. (required)parameters - Optional parameters for the request.public GetBlueprintResponse getBlueprint(UUID blueprintId) throws ApiException
blueprintId - The ID of the blueprint to retrieve. (required)ApiException - if fails to make API callpublic CompletableFuture<GetBlueprintResponse> getBlueprintAsync(UUID blueprintId)
blueprintId - The ID of the blueprint to retrieve. (required)public ApiResponse<GetBlueprintResponse> getBlueprintWithHttpInfo(UUID blueprintId) throws ApiException
blueprintId - The ID of the blueprint to retrieve. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetBlueprintResponse>> getBlueprintWithHttpInfoAsync(UUID blueprintId)
blueprintId - The ID of the blueprint to retrieve. (required)public GetBlueprintsResponse getBlueprintsByIntegrationId(String integrationId) throws ApiException
See getBlueprintsByIntegrationIdWithHttpInfo(java.lang.String).
integrationId - The integration ID to filter blueprints by. (required)ApiException - if fails to make API callpublic CompletableFuture<GetBlueprintsResponse> getBlueprintsByIntegrationIdAsync(String integrationId)
See getBlueprintsByIntegrationIdWithHttpInfoAsync(java.lang.String).
integrationId - The integration ID to filter blueprints by. (required)public ApiResponse<GetBlueprintsResponse> getBlueprintsByIntegrationIdWithHttpInfo(String integrationId) throws ApiException
integrationId - The integration ID to filter blueprints by. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetBlueprintsResponse>> getBlueprintsByIntegrationIdWithHttpInfoAsync(String integrationId)
See getBlueprintsByIntegrationIdWithHttpInfo(java.lang.String).
integrationId - The integration ID to filter blueprints by. (required)public GetBlueprintsResponse getBlueprintsBySlugs(String slugs) throws ApiException
slugs - A comma-separated list of blueprint slugs. (required)ApiException - if fails to make API callpublic CompletableFuture<GetBlueprintsResponse> getBlueprintsBySlugsAsync(String slugs)
See getBlueprintsBySlugsWithHttpInfoAsync(java.lang.String).
slugs - A comma-separated list of blueprint slugs. (required)public ApiResponse<GetBlueprintsResponse> getBlueprintsBySlugsWithHttpInfo(String slugs) throws ApiException
slugs - A comma-separated list of blueprint slugs. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetBlueprintsResponse>> getBlueprintsBySlugsWithHttpInfoAsync(String slugs)
slugs - A comma-separated list of blueprint slugs. (required)public ListAppsResponse listApps() throws ApiException
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<ListAppsResponse> listAppsAsync()
See listAppsWithHttpInfoAsync(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
public ListAppsResponse listApps(AppBuilderApi.ListAppsOptionalParameters parameters) throws ApiException
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListAppsResponse> listAppsAsync(AppBuilderApi.ListAppsOptionalParameters parameters)
See listAppsWithHttpInfoAsync(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.public ApiResponse<ListAppsResponse> listAppsWithHttpInfo(AppBuilderApi.ListAppsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListAppsResponse>> listAppsWithHttpInfoAsync(AppBuilderApi.ListAppsOptionalParameters parameters)
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.public ListAppVersionsResponse listAppVersions(UUID appId) throws ApiException
appId - The ID of the app. (required)ApiException - if fails to make API callpublic CompletableFuture<ListAppVersionsResponse> listAppVersionsAsync(UUID appId)
appId - The ID of the app. (required)public ListAppVersionsResponse listAppVersions(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) throws ApiException
appId - The ID of the app. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListAppVersionsResponse> listAppVersionsAsync(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters)
appId - The ID of the app. (required)parameters - Optional parameters for the request.public ApiResponse<ListAppVersionsResponse> listAppVersionsWithHttpInfo(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) throws ApiException
appId - The ID of the app. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListAppVersionsResponse>> listAppVersionsWithHttpInfoAsync(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters)
appId - The ID of the app. (required)parameters - Optional parameters for the request.public ListBlueprintsResponse listBlueprints() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<ListBlueprintsResponse> listBlueprintsAsync()
public ListBlueprintsResponse listBlueprints(AppBuilderApi.ListBlueprintsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListBlueprintsResponse> listBlueprintsAsync(AppBuilderApi.ListBlueprintsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<ListBlueprintsResponse> listBlueprintsWithHttpInfo(AppBuilderApi.ListBlueprintsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListBlueprintsResponse>> listBlueprintsWithHttpInfoAsync(AppBuilderApi.ListBlueprintsOptionalParameters parameters)
parameters - Optional parameters for the request.public AppBuilderListTagsResponse listTags() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AppBuilderListTagsResponse> listTagsAsync()
public ApiResponse<AppBuilderListTagsResponse> listTagsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AppBuilderListTagsResponse>> listTagsWithHttpInfoAsync()
public PublishAppResponse publishApp(UUID appId) throws ApiException
appId - The ID of the app to publish. (required)ApiException - if fails to make API callpublic CompletableFuture<PublishAppResponse> publishAppAsync(UUID appId)
appId - The ID of the app to publish. (required)public ApiResponse<PublishAppResponse> publishAppWithHttpInfo(UUID appId) throws ApiException
appId - The ID of the app to publish. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<PublishAppResponse>> publishAppWithHttpInfoAsync(UUID appId)
appId - The ID of the app to publish. (required)public UpdateAppResponse revertApp(UUID appId, String version) throws ApiException
See revertAppWithHttpInfo(java.util.UUID, java.lang.String).
appId - The ID of the app. (required)version - The version number of the app to revert to. Cannot be latest. The
special value deployed can be used to revert to the currently published
version. (required)ApiException - if fails to make API callpublic CompletableFuture<UpdateAppResponse> revertAppAsync(UUID appId, String version)
See revertAppWithHttpInfoAsync(java.util.UUID, java.lang.String).
appId - The ID of the app. (required)version - The version number of the app to revert to. Cannot be latest. The
special value deployed can be used to revert to the currently published
version. (required)public ApiResponse<UpdateAppResponse> revertAppWithHttpInfo(UUID appId, String version) throws ApiException
version query parameter. The reverted version becomes the new latest version of the app.appId - The ID of the app. (required)version - The version number of the app to revert to. Cannot be latest. The
special value deployed can be used to revert to the currently published
version. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UpdateAppResponse>> revertAppWithHttpInfoAsync(UUID appId, String version)
See revertAppWithHttpInfo(java.util.UUID, java.lang.String).
appId - The ID of the app. (required)version - The version number of the app to revert to. Cannot be latest. The
special value deployed can be used to revert to the currently published
version. (required)public UnpublishAppResponse unpublishApp(UUID appId) throws ApiException
appId - The ID of the app to unpublish. (required)ApiException - if fails to make API callpublic CompletableFuture<UnpublishAppResponse> unpublishAppAsync(UUID appId)
appId - The ID of the app to unpublish. (required)public ApiResponse<UnpublishAppResponse> unpublishAppWithHttpInfo(UUID appId) throws ApiException
deployment object on the app, with a nil app_version_id (
00000000-0000-0000-0000-000000000000). The app can still be updated and published again
in the future. This API requires a registered
application key. Alternatively, you can configure these permissions in the
UI.appId - The ID of the app to unpublish. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UnpublishAppResponse>> unpublishAppWithHttpInfoAsync(UUID appId)
appId - The ID of the app to unpublish. (required)public UpdateAppResponse updateApp(UUID appId, UpdateAppRequest body) throws ApiException
See updateAppWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - The ID of the app to update. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<UpdateAppResponse> updateAppAsync(UUID appId, UpdateAppRequest body)
See updateAppWithHttpInfoAsync(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - The ID of the app to update. (required)body - (required)public ApiResponse<UpdateAppResponse> updateAppWithHttpInfo(UUID appId, UpdateAppRequest body) throws ApiException
appId - The ID of the app to update. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UpdateAppResponse>> updateAppWithHttpInfoAsync(UUID appId, UpdateAppRequest body)
See updateAppWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - The ID of the app to update. (required)body - (required)public void updateAppFavorite(UUID appId, UpdateAppFavoriteRequest body) throws ApiException
appId - The ID of the app. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> updateAppFavoriteAsync(UUID appId, UpdateAppFavoriteRequest body)
appId - The ID of the app. (required)body - (required)public ApiResponse<Void> updateAppFavoriteWithHttpInfo(UUID appId, UpdateAppFavoriteRequest body) throws ApiException
filter[favorite] query parameter on the List Apps endpoint.appId - The ID of the app. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> updateAppFavoriteWithHttpInfoAsync(UUID appId, UpdateAppFavoriteRequest body)
appId - The ID of the app. (required)body - (required)public void updateAppSelfService(UUID appId, UpdateAppSelfServiceRequest body) throws ApiException
appId - The ID of the app. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> updateAppSelfServiceAsync(UUID appId, UpdateAppSelfServiceRequest body)
appId - The ID of the app. (required)body - (required)public ApiResponse<Void> updateAppSelfServiceWithHttpInfo(UUID appId, UpdateAppSelfServiceRequest body) throws ApiException
appId - The ID of the app. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> updateAppSelfServiceWithHttpInfoAsync(UUID appId, UpdateAppSelfServiceRequest body)
appId - The ID of the app. (required)body - (required)public void updateAppTags(UUID appId, UpdateAppTagsRequest body) throws ApiException
See updateAppTagsWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppTagsRequest).
appId - The ID of the app. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> updateAppTagsAsync(UUID appId, UpdateAppTagsRequest body)
See updateAppTagsWithHttpInfoAsync(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppTagsRequest).
appId - The ID of the app. (required)body - (required)public ApiResponse<Void> updateAppTagsWithHttpInfo(UUID appId, UpdateAppTagsRequest body) throws ApiException
appId - The ID of the app. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> updateAppTagsWithHttpInfoAsync(UUID appId, UpdateAppTagsRequest body)
See updateAppTagsWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppTagsRequest).
appId - The ID of the app. (required)body - (required)public void updateAppVersionName(UUID appId, String version, UpdateAppVersionNameRequest body) throws ApiException
appId - The ID of the app. (required)version - The version number of the app to name. The special values latest
and deployed can also be used to target the latest or currently published
version. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<Void> updateAppVersionNameAsync(UUID appId, String version, UpdateAppVersionNameRequest body)
appId - The ID of the app. (required)version - The version number of the app to name. The special values latest
and deployed can also be used to target the latest or currently published
version. (required)body - (required)public ApiResponse<Void> updateAppVersionNameWithHttpInfo(UUID appId, String version, UpdateAppVersionNameRequest body) throws ApiException
version query parameter.appId - The ID of the app. (required)version - The version number of the app to name. The special values latest
and deployed can also be used to target the latest or currently published
version. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> updateAppVersionNameWithHttpInfoAsync(UUID appId, String version, UpdateAppVersionNameRequest body)
appId - The ID of the app. (required)version - The version number of the app to name. The special values latest
and deployed can also be used to target the latest or currently published
version. (required)body - (required)public UpdateAppResponse updateProtectionLevel(UUID appId, UpdateAppProtectionLevelRequest body) throws ApiException
appId - The ID of the app. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<UpdateAppResponse> updateProtectionLevelAsync(UUID appId, UpdateAppProtectionLevelRequest body)
appId - The ID of the app. (required)body - (required)public ApiResponse<UpdateAppResponse> updateProtectionLevelWithHttpInfo(UUID appId, UpdateAppProtectionLevelRequest body) throws ApiException
approval_required,
future publishes must go through an approval workflow before going live.appId - The ID of the app. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UpdateAppResponse>> updateProtectionLevelWithHttpInfoAsync(UUID appId, UpdateAppProtectionLevelRequest body)
appId - The ID of the app. (required)body - (required)Copyright © 2026. All rights reserved.