Class AppBuilderApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getApp.static classManage optional parameters to listApps.static classManage optional parameters to listAppVersions.static classManage optional parameters to listBlueprints. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateApp(CreateAppRequest body) Create App.Create App.Create a new app, returning the app ID.Create App.createPublishRequest(UUID appId, CreatePublishRequestRequest body) Create Publish Request.createPublishRequestAsync(UUID appId, CreatePublishRequestRequest body) Create Publish Request.Create a publish request to ask for approval to publish an app whose protection level isapproval_required.Create Publish Request.Delete App.deleteAppAsync(UUID appId) Delete App.deleteApps(DeleteAppsRequest body) Delete Multiple Apps.Delete Multiple Apps.Delete multiple apps in a single request from a list of app IDs.Delete Multiple Apps.deleteAppWithHttpInfo(UUID appId) Delete a single app.deleteAppWithHttpInfoAsync(UUID appId) Delete App.Get the API client.Get App.getApp(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) Get App.getAppAsync(UUID appId) Get App.getAppAsync(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) Get App.getAppWithHttpInfo(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) Get the full definition of an app.getAppWithHttpInfoAsync(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) Get App.getBlueprint(UUID blueprintId) Get Blueprint.getBlueprintAsync(UUID blueprintId) Get Blueprint.getBlueprintsByIntegrationId(String integrationId) Get Blueprints by Integration ID.getBlueprintsByIntegrationIdAsync(String integrationId) Get Blueprints by Integration ID.getBlueprintsByIntegrationIdWithHttpInfo(String integrationId) List app blueprints associated with a specific integration ID.getBlueprintsByIntegrationIdWithHttpInfoAsync(String integrationId) Get Blueprints by Integration ID.getBlueprintsBySlugs(String slugs) Get Blueprints by Slugs.getBlueprintsBySlugsAsync(String slugs) Get Blueprints by Slugs.Retrieve app blueprints by their slugs.Get Blueprints by Slugs.getBlueprintWithHttpInfo(UUID blueprintId) Retrieve an app blueprint by its ID.getBlueprintWithHttpInfoAsync(UUID blueprintId) Get Blueprint.listApps()List Apps.listApps(AppBuilderApi.ListAppsOptionalParameters parameters) List Apps.List Apps.List Apps.List all apps, with optional filters and sorting.List Apps.listAppVersions(UUID appId) List App Versions.listAppVersions(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) List App Versions.listAppVersionsAsync(UUID appId) List App Versions.listAppVersionsAsync(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) List App Versions.listAppVersionsWithHttpInfo(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) List the versions of an app.listAppVersionsWithHttpInfoAsync(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) List App Versions.List Blueprints.List Blueprints.List Blueprints.List Blueprints.List available app blueprints.List Blueprints.listTags()List Tags.List Tags.List all tags associated with the authenticated user's apps.List Tags.publishApp(UUID appId) Publish App.publishAppAsync(UUID appId) Publish App.publishAppWithHttpInfo(UUID appId) Publish an app for use by other users.publishAppWithHttpInfoAsync(UUID appId) Publish App.Revert App.revertAppAsync(UUID appId, String version) Revert App.revertAppWithHttpInfo(UUID appId, String version) Revert an app to a previous version.revertAppWithHttpInfoAsync(UUID appId, String version) Revert App.voidsetApiClient(ApiClient apiClient) Set the API client.unpublishApp(UUID appId) Unpublish App.unpublishAppAsync(UUID appId) Unpublish App.unpublishAppWithHttpInfo(UUID appId) Unpublish an app, removing the live version of the app.Unpublish App.updateApp(UUID appId, UpdateAppRequest body) Update App.updateAppAsync(UUID appId, UpdateAppRequest body) Update App.voidupdateAppFavorite(UUID appId, UpdateAppFavoriteRequest body) Update App Favorite Status.updateAppFavoriteAsync(UUID appId, UpdateAppFavoriteRequest body) Update App Favorite Status.updateAppFavoriteWithHttpInfo(UUID appId, UpdateAppFavoriteRequest body) Add or remove an app from the current user's favorites.Update App Favorite Status.voidupdateAppSelfService(UUID appId, UpdateAppSelfServiceRequest body) Update App Self-Service Status.updateAppSelfServiceAsync(UUID appId, UpdateAppSelfServiceRequest body) Update App Self-Service Status.Enable or disable self-service for an app.Update App Self-Service Status.voidupdateAppTags(UUID appId, UpdateAppTagsRequest body) Update App Tags.updateAppTagsAsync(UUID appId, UpdateAppTagsRequest body) Update App Tags.updateAppTagsWithHttpInfo(UUID appId, UpdateAppTagsRequest body) Replace the tags on an app.updateAppTagsWithHttpInfoAsync(UUID appId, UpdateAppTagsRequest body) Update App Tags.voidupdateAppVersionName(UUID appId, String version, UpdateAppVersionNameRequest body) Name App Version.updateAppVersionNameAsync(UUID appId, String version, UpdateAppVersionNameRequest body) Name App Version.updateAppVersionNameWithHttpInfo(UUID appId, String version, UpdateAppVersionNameRequest body) Assign a human-readable name to a specific version of an app.updateAppVersionNameWithHttpInfoAsync(UUID appId, String version, UpdateAppVersionNameRequest body) Name App Version.updateAppWithHttpInfo(UUID appId, UpdateAppRequest body) Update an existing app.updateAppWithHttpInfoAsync(UUID appId, UpdateAppRequest body) Update App.updateProtectionLevel(UUID appId, UpdateAppProtectionLevelRequest body) Update App Protection Level.Update App Protection Level.Update the publication protection level of an app.Update App Protection Level.
-
Constructor Details
-
AppBuilderApi
public AppBuilderApi() -
AppBuilderApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createApp
- Parameters:
body- (required)- Returns:
- CreateAppResponse
- Throws:
ApiException- if fails to make API call
-
createAppAsync
- Parameters:
body- (required)- Returns:
- CompletableFuture<CreateAppResponse>
-
createAppWithHttpInfo
public ApiResponse<CreateAppResponse> createAppWithHttpInfo(CreateAppRequest body) throws ApiException Create a new app, returning the app ID. This API requires a registered application key. Alternatively, you can configure these permissions in the UI.- Parameters:
body- (required)- Returns:
- ApiResponse<CreateAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
createAppWithHttpInfoAsync
public CompletableFuture<ApiResponse<CreateAppResponse>> createAppWithHttpInfoAsync(CreateAppRequest body) - Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<CreateAppResponse>>
-
createPublishRequest
public PublishAppResponse createPublishRequest(UUID appId, CreatePublishRequestRequest body) throws ApiException Create Publish Request.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- PublishAppResponse
- Throws:
ApiException- if fails to make API call
-
createPublishRequestAsync
public CompletableFuture<PublishAppResponse> createPublishRequestAsync(UUID appId, CreatePublishRequestRequest body) Create Publish Request.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture<PublishAppResponse>
-
createPublishRequestWithHttpInfo
public ApiResponse<PublishAppResponse> createPublishRequestWithHttpInfo(UUID appId, CreatePublishRequestRequest body) throws ApiException Create a publish request to ask for approval to publish an app whose protection level isapproval_required. Publishing happens automatically once the request is approved by a user with the appropriate permissions.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- ApiResponse<PublishAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createPublishRequestWithHttpInfoAsync
public CompletableFuture<ApiResponse<PublishAppResponse>> createPublishRequestWithHttpInfoAsync(UUID appId, CreatePublishRequestRequest body) Create Publish Request.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<PublishAppResponse>>
-
deleteApp
Delete App.- Parameters:
appId- The ID of the app to delete. (required)- Returns:
- DeleteAppResponse
- Throws:
ApiException- if fails to make API call
-
deleteAppAsync
Delete App.- Parameters:
appId- The ID of the app to delete. (required)- Returns:
- CompletableFuture<DeleteAppResponse>
-
deleteAppWithHttpInfo
Delete a single app. This API requires a registered application key. Alternatively, you can configure these permissions in the UI.- Parameters:
appId- The ID of the app to delete. (required)- Returns:
- ApiResponse<DeleteAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 410 Gone - 429 Too many requests -
-
deleteAppWithHttpInfoAsync
Delete App.- Parameters:
appId- The ID of the app to delete. (required)- Returns:
- CompletableFuture<ApiResponse<DeleteAppResponse>>
-
deleteApps
Delete Multiple Apps.See
deleteAppsWithHttpInfo(com.datadog.api.client.v2.model.DeleteAppsRequest).- Parameters:
body- (required)- Returns:
- DeleteAppsResponse
- Throws:
ApiException- if fails to make API call
-
deleteAppsAsync
Delete Multiple Apps.See
deleteAppsWithHttpInfoAsync(com.datadog.api.client.v2.model.DeleteAppsRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<DeleteAppsResponse>
-
deleteAppsWithHttpInfo
public ApiResponse<DeleteAppsResponse> deleteAppsWithHttpInfo(DeleteAppsRequest body) throws ApiException Delete multiple apps in a single request from a list of app IDs. This API requires a registered application key. Alternatively, you can configure these permissions in the UI.- Parameters:
body- (required)- Returns:
- ApiResponse<DeleteAppsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteAppsWithHttpInfoAsync
public CompletableFuture<ApiResponse<DeleteAppsResponse>> deleteAppsWithHttpInfoAsync(DeleteAppsRequest body) Delete Multiple Apps.See
deleteAppsWithHttpInfo(com.datadog.api.client.v2.model.DeleteAppsRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<DeleteAppsResponse>>
-
getApp
Get App.- Parameters:
appId- The ID of the app to retrieve. (required)- Returns:
- GetAppResponse
- Throws:
ApiException- if fails to make API call
-
getAppAsync
Get App.- Parameters:
appId- The ID of the app to retrieve. (required)- Returns:
- CompletableFuture<GetAppResponse>
-
getApp
public GetAppResponse getApp(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) throws ApiException Get App.- Parameters:
appId- The ID of the app to retrieve. (required)parameters- Optional parameters for the request.- Returns:
- GetAppResponse
- Throws:
ApiException- if fails to make API call
-
getAppAsync
public CompletableFuture<GetAppResponse> getAppAsync(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) Get App.- Parameters:
appId- The ID of the app to retrieve. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<GetAppResponse>
-
getAppWithHttpInfo
public ApiResponse<GetAppResponse> getAppWithHttpInfo(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) throws ApiException Get the full definition of an app. This API requires a registered application key. Alternatively, you can configure these permissions in the UI.- Parameters:
appId- The ID of the app to retrieve. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<GetAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 410 Gone - 429 Too many requests -
-
getAppWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetAppResponse>> getAppWithHttpInfoAsync(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) Get App.- Parameters:
appId- The ID of the app to retrieve. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<GetAppResponse>>
-
getBlueprint
Get Blueprint.- Parameters:
blueprintId- The ID of the blueprint to retrieve. (required)- Returns:
- GetBlueprintResponse
- Throws:
ApiException- if fails to make API call
-
getBlueprintAsync
Get Blueprint.- Parameters:
blueprintId- The ID of the blueprint to retrieve. (required)- Returns:
- CompletableFuture<GetBlueprintResponse>
-
getBlueprintWithHttpInfo
public ApiResponse<GetBlueprintResponse> getBlueprintWithHttpInfo(UUID blueprintId) throws ApiException Retrieve an app blueprint by its ID.- Parameters:
blueprintId- The ID of the blueprint to retrieve. (required)- Returns:
- ApiResponse<GetBlueprintResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getBlueprintWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetBlueprintResponse>> getBlueprintWithHttpInfoAsync(UUID blueprintId) Get Blueprint.- Parameters:
blueprintId- The ID of the blueprint to retrieve. (required)- Returns:
- CompletableFuture<ApiResponse<GetBlueprintResponse>>
-
getBlueprintsByIntegrationId
Get Blueprints by Integration ID.See
getBlueprintsByIntegrationIdWithHttpInfo(java.lang.String).- Parameters:
integrationId- The integration ID to filter blueprints by. (required)- Returns:
- GetBlueprintsResponse
- Throws:
ApiException- if fails to make API call
-
getBlueprintsByIntegrationIdAsync
public CompletableFuture<GetBlueprintsResponse> getBlueprintsByIntegrationIdAsync(String integrationId) Get Blueprints by Integration ID.See
getBlueprintsByIntegrationIdWithHttpInfoAsync(java.lang.String).- Parameters:
integrationId- The integration ID to filter blueprints by. (required)- Returns:
- CompletableFuture<GetBlueprintsResponse>
-
getBlueprintsByIntegrationIdWithHttpInfo
public ApiResponse<GetBlueprintsResponse> getBlueprintsByIntegrationIdWithHttpInfo(String integrationId) throws ApiException List app blueprints associated with a specific integration ID.- Parameters:
integrationId- The integration ID to filter blueprints by. (required)- Returns:
- ApiResponse<GetBlueprintsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
getBlueprintsByIntegrationIdWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetBlueprintsResponse>> getBlueprintsByIntegrationIdWithHttpInfoAsync(String integrationId) Get Blueprints by Integration ID.See
getBlueprintsByIntegrationIdWithHttpInfo(java.lang.String).- Parameters:
integrationId- The integration ID to filter blueprints by. (required)- Returns:
- CompletableFuture<ApiResponse<GetBlueprintsResponse>>
-
getBlueprintsBySlugs
Get Blueprints by Slugs.- Parameters:
slugs- A comma-separated list of blueprint slugs. (required)- Returns:
- GetBlueprintsResponse
- Throws:
ApiException- if fails to make API call
-
getBlueprintsBySlugsAsync
Get Blueprints by Slugs.See
getBlueprintsBySlugsWithHttpInfoAsync(java.lang.String).- Parameters:
slugs- A comma-separated list of blueprint slugs. (required)- Returns:
- CompletableFuture<GetBlueprintsResponse>
-
getBlueprintsBySlugsWithHttpInfo
public ApiResponse<GetBlueprintsResponse> getBlueprintsBySlugsWithHttpInfo(String slugs) throws ApiException Retrieve app blueprints by their slugs.- Parameters:
slugs- A comma-separated list of blueprint slugs. (required)- Returns:
- ApiResponse<GetBlueprintsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
getBlueprintsBySlugsWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetBlueprintsResponse>> getBlueprintsBySlugsWithHttpInfoAsync(String slugs) Get Blueprints by Slugs.- Parameters:
slugs- A comma-separated list of blueprint slugs. (required)- Returns:
- CompletableFuture<ApiResponse<GetBlueprintsResponse>>
-
listApps
List Apps.See
listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).- Returns:
- ListAppsResponse
- Throws:
ApiException- if fails to make API call
-
listAppsAsync
List Apps.See
listAppsWithHttpInfoAsync(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).- Returns:
- CompletableFuture<ListAppsResponse>
-
listApps
public ListAppsResponse listApps(AppBuilderApi.ListAppsOptionalParameters parameters) throws ApiException List Apps.See
listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- ListAppsResponse
- Throws:
ApiException- if fails to make API call
-
listAppsAsync
public CompletableFuture<ListAppsResponse> listAppsAsync(AppBuilderApi.ListAppsOptionalParameters parameters) List Apps.See
listAppsWithHttpInfoAsync(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ListAppsResponse>
-
listAppsWithHttpInfo
public ApiResponse<ListAppsResponse> listAppsWithHttpInfo(AppBuilderApi.ListAppsOptionalParameters parameters) throws ApiException List all apps, with optional filters and sorting. This endpoint 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. Alternatively, you can configure these permissions in the UI.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<ListAppsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
listAppsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListAppsResponse>> listAppsWithHttpInfoAsync(AppBuilderApi.ListAppsOptionalParameters parameters) List Apps.See
listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ListAppsResponse>>
-
listAppVersions
List App Versions.- Parameters:
appId- The ID of the app. (required)- Returns:
- ListAppVersionsResponse
- Throws:
ApiException- if fails to make API call
-
listAppVersionsAsync
List App Versions.- Parameters:
appId- The ID of the app. (required)- Returns:
- CompletableFuture<ListAppVersionsResponse>
-
listAppVersions
public ListAppVersionsResponse listAppVersions(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) throws ApiException List App Versions.- Parameters:
appId- The ID of the app. (required)parameters- Optional parameters for the request.- Returns:
- ListAppVersionsResponse
- Throws:
ApiException- if fails to make API call
-
listAppVersionsAsync
public CompletableFuture<ListAppVersionsResponse> listAppVersionsAsync(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) List App Versions.- Parameters:
appId- The ID of the app. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ListAppVersionsResponse>
-
listAppVersionsWithHttpInfo
public ApiResponse<ListAppVersionsResponse> listAppVersionsWithHttpInfo(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) throws ApiException List the versions of an app. This endpoint is paginated.- Parameters:
appId- The ID of the app. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<ListAppVersionsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
listAppVersionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListAppVersionsResponse>> listAppVersionsWithHttpInfoAsync(UUID appId, AppBuilderApi.ListAppVersionsOptionalParameters parameters) List App Versions.- Parameters:
appId- The ID of the app. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ListAppVersionsResponse>>
-
listBlueprints
List Blueprints.- Returns:
- ListBlueprintsResponse
- Throws:
ApiException- if fails to make API call
-
listBlueprintsAsync
List Blueprints.- Returns:
- CompletableFuture<ListBlueprintsResponse>
-
listBlueprints
public ListBlueprintsResponse listBlueprints(AppBuilderApi.ListBlueprintsOptionalParameters parameters) throws ApiException List Blueprints.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ListBlueprintsResponse
- Throws:
ApiException- if fails to make API call
-
listBlueprintsAsync
public CompletableFuture<ListBlueprintsResponse> listBlueprintsAsync(AppBuilderApi.ListBlueprintsOptionalParameters parameters) List Blueprints.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ListBlueprintsResponse>
-
listBlueprintsWithHttpInfo
public ApiResponse<ListBlueprintsResponse> listBlueprintsWithHttpInfo(AppBuilderApi.ListBlueprintsOptionalParameters parameters) throws ApiException List available app blueprints.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<ListBlueprintsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
listBlueprintsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListBlueprintsResponse>> listBlueprintsWithHttpInfoAsync(AppBuilderApi.ListBlueprintsOptionalParameters parameters) List Blueprints.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ListBlueprintsResponse>>
-
listTags
List Tags.- Returns:
- AppBuilderListTagsResponse
- Throws:
ApiException- if fails to make API call
-
listTagsAsync
List Tags.- Returns:
- CompletableFuture<AppBuilderListTagsResponse>
-
listTagsWithHttpInfo
List all tags associated with the authenticated user's apps.- Returns:
- ApiResponse<AppBuilderListTagsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
listTagsWithHttpInfoAsync
List Tags.- Returns:
- CompletableFuture<ApiResponse<AppBuilderListTagsResponse>>
-
publishApp
Publish App.- Parameters:
appId- The ID of the app to publish. (required)- Returns:
- PublishAppResponse
- Throws:
ApiException- if fails to make API call
-
publishAppAsync
Publish App.- Parameters:
appId- The ID of the app to publish. (required)- Returns:
- CompletableFuture<PublishAppResponse>
-
publishAppWithHttpInfo
Publish an app for use by other users. To ensure the app is accessible to the correct users, you also need to set a Restriction Policy on the app if a policy does not yet exist. This API requires a registered application key. Alternatively, you can configure these permissions in the UI.- Parameters:
appId- The ID of the app to publish. (required)- Returns:
- ApiResponse<PublishAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
publishAppWithHttpInfoAsync
Publish App.- Parameters:
appId- The ID of the app to publish. (required)- Returns:
- CompletableFuture<ApiResponse<PublishAppResponse>>
-
revertApp
Revert App.See
revertAppWithHttpInfo(java.util.UUID, java.lang.String).- Parameters:
appId- The ID of the app. (required)version- The version number of the app to revert to. Cannot belatest. The special valuedeployedcan be used to revert to the currently published version. (required)- Returns:
- UpdateAppResponse
- Throws:
ApiException- if fails to make API call
-
revertAppAsync
Revert App.See
revertAppWithHttpInfoAsync(java.util.UUID, java.lang.String).- Parameters:
appId- The ID of the app. (required)version- The version number of the app to revert to. Cannot belatest. The special valuedeployedcan be used to revert to the currently published version. (required)- Returns:
- CompletableFuture<UpdateAppResponse>
-
revertAppWithHttpInfo
public ApiResponse<UpdateAppResponse> revertAppWithHttpInfo(UUID appId, String version) throws ApiException Revert an app to a previous version. The version to revert to is selected through theversionquery parameter. The reverted version becomes the new latest version of the app.- Parameters:
appId- The ID of the app. (required)version- The version number of the app to revert to. Cannot belatest. The special valuedeployedcan be used to revert to the currently published version. (required)- Returns:
- ApiResponse<UpdateAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
revertAppWithHttpInfoAsync
public CompletableFuture<ApiResponse<UpdateAppResponse>> revertAppWithHttpInfoAsync(UUID appId, String version) Revert App.See
revertAppWithHttpInfo(java.util.UUID, java.lang.String).- Parameters:
appId- The ID of the app. (required)version- The version number of the app to revert to. Cannot belatest. The special valuedeployedcan be used to revert to the currently published version. (required)- Returns:
- CompletableFuture<ApiResponse<UpdateAppResponse>>
-
unpublishApp
Unpublish App.- Parameters:
appId- The ID of the app to unpublish. (required)- Returns:
- UnpublishAppResponse
- Throws:
ApiException- if fails to make API call
-
unpublishAppAsync
Unpublish App.- Parameters:
appId- The ID of the app to unpublish. (required)- Returns:
- CompletableFuture<UnpublishAppResponse>
-
unpublishAppWithHttpInfo
Unpublish an app, removing the live version of the app. Unpublishing creates a new instance of adeploymentobject on the app, with a nilapp_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.- Parameters:
appId- The ID of the app to unpublish. (required)- Returns:
- ApiResponse<UnpublishAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
unpublishAppWithHttpInfoAsync
public CompletableFuture<ApiResponse<UnpublishAppResponse>> unpublishAppWithHttpInfoAsync(UUID appId) Unpublish App.- Parameters:
appId- The ID of the app to unpublish. (required)- Returns:
- CompletableFuture<ApiResponse<UnpublishAppResponse>>
-
updateApp
Update App.See
updateAppWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).- Parameters:
appId- The ID of the app to update. (required)body- (required)- Returns:
- UpdateAppResponse
- Throws:
ApiException- if fails to make API call
-
updateAppAsync
Update App.See
updateAppWithHttpInfoAsync(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).- Parameters:
appId- The ID of the app to update. (required)body- (required)- Returns:
- CompletableFuture<UpdateAppResponse>
-
updateAppWithHttpInfo
public ApiResponse<UpdateAppResponse> updateAppWithHttpInfo(UUID appId, UpdateAppRequest body) throws ApiException Update an existing app. This creates a new version of the app. This API requires a registered application key. Alternatively, you can configure these permissions in the UI.- Parameters:
appId- The ID of the app to update. (required)body- (required)- Returns:
- ApiResponse<UpdateAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
updateAppWithHttpInfoAsync
public CompletableFuture<ApiResponse<UpdateAppResponse>> updateAppWithHttpInfoAsync(UUID appId, UpdateAppRequest body) Update App.See
updateAppWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).- Parameters:
appId- The ID of the app to update. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<UpdateAppResponse>>
-
updateAppFavorite
Update App Favorite Status.- Parameters:
appId- The ID of the app. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
updateAppFavoriteAsync
Update App Favorite Status.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture
-
updateAppFavoriteWithHttpInfo
public ApiResponse<Void> updateAppFavoriteWithHttpInfo(UUID appId, UpdateAppFavoriteRequest body) throws ApiException Add or remove an app from the current user's favorites. Favorited apps can be filtered for using thefilter[favorite]query parameter on the List Apps endpoint.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateAppFavoriteWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> updateAppFavoriteWithHttpInfoAsync(UUID appId, UpdateAppFavoriteRequest body) Update App Favorite Status.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateAppSelfService
Update App Self-Service Status.- Parameters:
appId- The ID of the app. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
updateAppSelfServiceAsync
public CompletableFuture<Void> updateAppSelfServiceAsync(UUID appId, UpdateAppSelfServiceRequest body) Update App Self-Service Status.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture
-
updateAppSelfServiceWithHttpInfo
public ApiResponse<Void> updateAppSelfServiceWithHttpInfo(UUID appId, UpdateAppSelfServiceRequest body) throws ApiException Enable or disable self-service for an app. Self-service apps can be discovered and run by users in your organization without explicit access being granted.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateAppSelfServiceWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> updateAppSelfServiceWithHttpInfoAsync(UUID appId, UpdateAppSelfServiceRequest body) Update App Self-Service Status.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateAppTags
Update App Tags.See
updateAppTagsWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppTagsRequest).- Parameters:
appId- The ID of the app. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
updateAppTagsAsync
Update App Tags.See
updateAppTagsWithHttpInfoAsync(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppTagsRequest).- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture
-
updateAppTagsWithHttpInfo
public ApiResponse<Void> updateAppTagsWithHttpInfo(UUID appId, UpdateAppTagsRequest body) throws ApiException Replace the tags on an app. The provided list overwrites the existing tags entirely; tags not present in the request body are removed.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateAppTagsWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> updateAppTagsWithHttpInfoAsync(UUID appId, UpdateAppTagsRequest body) Update App Tags.See
updateAppTagsWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppTagsRequest).- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateAppVersionName
public void updateAppVersionName(UUID appId, String version, UpdateAppVersionNameRequest body) throws ApiException Name App Version.- Parameters:
appId- The ID of the app. (required)version- The version number of the app to name. The special valueslatestanddeployedcan also be used to target the latest or currently published version. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
updateAppVersionNameAsync
public CompletableFuture<Void> updateAppVersionNameAsync(UUID appId, String version, UpdateAppVersionNameRequest body) Name App Version.- Parameters:
appId- The ID of the app. (required)version- The version number of the app to name. The special valueslatestanddeployedcan also be used to target the latest or currently published version. (required)body- (required)- Returns:
- CompletableFuture
-
updateAppVersionNameWithHttpInfo
public ApiResponse<Void> updateAppVersionNameWithHttpInfo(UUID appId, String version, UpdateAppVersionNameRequest body) throws ApiException Assign a human-readable name to a specific version of an app. The version is selected through theversionquery parameter.- Parameters:
appId- The ID of the app. (required)version- The version number of the app to name. The special valueslatestanddeployedcan also be used to target the latest or currently published version. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateAppVersionNameWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> updateAppVersionNameWithHttpInfoAsync(UUID appId, String version, UpdateAppVersionNameRequest body) Name App Version.- Parameters:
appId- The ID of the app. (required)version- The version number of the app to name. The special valueslatestanddeployedcan also be used to target the latest or currently published version. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateProtectionLevel
public UpdateAppResponse updateProtectionLevel(UUID appId, UpdateAppProtectionLevelRequest body) throws ApiException Update App Protection Level.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- UpdateAppResponse
- Throws:
ApiException- if fails to make API call
-
updateProtectionLevelAsync
public CompletableFuture<UpdateAppResponse> updateProtectionLevelAsync(UUID appId, UpdateAppProtectionLevelRequest body) Update App Protection Level.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture<UpdateAppResponse>
-
updateProtectionLevelWithHttpInfo
public ApiResponse<UpdateAppResponse> updateProtectionLevelWithHttpInfo(UUID appId, UpdateAppProtectionLevelRequest body) throws ApiException Update the publication protection level of an app. When set toapproval_required, future publishes must go through an approval workflow before going live.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- ApiResponse<UpdateAppResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateProtectionLevelWithHttpInfoAsync
public CompletableFuture<ApiResponse<UpdateAppResponse>> updateProtectionLevelWithHttpInfoAsync(UUID appId, UpdateAppProtectionLevelRequest body) Update App Protection Level.- Parameters:
appId- The ID of the app. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<UpdateAppResponse>>
-