Package com.datadog.api.client.v2.api
Class ErrorTrackingApi
java.lang.Object
com.datadog.api.client.v2.api.ErrorTrackingApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ErrorTrackingApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getIssue.static classManage optional parameters to searchIssues. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteIssueAssignee(String issueId) Remove the assignee of an issue.deleteIssueAssigneeAsync(String issueId) Remove the assignee of an issue.deleteIssueAssigneeWithHttpInfo(String issueId) Remove the assignee of an issue byissue_id.Remove the assignee of an issue.Get the API client.Get the details of an error tracking issue.getIssue(String issueId, ErrorTrackingApi.GetIssueOptionalParameters parameters) Get the details of an error tracking issue.getIssueAsync(String issueId) Get the details of an error tracking issue.getIssueAsync(String issueId, ErrorTrackingApi.GetIssueOptionalParameters parameters) Get the details of an error tracking issue.getIssueWithHttpInfo(String issueId, ErrorTrackingApi.GetIssueOptionalParameters parameters) Retrieve the full details for a specific error tracking issue, including attributes and relationships.getIssueWithHttpInfoAsync(String issueId, ErrorTrackingApi.GetIssueOptionalParameters parameters) Get the details of an error tracking issue.Search error tracking issues.searchIssues(IssuesSearchRequest body, ErrorTrackingApi.SearchIssuesOptionalParameters parameters) Search error tracking issues.Search error tracking issues.searchIssuesAsync(IssuesSearchRequest body, ErrorTrackingApi.SearchIssuesOptionalParameters parameters) Search error tracking issues.searchIssuesWithHttpInfo(IssuesSearchRequest body, ErrorTrackingApi.SearchIssuesOptionalParameters parameters) Search issues endpoint allows you to programmatically search for issues within your organization.searchIssuesWithHttpInfoAsync(IssuesSearchRequest body, ErrorTrackingApi.SearchIssuesOptionalParameters parameters) Search error tracking issues.voidsetApiClient(ApiClient apiClient) Set the API client.updateIssueAssignee(String issueId, IssueUpdateAssigneeRequest body) Update the assignee of an issue.updateIssueAssigneeAsync(String issueId, IssueUpdateAssigneeRequest body) Update the assignee of an issue.updateIssueAssigneeWithHttpInfo(String issueId, IssueUpdateAssigneeRequest body) Update the assignee of an issue byissue_id.updateIssueAssigneeWithHttpInfoAsync(String issueId, IssueUpdateAssigneeRequest body) Update the assignee of an issue.updateIssueState(String issueId, IssueUpdateStateRequest body) Update the state of an issue.updateIssueStateAsync(String issueId, IssueUpdateStateRequest body) Update the state of an issue.updateIssueStateWithHttpInfo(String issueId, IssueUpdateStateRequest body) Update the state of an issue byissue_id.updateIssueStateWithHttpInfoAsync(String issueId, IssueUpdateStateRequest body) Update the state of an issue.
-
Constructor Details
-
ErrorTrackingApi
public ErrorTrackingApi() -
ErrorTrackingApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
deleteIssueAssignee
Remove the assignee of an issue.- Parameters:
issueId- The identifier of the issue. (required)- Throws:
ApiException- if fails to make API call
-
deleteIssueAssigneeAsync
Remove the assignee of an issue.- Parameters:
issueId- The identifier of the issue. (required)- Returns:
- CompletableFuture
-
deleteIssueAssigneeWithHttpInfo
Remove the assignee of an issue byissue_id.- Parameters:
issueId- The identifier of the issue. (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 - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteIssueAssigneeWithHttpInfoAsync
Remove the assignee of an issue.- Parameters:
issueId- The identifier of the issue. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getIssue
Get the details of an error tracking issue.- Parameters:
issueId- The identifier of the issue. (required)- Returns:
- IssueResponse
- Throws:
ApiException- if fails to make API call
-
getIssueAsync
Get the details of an error tracking issue.- Parameters:
issueId- The identifier of the issue. (required)- Returns:
- CompletableFuture<IssueResponse>
-
getIssue
public IssueResponse getIssue(String issueId, ErrorTrackingApi.GetIssueOptionalParameters parameters) throws ApiException Get the details of an error tracking issue.- Parameters:
issueId- The identifier of the issue. (required)parameters- Optional parameters for the request.- Returns:
- IssueResponse
- Throws:
ApiException- if fails to make API call
-
getIssueAsync
public CompletableFuture<IssueResponse> getIssueAsync(String issueId, ErrorTrackingApi.GetIssueOptionalParameters parameters) Get the details of an error tracking issue.- Parameters:
issueId- The identifier of the issue. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<IssueResponse>
-
getIssueWithHttpInfo
public ApiResponse<IssueResponse> getIssueWithHttpInfo(String issueId, ErrorTrackingApi.GetIssueOptionalParameters parameters) throws ApiException Retrieve the full details for a specific error tracking issue, including attributes and relationships.- Parameters:
issueId- The identifier of the issue. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<IssueResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getIssueWithHttpInfoAsync
public CompletableFuture<ApiResponse<IssueResponse>> getIssueWithHttpInfoAsync(String issueId, ErrorTrackingApi.GetIssueOptionalParameters parameters) Get the details of an error tracking issue.- Parameters:
issueId- The identifier of the issue. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<IssueResponse>>
-
searchIssues
Search error tracking issues.- Parameters:
body- Search issues request payload. (required)- Returns:
- IssuesSearchResponse
- Throws:
ApiException- if fails to make API call
-
searchIssuesAsync
Search error tracking issues.- Parameters:
body- Search issues request payload. (required)- Returns:
- CompletableFuture<IssuesSearchResponse>
-
searchIssues
public IssuesSearchResponse searchIssues(IssuesSearchRequest body, ErrorTrackingApi.SearchIssuesOptionalParameters parameters) throws ApiException Search error tracking issues.- Parameters:
body- Search issues request payload. (required)parameters- Optional parameters for the request.- Returns:
- IssuesSearchResponse
- Throws:
ApiException- if fails to make API call
-
searchIssuesAsync
public CompletableFuture<IssuesSearchResponse> searchIssuesAsync(IssuesSearchRequest body, ErrorTrackingApi.SearchIssuesOptionalParameters parameters) Search error tracking issues.- Parameters:
body- Search issues request payload. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<IssuesSearchResponse>
-
searchIssuesWithHttpInfo
public ApiResponse<IssuesSearchResponse> searchIssuesWithHttpInfo(IssuesSearchRequest body, ErrorTrackingApi.SearchIssuesOptionalParameters parameters) throws ApiException Search issues endpoint allows you to programmatically search for issues within your organization. This endpoint returns a list of issues that match a given search query, following the event search syntax. The search results are limited to a maximum of 100 issues per request.- Parameters:
body- Search issues request payload. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<IssuesSearchResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 429 Too many requests -
-
searchIssuesWithHttpInfoAsync
public CompletableFuture<ApiResponse<IssuesSearchResponse>> searchIssuesWithHttpInfoAsync(IssuesSearchRequest body, ErrorTrackingApi.SearchIssuesOptionalParameters parameters) Search error tracking issues.- Parameters:
body- Search issues request payload. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<IssuesSearchResponse>>
-
updateIssueAssignee
public IssueResponse updateIssueAssignee(String issueId, IssueUpdateAssigneeRequest body) throws ApiException Update the assignee of an issue.- Parameters:
issueId- The identifier of the issue. (required)body- Update issue assignee request payload. (required)- Returns:
- IssueResponse
- Throws:
ApiException- if fails to make API call
-
updateIssueAssigneeAsync
public CompletableFuture<IssueResponse> updateIssueAssigneeAsync(String issueId, IssueUpdateAssigneeRequest body) Update the assignee of an issue.- Parameters:
issueId- The identifier of the issue. (required)body- Update issue assignee request payload. (required)- Returns:
- CompletableFuture<IssueResponse>
-
updateIssueAssigneeWithHttpInfo
public ApiResponse<IssueResponse> updateIssueAssigneeWithHttpInfo(String issueId, IssueUpdateAssigneeRequest body) throws ApiException Update the assignee of an issue byissue_id.- Parameters:
issueId- The identifier of the issue. (required)body- Update issue assignee request payload. (required)- Returns:
- ApiResponse<IssueResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateIssueAssigneeWithHttpInfoAsync
public CompletableFuture<ApiResponse<IssueResponse>> updateIssueAssigneeWithHttpInfoAsync(String issueId, IssueUpdateAssigneeRequest body) Update the assignee of an issue.- Parameters:
issueId- The identifier of the issue. (required)body- Update issue assignee request payload. (required)- Returns:
- CompletableFuture<ApiResponse<IssueResponse>>
-
updateIssueState
public IssueResponse updateIssueState(String issueId, IssueUpdateStateRequest body) throws ApiException Update the state of an issue.- Parameters:
issueId- The identifier of the issue. (required)body- Update issue state request payload. (required)- Returns:
- IssueResponse
- Throws:
ApiException- if fails to make API call
-
updateIssueStateAsync
public CompletableFuture<IssueResponse> updateIssueStateAsync(String issueId, IssueUpdateStateRequest body) Update the state of an issue.- Parameters:
issueId- The identifier of the issue. (required)body- Update issue state request payload. (required)- Returns:
- CompletableFuture<IssueResponse>
-
updateIssueStateWithHttpInfo
public ApiResponse<IssueResponse> updateIssueStateWithHttpInfo(String issueId, IssueUpdateStateRequest body) throws ApiException Update the state of an issue byissue_id. Use this endpoint to move an issue between states such asOPEN,RESOLVED, orIGNORED.- Parameters:
issueId- The identifier of the issue. (required)body- Update issue state request payload. (required)- Returns:
- ApiResponse<IssueResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateIssueStateWithHttpInfoAsync
public CompletableFuture<ApiResponse<IssueResponse>> updateIssueStateWithHttpInfoAsync(String issueId, IssueUpdateStateRequest body) Update the state of an issue.- Parameters:
issueId- The identifier of the issue. (required)body- Update issue state request payload. (required)- Returns:
- CompletableFuture<ApiResponse<IssueResponse>>
-