@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RumApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RumApi.DeleteSourcemapsOptionalParameters
Manage optional parameters to deleteSourcemaps.
|
static class |
RumApi.ListRUMEventsOptionalParameters
Manage optional parameters to listRUMEvents.
|
static class |
RumApi.ListSourcemapsOptionalParameters
Manage optional parameters to listSourcemaps.
|
static class |
RumApi.RestoreSourcemapsOptionalParameters
Manage optional parameters to restoreSourcemaps.
|
public RumApi()
public RumApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic RUMAnalyticsAggregateResponse aggregateRUMEvents(RUMAggregateRequest body) throws ApiException
See aggregateRUMEventsWithHttpInfo(com.datadog.api.client.v2.model.RUMAggregateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<RUMAnalyticsAggregateResponse> aggregateRUMEventsAsync(RUMAggregateRequest body)
See aggregateRUMEventsWithHttpInfoAsync(com.datadog.api.client.v2.model.RUMAggregateRequest).
body - (required)public ApiResponse<RUMAnalyticsAggregateResponse> aggregateRUMEventsWithHttpInfo(RUMAggregateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RUMAnalyticsAggregateResponse>> aggregateRUMEventsWithHttpInfoAsync(RUMAggregateRequest body)
See aggregateRUMEventsWithHttpInfo(com.datadog.api.client.v2.model.RUMAggregateRequest).
body - (required)public RUMApplicationResponse createRUMApplication(RUMApplicationCreateRequest body) throws ApiException
See createRUMApplicationWithHttpInfo(com.datadog.api.client.v2.model.RUMApplicationCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<RUMApplicationResponse> createRUMApplicationAsync(RUMApplicationCreateRequest body)
See createRUMApplicationWithHttpInfoAsync(com.datadog.api.client.v2.model.RUMApplicationCreateRequest).
body - (required)public ApiResponse<RUMApplicationResponse> createRUMApplicationWithHttpInfo(RUMApplicationCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RUMApplicationResponse>> createRUMApplicationWithHttpInfoAsync(RUMApplicationCreateRequest body)
See createRUMApplicationWithHttpInfo(com.datadog.api.client.v2.model.RUMApplicationCreateRequest).
body - (required)public void deleteRUMApplication(String id) throws ApiException
id - RUM application ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteRUMApplicationAsync(String id)
See deleteRUMApplicationWithHttpInfoAsync(java.lang.String).
id - RUM application ID. (required)public ApiResponse<Void> deleteRUMApplicationWithHttpInfo(String id) throws ApiException
id - RUM application ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteRUMApplicationWithHttpInfoAsync(String id)
id - RUM application ID. (required)public SourcemapsResponse deleteSourcemaps(SourcemapMapKind mapkind, Boolean dryRun) throws ApiException
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be deleted
without performing the actual deletion. When set to false, performs the
deletion. (required)ApiException - if fails to make API callpublic CompletableFuture<SourcemapsResponse> deleteSourcemapsAsync(SourcemapMapKind mapkind, Boolean dryRun)
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be deleted
without performing the actual deletion. When set to false, performs the
deletion. (required)public SourcemapsResponse deleteSourcemaps(SourcemapMapKind mapkind, Boolean dryRun, RumApi.DeleteSourcemapsOptionalParameters parameters) throws ApiException
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be deleted
without performing the actual deletion. When set to false, performs the
deletion. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SourcemapsResponse> deleteSourcemapsAsync(SourcemapMapKind mapkind, Boolean dryRun, RumApi.DeleteSourcemapsOptionalParameters parameters)
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be deleted
without performing the actual deletion. When set to false, performs the
deletion. (required)parameters - Optional parameters for the request.public ApiResponse<SourcemapsResponse> deleteSourcemapsWithHttpInfo(SourcemapMapKind mapkind, Boolean dryRun, RumApi.DeleteSourcemapsOptionalParameters parameters) throws ApiException
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be deleted
without performing the actual deletion. When set to false, performs the
deletion. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<SourcemapsResponse>> deleteSourcemapsWithHttpInfoAsync(SourcemapMapKind mapkind, Boolean dryRun, RumApi.DeleteSourcemapsOptionalParameters parameters)
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be deleted
without performing the actual deletion. When set to false, performs the
deletion. (required)parameters - Optional parameters for the request.public RUMApplicationResponse getRUMApplication(String id) throws ApiException
id - RUM application ID. (required)ApiException - if fails to make API callpublic CompletableFuture<RUMApplicationResponse> getRUMApplicationAsync(String id)
id - RUM application ID. (required)public ApiResponse<RUMApplicationResponse> getRUMApplicationWithHttpInfo(String id) throws ApiException
id - RUM application ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RUMApplicationResponse>> getRUMApplicationWithHttpInfoAsync(String id)
id - RUM application ID. (required)public RUMApplicationsResponse getRUMApplications() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<RUMApplicationsResponse> getRUMApplicationsAsync()
public ApiResponse<RUMApplicationsResponse> getRUMApplicationsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RUMApplicationsResponse>> getRUMApplicationsWithHttpInfoAsync()
public ServiceRepositoryInfoResponse getServiceRepositoryInfo(ServiceRepositoryInfoRequest body) throws ApiException
See getServiceRepositoryInfoWithHttpInfo(com.datadog.api.client.v2.model.ServiceRepositoryInfoRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<ServiceRepositoryInfoResponse> getServiceRepositoryInfoAsync(ServiceRepositoryInfoRequest body)
body - (required)public ApiResponse<ServiceRepositoryInfoResponse> getServiceRepositoryInfoWithHttpInfo(ServiceRepositoryInfoRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<ServiceRepositoryInfoResponse>> getServiceRepositoryInfoWithHttpInfoAsync(ServiceRepositoryInfoRequest body)
See getServiceRepositoryInfoWithHttpInfo(com.datadog.api.client.v2.model.ServiceRepositoryInfoRequest).
body - (required)public SourcemapFileResponse getSourcemaps(String filename, String service, String version) throws ApiException
See getSourcemapsWithHttpInfo(java.lang.String, java.lang.String, java.lang.String).
filename - The path to the source map file. (required)service - The service name associated with the source map. (required)version - The version of the service associated with the source map. (required)ApiException - if fails to make API callpublic CompletableFuture<SourcemapFileResponse> getSourcemapsAsync(String filename, String service, String version)
See getSourcemapsWithHttpInfoAsync(java.lang.String, java.lang.String, java.lang.String).
filename - The path to the source map file. (required)service - The service name associated with the source map. (required)version - The version of the service associated with the source map. (required)public ApiResponse<SourcemapFileResponse> getSourcemapsWithHttpInfo(String filename, String service, String version) throws ApiException
filename - The path to the source map file. (required)service - The service name associated with the source map. (required)version - The version of the service associated with the source map. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<SourcemapFileResponse>> getSourcemapsWithHttpInfoAsync(String filename, String service, String version)
See getSourcemapsWithHttpInfo(java.lang.String, java.lang.String, java.lang.String).
filename - The path to the source map file. (required)service - The service name associated with the source map. (required)version - The version of the service associated with the source map. (required)public RUMEventsResponse listRUMEvents() throws ApiException
See listRUMEventsWithHttpInfo(com.datadog.api.client.v2.api.RumApi.ListRUMEventsOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<RUMEventsResponse> listRUMEventsAsync()
See listRUMEventsWithHttpInfoAsync(com.datadog.api.client.v2.api.RumApi.ListRUMEventsOptionalParameters).
public RUMEventsResponse listRUMEvents(RumApi.ListRUMEventsOptionalParameters parameters) throws ApiException
See listRUMEventsWithHttpInfo(com.datadog.api.client.v2.api.RumApi.ListRUMEventsOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<RUMEventsResponse> listRUMEventsAsync(RumApi.ListRUMEventsOptionalParameters parameters)
See listRUMEventsWithHttpInfoAsync(com.datadog.api.client.v2.api.RumApi.ListRUMEventsOptionalParameters).
parameters - Optional parameters for the request.public PaginationIterable<RUMEvent> listRUMEventsWithPagination()
See listRUMEventsWithHttpInfo(com.datadog.api.client.v2.api.RumApi.ListRUMEventsOptionalParameters).
public PaginationIterable<RUMEvent> listRUMEventsWithPagination(RumApi.ListRUMEventsOptionalParameters parameters)
See listRUMEventsWithHttpInfo(com.datadog.api.client.v2.api.RumApi.ListRUMEventsOptionalParameters).
public ApiResponse<RUMEventsResponse> listRUMEventsWithHttpInfo(RumApi.ListRUMEventsOptionalParameters parameters) throws ApiException
Use this endpoint to see your latest RUM events.
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RUMEventsResponse>> listRUMEventsWithHttpInfoAsync(RumApi.ListRUMEventsOptionalParameters parameters)
See listRUMEventsWithHttpInfo(com.datadog.api.client.v2.api.RumApi.ListRUMEventsOptionalParameters).
parameters - Optional parameters for the request.public ListSourcemapsResponse listSourcemaps() throws ApiException
See listSourcemapsWithHttpInfo(com.datadog.api.client.v2.api.RumApi.ListSourcemapsOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<ListSourcemapsResponse> listSourcemapsAsync()
public ListSourcemapsResponse listSourcemaps(RumApi.ListSourcemapsOptionalParameters parameters) throws ApiException
See listSourcemapsWithHttpInfo(com.datadog.api.client.v2.api.RumApi.ListSourcemapsOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListSourcemapsResponse> listSourcemapsAsync(RumApi.ListSourcemapsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<ListSourcemapsResponse> listSourcemapsWithHttpInfo(RumApi.ListSourcemapsOptionalParameters 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 | - |
| 413 | Request Entity Too Large | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<ListSourcemapsResponse>> listSourcemapsWithHttpInfoAsync(RumApi.ListSourcemapsOptionalParameters parameters)
See listSourcemapsWithHttpInfo(com.datadog.api.client.v2.api.RumApi.ListSourcemapsOptionalParameters).
parameters - Optional parameters for the request.public SourcemapsResponse restoreSourcemaps(SourcemapMapKind mapkind, Boolean dryRun) throws ApiException
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be restored
without performing the actual restoration. When set to false, performs the
restoration. (required)ApiException - if fails to make API callpublic CompletableFuture<SourcemapsResponse> restoreSourcemapsAsync(SourcemapMapKind mapkind, Boolean dryRun)
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be restored
without performing the actual restoration. When set to false, performs the
restoration. (required)public SourcemapsResponse restoreSourcemaps(SourcemapMapKind mapkind, Boolean dryRun, RumApi.RestoreSourcemapsOptionalParameters parameters) throws ApiException
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be restored
without performing the actual restoration. When set to false, performs the
restoration. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<SourcemapsResponse> restoreSourcemapsAsync(SourcemapMapKind mapkind, Boolean dryRun, RumApi.RestoreSourcemapsOptionalParameters parameters)
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be restored
without performing the actual restoration. When set to false, performs the
restoration. (required)parameters - Optional parameters for the request.public ApiResponse<SourcemapsResponse> restoreSourcemapsWithHttpInfo(SourcemapMapKind mapkind, Boolean dryRun, RumApi.RestoreSourcemapsOptionalParameters parameters) throws ApiException
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be restored
without performing the actual restoration. When set to false, performs the
restoration. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
| 500 | Internal Server Error | - |
public CompletableFuture<ApiResponse<SourcemapsResponse>> restoreSourcemapsWithHttpInfoAsync(SourcemapMapKind mapkind, Boolean dryRun, RumApi.RestoreSourcemapsOptionalParameters parameters)
mapkind - The type of source map. Valid values are js, jvm,
ios, react, flutter, elf, ndk
, il2cpp. (required)dryRun - When set to true, returns the source maps that would be restored
without performing the actual restoration. When set to false, performs the
restoration. (required)parameters - Optional parameters for the request.public RUMEventsResponse searchRUMEvents(RUMSearchEventsRequest body) throws ApiException
See searchRUMEventsWithHttpInfo(com.datadog.api.client.v2.model.RUMSearchEventsRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<RUMEventsResponse> searchRUMEventsAsync(RUMSearchEventsRequest body)
See searchRUMEventsWithHttpInfoAsync(com.datadog.api.client.v2.model.RUMSearchEventsRequest).
body - (required)public PaginationIterable<RUMEvent> searchRUMEventsWithPagination(RUMSearchEventsRequest body)
See searchRUMEventsWithHttpInfo(com.datadog.api.client.v2.model.RUMSearchEventsRequest).
body - (required)public ApiResponse<RUMEventsResponse> searchRUMEventsWithHttpInfo(RUMSearchEventsRequest body) throws ApiException
Use this endpoint to build complex RUM events filtering and search.
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RUMEventsResponse>> searchRUMEventsWithHttpInfoAsync(RUMSearchEventsRequest body)
See searchRUMEventsWithHttpInfo(com.datadog.api.client.v2.model.RUMSearchEventsRequest).
body - (required)public RUMApplicationResponse updateRUMApplication(String id, RUMApplicationUpdateRequest body) throws ApiException
id - RUM application ID. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<RUMApplicationResponse> updateRUMApplicationAsync(String id, RUMApplicationUpdateRequest body)
id - RUM application ID. (required)body - (required)public ApiResponse<RUMApplicationResponse> updateRUMApplicationWithHttpInfo(String id, RUMApplicationUpdateRequest body) throws ApiException
id - RUM application ID. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 422 | Unprocessable Entity. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RUMApplicationResponse>> updateRUMApplicationWithHttpInfoAsync(String id, RUMApplicationUpdateRequest body)
id - RUM application ID. (required)body - (required)Copyright © 2026. All rights reserved.