Class CaseManagementApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to countCases.static classManage optional parameters to listCaseLinks.static classManage optional parameters to listCaseTimeline.static classManage optional parameters to searchCases. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCaseInsights(String caseId, CaseInsightsRequest body) Add insights to a case.addCaseInsightsAsync(String caseId, CaseInsightsRequest body) Add insights to a case.addCaseInsightsWithHttpInfo(String caseId, CaseInsightsRequest body) Adds one or more insights to a case.addCaseInsightsWithHttpInfoAsync(String caseId, CaseInsightsRequest body) Add insights to a case.Aggregate cases.Aggregate cases.Performs an aggregation query over cases, grouping results by specified fields and returning counts per group along with a total.Aggregate cases.archiveCase(String caseId, CaseEmptyRequest body) Archive case.archiveCaseAsync(String caseId, CaseEmptyRequest body) Archive case.archiveCaseWithHttpInfo(String caseId, CaseEmptyRequest body) Archive casearchiveCaseWithHttpInfoAsync(String caseId, CaseEmptyRequest body) Archive case.assignCase(String caseId, CaseAssignRequest body) Assign case.assignCaseAsync(String caseId, CaseAssignRequest body) Assign case.assignCaseWithHttpInfo(String caseId, CaseAssignRequest body) Assign case to a userassignCaseWithHttpInfoAsync(String caseId, CaseAssignRequest body) Assign case.voidBulk update cases.Bulk update cases.Applies a single action (such as changing priority, status, assignment, or archiving) to multiple cases at once.Bulk update cases.commentCase(String caseId, CaseCommentRequest body) Comment case.commentCaseAsync(String caseId, CaseCommentRequest body) Comment case.commentCaseWithHttpInfo(String caseId, CaseCommentRequest body) Comment casecommentCaseWithHttpInfoAsync(String caseId, CaseCommentRequest body) Comment case.Count cases.Count cases.Count cases.Count cases.Returns case counts, optionally grouped by one or more fields (for example, status, priority).Count cases.createCase(CaseCreateRequest body) Create a case.Create a case.createCaseAutomationRule(String projectId, AutomationRuleCreateRequest body) Create an automation rule.createCaseAutomationRuleAsync(String projectId, AutomationRuleCreateRequest body) Create an automation rule.createCaseAutomationRuleWithHttpInfo(String projectId, AutomationRuleCreateRequest body) Creates an automation rule for a project.createCaseAutomationRuleWithHttpInfoAsync(String projectId, AutomationRuleCreateRequest body) Create an automation rule.voidcreateCaseJiraIssue(String caseId, JiraIssueCreateRequest body) Create Jira issue for case.createCaseJiraIssueAsync(String caseId, JiraIssueCreateRequest body) Create Jira issue for case.createCaseJiraIssueWithHttpInfo(String caseId, JiraIssueCreateRequest body) Create a new Jira issue and link it to a casecreateCaseJiraIssueWithHttpInfoAsync(String caseId, JiraIssueCreateRequest body) Create Jira issue for case.Create a case link.Create a case link.Creates a directional link between two cases (for example, case A blocks case B).Create a case link.voidcreateCaseNotebook(String caseId, NotebookCreateRequest body) Create investigation notebook for case.createCaseNotebookAsync(String caseId, NotebookCreateRequest body) Create investigation notebook for case.createCaseNotebookWithHttpInfo(String caseId, NotebookCreateRequest body) Create a new investigation notebook and link it to a casecreateCaseNotebookWithHttpInfoAsync(String caseId, NotebookCreateRequest body) Create investigation notebook for case.voidcreateCaseServiceNowTicket(String caseId, ServiceNowTicketCreateRequest body) Create ServiceNow ticket for case.Create ServiceNow ticket for case.Create a new ServiceNow incident ticket and link it to a caseCreate ServiceNow ticket for case.Create a case view.Create a case view.Creates a new saved case view with a name, filter query, and associated project.Create a case view.Create a CaseCreate a case.Create a maintenance window.Create a maintenance window.Creates a maintenance window for event management cases with a name, case filter query, and time range (start and end).Create a maintenance window.Create a project.Create a project.createProjectNotificationRule(String projectId, CaseNotificationRuleCreateRequest body) Create a notification rule.createProjectNotificationRuleAsync(String projectId, CaseNotificationRuleCreateRequest body) Create a notification rule.Create a notification rule for a project.createProjectNotificationRuleWithHttpInfoAsync(String projectId, CaseNotificationRuleCreateRequest body) Create a notification rule.Create a project.Create a project.voiddeleteCaseAutomationRule(String projectId, String ruleId) Delete an automation rule.deleteCaseAutomationRuleAsync(String projectId, String ruleId) Delete an automation rule.deleteCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) Permanently deletes an automation rule from a project.deleteCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) Delete an automation rule.voiddeleteCaseComment(String caseId, String cellId) Delete case comment.deleteCaseCommentAsync(String caseId, String cellId) Delete case comment.deleteCaseCommentWithHttpInfo(String caseId, String cellId) Delete case commentdeleteCaseCommentWithHttpInfoAsync(String caseId, String cellId) Delete case comment.deleteCaseCustomAttribute(String caseId, String customAttributeKey) Delete custom attribute from case.deleteCaseCustomAttributeAsync(String caseId, String customAttributeKey) Delete custom attribute from case.deleteCaseCustomAttributeWithHttpInfo(String caseId, String customAttributeKey) Delete custom attribute from casedeleteCaseCustomAttributeWithHttpInfoAsync(String caseId, String customAttributeKey) Delete custom attribute from case.voiddeleteCaseLink(String linkId) Delete a case link.deleteCaseLinkAsync(String linkId) Delete a case link.deleteCaseLinkWithHttpInfo(String linkId) Deletes an existing link between cases by link ID.Delete a case link.voiddeleteCaseView(String viewId) Delete a case view.deleteCaseViewAsync(String viewId) Delete a case view.deleteCaseViewWithHttpInfo(String viewId) Permanently deletes a saved case view.Delete a case view.voiddeleteMaintenanceWindow(String maintenanceWindowId) Delete a maintenance window.deleteMaintenanceWindowAsync(String maintenanceWindowId) Delete a maintenance window.deleteMaintenanceWindowWithHttpInfo(String maintenanceWindowId) Permanently deletes a maintenance window.deleteMaintenanceWindowWithHttpInfoAsync(String maintenanceWindowId) Delete a maintenance window.voiddeleteProject(String projectId) Remove a project.deleteProjectAsync(String projectId) Remove a project.voiddeleteProjectNotificationRule(String projectId, String notificationRuleId) Delete a notification rule.deleteProjectNotificationRuleAsync(String projectId, String notificationRuleId) Delete a notification rule.deleteProjectNotificationRuleWithHttpInfo(String projectId, String notificationRuleId) Delete a notification rule using the notification rule'sid.deleteProjectNotificationRuleWithHttpInfoAsync(String projectId, String notificationRuleId) Delete a notification rule.deleteProjectWithHttpInfo(String projectId) Remove a project using the project'sid.deleteProjectWithHttpInfoAsync(String projectId) Remove a project.disableCaseAutomationRule(String projectId, String ruleId) Disable an automation rule.disableCaseAutomationRuleAsync(String projectId, String ruleId) Disable an automation rule.disableCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) Disables an automation rule so it no longer triggers on case events.disableCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) Disable an automation rule.enableCaseAutomationRule(String projectId, String ruleId) Enable an automation rule.enableCaseAutomationRuleAsync(String projectId, String ruleId) Enable an automation rule.enableCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) Enables a previously disabled automation rule so it triggers on matching case events.enableCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) Enable an automation rule.voidfavoriteCaseProject(String projectId) Favorite a project.favoriteCaseProjectAsync(String projectId) Favorite a project.favoriteCaseProjectWithHttpInfo(String projectId) Marks a case project as a favorite for the current authenticated user.favoriteCaseProjectWithHttpInfoAsync(String projectId) Favorite a project.Get the API client.Get the details of a case.getCaseAsync(String caseId) Get the details of a case.getCaseAutomationRule(String projectId, String ruleId) Get an automation rule.getCaseAutomationRuleAsync(String projectId, String ruleId) Get an automation rule.getCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) Returns a single automation rule identified by its UUID, including its trigger, action, and current state (enabled/disabled).getCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) Get an automation rule.getCaseView(String viewId) Get a case view.getCaseViewAsync(String viewId) Get a case view.getCaseViewWithHttpInfo(String viewId) Returns a single saved case view identified by its UUID, including its query, associated project, and timestamps.getCaseViewWithHttpInfoAsync(String viewId) Get a case view.getCaseWithHttpInfo(String caseId) Get the details of case bycase_idgetCaseWithHttpInfoAsync(String caseId) Get the details of a case.getProject(String projectId) Get the details of a project.getProjectAsync(String projectId) Get the details of a project.getProjectNotificationRules(String projectId) Get notification rules.getProjectNotificationRulesAsync(String projectId) Get notification rules.getProjectNotificationRulesWithHttpInfo(String projectId) Get all notification rules for a project.Get notification rules.Get all projects.Get all projects.Get all projects.Get all projects.getProjectWithHttpInfo(String projectId) Get the details of a project byproject_id.getProjectWithHttpInfoAsync(String projectId) Get the details of a project.linkIncident(String caseId, RelationshipToIncidentRequest body) Link incident to case.linkIncidentAsync(String caseId, RelationshipToIncidentRequest body) Link incident to case.linkIncidentWithHttpInfo(String caseId, RelationshipToIncidentRequest body) Link an incident to a caselinkIncidentWithHttpInfoAsync(String caseId, RelationshipToIncidentRequest body) Link incident to case.voidlinkJiraIssueToCase(String caseId, JiraIssueLinkRequest body) Link existing Jira issue to case.linkJiraIssueToCaseAsync(String caseId, JiraIssueLinkRequest body) Link existing Jira issue to case.linkJiraIssueToCaseWithHttpInfo(String caseId, JiraIssueLinkRequest body) Link an existing Jira issue to a caselinkJiraIssueToCaseWithHttpInfoAsync(String caseId, JiraIssueLinkRequest body) Link existing Jira issue to case.listCaseAutomationRules(String projectId) List automation rules.listCaseAutomationRulesAsync(String projectId) List automation rules.listCaseAutomationRulesWithHttpInfo(String projectId) Returns all automation rules configured for a project.listCaseAutomationRulesWithHttpInfoAsync(String projectId) List automation rules.listCaseLinks(String entityType, String entityId) List case links.listCaseLinks(String entityType, String entityId, CaseManagementApi.ListCaseLinksOptionalParameters parameters) List case links.listCaseLinksAsync(String entityType, String entityId) List case links.listCaseLinksAsync(String entityType, String entityId, CaseManagementApi.ListCaseLinksOptionalParameters parameters) List case links.listCaseLinksWithHttpInfo(String entityType, String entityId, CaseManagementApi.ListCaseLinksOptionalParameters parameters) Returns all links associated with a case.listCaseLinksWithHttpInfoAsync(String entityType, String entityId, CaseManagementApi.ListCaseLinksOptionalParameters parameters) List case links.listCaseTimeline(String caseId) Get case timeline.listCaseTimeline(String caseId, CaseManagementApi.ListCaseTimelineOptionalParameters parameters) Get case timeline.listCaseTimelineAsync(String caseId) Get case timeline.listCaseTimelineAsync(String caseId, CaseManagementApi.ListCaseTimelineOptionalParameters parameters) Get case timeline.listCaseTimelineWithHttpInfo(String caseId, CaseManagementApi.ListCaseTimelineOptionalParameters parameters) Returns the timeline of events for a case, including comments, status changes, and other activity.listCaseTimelineWithHttpInfoAsync(String caseId, CaseManagementApi.ListCaseTimelineOptionalParameters parameters) Get case timeline.listCaseViews(String projectId) List case views.listCaseViewsAsync(String projectId) List case views.listCaseViewsWithHttpInfo(String projectId) Returns all saved case views for a given project.listCaseViewsWithHttpInfoAsync(String projectId) List case views.listCaseWatchers(String caseId) List case watchers.listCaseWatchersAsync(String caseId) List case watchers.listCaseWatchersWithHttpInfo(String caseId) Returns the list of users who are watching a case.List case watchers.List maintenance windows.List maintenance windows.Returns all configured maintenance windows for event management cases.List maintenance windows.List project favorites.List project favorites.Returns the list of case projects that the current authenticated user has marked as favorites.List project favorites.moveCaseToProject(String caseId, ProjectRelationship body) Update case project.moveCaseToProjectAsync(String caseId, ProjectRelationship body) Update case project.moveCaseToProjectWithHttpInfo(String caseId, ProjectRelationship body) Update the project associated with a casemoveCaseToProjectWithHttpInfoAsync(String caseId, ProjectRelationship body) Update case project.removeCaseInsights(String caseId, CaseInsightsRequest body) Remove insights from a case.removeCaseInsightsAsync(String caseId, CaseInsightsRequest body) Remove insights from a case.removeCaseInsightsWithHttpInfo(String caseId, CaseInsightsRequest body) Removes one or more previously added insights from a case by specifying their type and resource identifier in the request body.removeCaseInsightsWithHttpInfoAsync(String caseId, CaseInsightsRequest body) Remove insights from a case.Search cases.Search cases.Search cases.Search cases.Search cases.Search cases.Search cases.Search cases.voidsetApiClient(ApiClient apiClient) Set the API client.unarchiveCase(String caseId, CaseEmptyRequest body) Unarchive case.unarchiveCaseAsync(String caseId, CaseEmptyRequest body) Unarchive case.unarchiveCaseWithHttpInfo(String caseId, CaseEmptyRequest body) Unarchive caseunarchiveCaseWithHttpInfoAsync(String caseId, CaseEmptyRequest body) Unarchive case.unassignCase(String caseId, CaseEmptyRequest body) Unassign case.unassignCaseAsync(String caseId, CaseEmptyRequest body) Unassign case.unassignCaseWithHttpInfo(String caseId, CaseEmptyRequest body) Unassign caseunassignCaseWithHttpInfoAsync(String caseId, CaseEmptyRequest body) Unassign case.voidunfavoriteCaseProject(String projectId) Unfavorite a project.unfavoriteCaseProjectAsync(String projectId) Unfavorite a project.unfavoriteCaseProjectWithHttpInfo(String projectId) Removes a case project from the current user's favorites list.unfavoriteCaseProjectWithHttpInfoAsync(String projectId) Unfavorite a project.voidunlinkJiraIssue(String caseId) Remove Jira issue link from case.unlinkJiraIssueAsync(String caseId) Remove Jira issue link from case.unlinkJiraIssueWithHttpInfo(String caseId) Remove the link between a Jira issue and a caseRemove Jira issue link from case.voidunwatchCase(String caseId, String userUuid) Unwatch a case.unwatchCaseAsync(String caseId, String userUuid) Unwatch a case.unwatchCaseWithHttpInfo(String caseId, String userUuid) Removes a user from the watchers list of a case.unwatchCaseWithHttpInfoAsync(String caseId, String userUuid) Unwatch a case.updateAttributes(String caseId, CaseUpdateAttributesRequest body) Update case attributes.updateAttributesAsync(String caseId, CaseUpdateAttributesRequest body) Update case attributes.updateAttributesWithHttpInfo(String caseId, CaseUpdateAttributesRequest body) Update case attributesUpdate case attributes.updateCaseAutomationRule(String projectId, String ruleId, AutomationRuleUpdateRequest body) Update an automation rule.updateCaseAutomationRuleAsync(String projectId, String ruleId, AutomationRuleUpdateRequest body) Update an automation rule.updateCaseAutomationRuleWithHttpInfo(String projectId, String ruleId, AutomationRuleUpdateRequest body) Updates the trigger, action, name, or state of an existing automation rule.updateCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId, AutomationRuleUpdateRequest body) Update an automation rule.voidupdateCaseComment(String caseId, String cellId, CaseUpdateCommentRequest body) Update case comment.updateCaseCommentAsync(String caseId, String cellId, CaseUpdateCommentRequest body) Update case comment.updateCaseCommentWithHttpInfo(String caseId, String cellId, CaseUpdateCommentRequest body) Updates the text content of an existing comment on a case timeline.updateCaseCommentWithHttpInfoAsync(String caseId, String cellId, CaseUpdateCommentRequest body) Update case comment.updateCaseCustomAttribute(String caseId, String customAttributeKey, CaseUpdateCustomAttributeRequest body) Update case custom attribute.updateCaseCustomAttributeAsync(String caseId, String customAttributeKey, CaseUpdateCustomAttributeRequest body) Update case custom attribute.updateCaseCustomAttributeWithHttpInfo(String caseId, String customAttributeKey, CaseUpdateCustomAttributeRequest body) Update case custom attributeupdateCaseCustomAttributeWithHttpInfoAsync(String caseId, String customAttributeKey, CaseUpdateCustomAttributeRequest body) Update case custom attribute.updateCaseDescription(String caseId, CaseUpdateDescriptionRequest body) Update case description.updateCaseDescriptionAsync(String caseId, CaseUpdateDescriptionRequest body) Update case description.Update case descriptionUpdate case description.updateCaseDueDate(String caseId, CaseUpdateDueDateRequest body) Update case due date.updateCaseDueDateAsync(String caseId, CaseUpdateDueDateRequest body) Update case due date.updateCaseDueDateWithHttpInfo(String caseId, CaseUpdateDueDateRequest body) Sets or updates the due date for a case.updateCaseDueDateWithHttpInfoAsync(String caseId, CaseUpdateDueDateRequest body) Update case due date.updateCaseResolvedReason(String caseId, CaseUpdateResolvedReasonRequest body) Update case resolved reason.Update case resolved reason.Sets the resolved reason for a security case (for example, FALSE_POSITIVE, TRUE_POSITIVE).Update case resolved reason.updateCaseTitle(String caseId, CaseUpdateTitleRequest body) Update case title.updateCaseTitleAsync(String caseId, CaseUpdateTitleRequest body) Update case title.updateCaseTitleWithHttpInfo(String caseId, CaseUpdateTitleRequest body) Update case titleupdateCaseTitleWithHttpInfoAsync(String caseId, CaseUpdateTitleRequest body) Update case title.updateCaseView(String viewId, CaseViewUpdateRequest body) Update a case view.updateCaseViewAsync(String viewId, CaseViewUpdateRequest body) Update a case view.updateCaseViewWithHttpInfo(String viewId, CaseViewUpdateRequest body) Updates the name, query, or notification rule of an existing case view.updateCaseViewWithHttpInfoAsync(String viewId, CaseViewUpdateRequest body) Update a case view.updateMaintenanceWindow(String maintenanceWindowId, MaintenanceWindowUpdateRequest body) Update a maintenance window.updateMaintenanceWindowAsync(String maintenanceWindowId, MaintenanceWindowUpdateRequest body) Update a maintenance window.updateMaintenanceWindowWithHttpInfo(String maintenanceWindowId, MaintenanceWindowUpdateRequest body) Updates the name, query, start time, or end time of an existing maintenance window.updateMaintenanceWindowWithHttpInfoAsync(String maintenanceWindowId, MaintenanceWindowUpdateRequest body) Update a maintenance window.updatePriority(String caseId, CaseUpdatePriorityRequest body) Update case priority.updatePriorityAsync(String caseId, CaseUpdatePriorityRequest body) Update case priority.updatePriorityWithHttpInfo(String caseId, CaseUpdatePriorityRequest body) Update case priorityupdatePriorityWithHttpInfoAsync(String caseId, CaseUpdatePriorityRequest body) Update case priority.updateProject(String projectId, ProjectUpdateRequest body) Update a project.updateProjectAsync(String projectId, ProjectUpdateRequest body) Update a project.voidupdateProjectNotificationRule(String projectId, String notificationRuleId, CaseNotificationRuleUpdateRequest body) Update a notification rule.updateProjectNotificationRuleAsync(String projectId, String notificationRuleId, CaseNotificationRuleUpdateRequest body) Update a notification rule.updateProjectNotificationRuleWithHttpInfo(String projectId, String notificationRuleId, CaseNotificationRuleUpdateRequest body) Update a notification rule.updateProjectNotificationRuleWithHttpInfoAsync(String projectId, String notificationRuleId, CaseNotificationRuleUpdateRequest body) Update a notification rule.updateProjectWithHttpInfo(String projectId, ProjectUpdateRequest body) Update a project.updateProjectWithHttpInfoAsync(String projectId, ProjectUpdateRequest body) Update a project.updateStatus(String caseId, CaseUpdateStatusRequest body) Update case status.updateStatusAsync(String caseId, CaseUpdateStatusRequest body) Update case status.updateStatusWithHttpInfo(String caseId, CaseUpdateStatusRequest body) Update case statusupdateStatusWithHttpInfoAsync(String caseId, CaseUpdateStatusRequest body) Update case status.voidWatch a case.watchCaseAsync(String caseId, String userUuid) Watch a case.watchCaseWithHttpInfo(String caseId, String userUuid) Adds a user (identified by their UUID) as a watcher of a case.watchCaseWithHttpInfoAsync(String caseId, String userUuid) Watch a case.
-
Constructor Details
-
CaseManagementApi
public CaseManagementApi() -
CaseManagementApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
addCaseInsights
Add insights to a case.See
addCaseInsightsWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseInsightsRequest).- Parameters:
caseId- Case's UUID or key (required)body- Case insights request. (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
addCaseInsightsAsync
public CompletableFuture<CaseResponse> addCaseInsightsAsync(String caseId, CaseInsightsRequest body) Add insights to a case.- Parameters:
caseId- Case's UUID or key (required)body- Case insights request. (required)- Returns:
- CompletableFuture<CaseResponse>
-
addCaseInsightsWithHttpInfo
public ApiResponse<CaseResponse> addCaseInsightsWithHttpInfo(String caseId, CaseInsightsRequest body) throws ApiException Adds one or more insights to a case. Insights are references to related Datadog resources (such as monitors, security signals, incidents, or error tracking issues) that provide investigative context. Up to 100 insights can be added per request. Each insight requires a type (seeCaseInsightTypefor allowed values), a ref (URL path to the resource), and a resource_id.- Parameters:
caseId- Case's UUID or key (required)body- Case insights request. (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
addCaseInsightsWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> addCaseInsightsWithHttpInfoAsync(String caseId, CaseInsightsRequest body) Add insights to a case.See
addCaseInsightsWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseInsightsRequest).- Parameters:
caseId- Case's UUID or key (required)body- Case insights request. (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
aggregateCases
Aggregate cases.See
aggregateCasesWithHttpInfo(com.datadog.api.client.v2.model.CaseAggregateRequest).- Parameters:
body- Case aggregate request payload. (required)- Returns:
- CaseAggregateResponse
- Throws:
ApiException- if fails to make API call
-
aggregateCasesAsync
Aggregate cases.See
aggregateCasesWithHttpInfoAsync(com.datadog.api.client.v2.model.CaseAggregateRequest).- Parameters:
body- Case aggregate request payload. (required)- Returns:
- CompletableFuture<CaseAggregateResponse>
-
aggregateCasesWithHttpInfo
public ApiResponse<CaseAggregateResponse> aggregateCasesWithHttpInfo(CaseAggregateRequest body) throws ApiException Performs an aggregation query over cases, grouping results by specified fields and returning counts per group along with a total. Useful for dashboards and analytics.- Parameters:
body- Case aggregate request payload. (required)- Returns:
- ApiResponse<CaseAggregateResponse>
- 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 -
-
aggregateCasesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseAggregateResponse>> aggregateCasesWithHttpInfoAsync(CaseAggregateRequest body) Aggregate cases.See
aggregateCasesWithHttpInfo(com.datadog.api.client.v2.model.CaseAggregateRequest).- Parameters:
body- Case aggregate request payload. (required)- Returns:
- CompletableFuture<ApiResponse<CaseAggregateResponse>>
-
archiveCase
Archive case.See
archiveCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Archive case payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
archiveCaseAsync
Archive case.See
archiveCaseWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Archive case payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
archiveCaseWithHttpInfo
public ApiResponse<CaseResponse> archiveCaseWithHttpInfo(String caseId, CaseEmptyRequest body) throws ApiException Archive case- Parameters:
caseId- Case's UUID or key (required)body- Archive case payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
archiveCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> archiveCaseWithHttpInfoAsync(String caseId, CaseEmptyRequest body) Archive case.See
archiveCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Archive case payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
assignCase
Assign case.See
assignCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseAssignRequest).- Parameters:
caseId- Case's UUID or key (required)body- Assign case payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
assignCaseAsync
Assign case.See
assignCaseWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v2.model.CaseAssignRequest).- Parameters:
caseId- Case's UUID or key (required)body- Assign case payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
assignCaseWithHttpInfo
public ApiResponse<CaseResponse> assignCaseWithHttpInfo(String caseId, CaseAssignRequest body) throws ApiException Assign case to a user- Parameters:
caseId- Case's UUID or key (required)body- Assign case payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
assignCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> assignCaseWithHttpInfoAsync(String caseId, CaseAssignRequest body) Assign case.See
assignCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseAssignRequest).- Parameters:
caseId- Case's UUID or key (required)body- Assign case payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
bulkUpdateCases
Bulk update cases.See
bulkUpdateCasesWithHttpInfo(com.datadog.api.client.v2.model.CaseBulkUpdateRequest).- Parameters:
body- Case bulk update request payload. (required)- Throws:
ApiException- if fails to make API call
-
bulkUpdateCasesAsync
Bulk update cases.See
bulkUpdateCasesWithHttpInfoAsync(com.datadog.api.client.v2.model.CaseBulkUpdateRequest).- Parameters:
body- Case bulk update request payload. (required)- Returns:
- CompletableFuture
-
bulkUpdateCasesWithHttpInfo
public ApiResponse<Void> bulkUpdateCasesWithHttpInfo(CaseBulkUpdateRequest body) throws ApiException Applies a single action (such as changing priority, status, assignment, or archiving) to multiple cases at once. The list of case IDs and the action type with its payload are specified in the request body.- Parameters:
body- Case bulk update request payload. (required)- Returns:
- ApiResponse<Void>
- 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 -
-
bulkUpdateCasesWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> bulkUpdateCasesWithHttpInfoAsync(CaseBulkUpdateRequest body) Bulk update cases.See
bulkUpdateCasesWithHttpInfo(com.datadog.api.client.v2.model.CaseBulkUpdateRequest).- Parameters:
body- Case bulk update request payload. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
commentCase
Comment case.See
commentCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseCommentRequest).- Parameters:
caseId- Case's UUID or key (required)body- Case comment payload (required)- Returns:
- TimelineResponse
- Throws:
ApiException- if fails to make API call
-
commentCaseAsync
Comment case.See
commentCaseWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v2.model.CaseCommentRequest).- Parameters:
caseId- Case's UUID or key (required)body- Case comment payload (required)- Returns:
- CompletableFuture<TimelineResponse>
-
commentCaseWithHttpInfo
public ApiResponse<TimelineResponse> commentCaseWithHttpInfo(String caseId, CaseCommentRequest body) throws ApiException Comment case- Parameters:
caseId- Case's UUID or key (required)body- Case comment payload (required)- Returns:
- ApiResponse<TimelineResponse>
- 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 -
-
commentCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<TimelineResponse>> commentCaseWithHttpInfoAsync(String caseId, CaseCommentRequest body) Comment case.See
commentCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseCommentRequest).- Parameters:
caseId- Case's UUID or key (required)body- Case comment payload (required)- Returns:
- CompletableFuture<ApiResponse<TimelineResponse>>
-
countCases
Count cases.See
countCasesWithHttpInfo(com.datadog.api.client.v2.api.CaseManagementApi.CountCasesOptionalParameters).- Returns:
- CaseCountResponse
- Throws:
ApiException- if fails to make API call
-
countCasesAsync
Count cases.- Returns:
- CompletableFuture<CaseCountResponse>
-
countCases
public CaseCountResponse countCases(CaseManagementApi.CountCasesOptionalParameters parameters) throws ApiException Count cases.See
countCasesWithHttpInfo(com.datadog.api.client.v2.api.CaseManagementApi.CountCasesOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CaseCountResponse
- Throws:
ApiException- if fails to make API call
-
countCasesAsync
public CompletableFuture<CaseCountResponse> countCasesAsync(CaseManagementApi.CountCasesOptionalParameters parameters) Count cases.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<CaseCountResponse>
-
countCasesWithHttpInfo
public ApiResponse<CaseCountResponse> countCasesWithHttpInfo(CaseManagementApi.CountCasesOptionalParameters parameters) throws ApiException Returns case counts, optionally grouped by one or more fields (for example, status, priority). Supports a query filter to narrow the scope.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<CaseCountResponse>
- 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 -
-
countCasesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseCountResponse>> countCasesWithHttpInfoAsync(CaseManagementApi.CountCasesOptionalParameters parameters) Count cases.See
countCasesWithHttpInfo(com.datadog.api.client.v2.api.CaseManagementApi.CountCasesOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<CaseCountResponse>>
-
createCase
Create a case.See
createCaseWithHttpInfo(com.datadog.api.client.v2.model.CaseCreateRequest).- Parameters:
body- Case payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
createCaseAsync
Create a case.See
createCaseWithHttpInfoAsync(com.datadog.api.client.v2.model.CaseCreateRequest).- Parameters:
body- Case payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
createCaseWithHttpInfo
Create a Case- Parameters:
body- Case payload (required)- Returns:
- ApiResponse<CaseResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> createCaseWithHttpInfoAsync(CaseCreateRequest body) Create a case.See
createCaseWithHttpInfo(com.datadog.api.client.v2.model.CaseCreateRequest).- Parameters:
body- Case payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
createCaseAutomationRule
public AutomationRuleResponse createCaseAutomationRule(String projectId, AutomationRuleCreateRequest body) throws ApiException Create an automation rule.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)body- Automation rule payload. (required)- Returns:
- AutomationRuleResponse
- Throws:
ApiException- if fails to make API call
-
createCaseAutomationRuleAsync
public CompletableFuture<AutomationRuleResponse> createCaseAutomationRuleAsync(String projectId, AutomationRuleCreateRequest body) Create an automation rule.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)body- Automation rule payload. (required)- Returns:
- CompletableFuture<AutomationRuleResponse>
-
createCaseAutomationRuleWithHttpInfo
public ApiResponse<AutomationRuleResponse> createCaseAutomationRuleWithHttpInfo(String projectId, AutomationRuleCreateRequest body) throws ApiException Creates an automation rule for a project. The rule defines a trigger event (for example, case created, status transitioned) and an action to execute.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)body- Automation rule payload. (required)- Returns:
- ApiResponse<AutomationRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createCaseAutomationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<AutomationRuleResponse>> createCaseAutomationRuleWithHttpInfoAsync(String projectId, AutomationRuleCreateRequest body) Create an automation rule.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)body- Automation rule payload. (required)- Returns:
- CompletableFuture<ApiResponse<AutomationRuleResponse>>
-
createCaseJiraIssue
Create Jira issue for case.- Parameters:
caseId- Case's UUID or key (required)body- Jira issue creation request (required)- Throws:
ApiException- if fails to make API call
-
createCaseJiraIssueAsync
Create Jira issue for case.- Parameters:
caseId- Case's UUID or key (required)body- Jira issue creation request (required)- Returns:
- CompletableFuture
-
createCaseJiraIssueWithHttpInfo
public ApiResponse<Void> createCaseJiraIssueWithHttpInfo(String caseId, JiraIssueCreateRequest body) throws ApiException Create a new Jira issue and link it to a case- Parameters:
caseId- Case's UUID or key (required)body- Jira issue creation request (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 202 Accepted - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createCaseJiraIssueWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> createCaseJiraIssueWithHttpInfoAsync(String caseId, JiraIssueCreateRequest body) Create Jira issue for case.- Parameters:
caseId- Case's UUID or key (required)body- Jira issue creation request (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
createCaseLink
Create a case link.See
createCaseLinkWithHttpInfo(com.datadog.api.client.v2.model.CaseLinkCreateRequest).- Parameters:
body- Case link create request. (required)- Returns:
- CaseLinkResponse
- Throws:
ApiException- if fails to make API call
-
createCaseLinkAsync
Create a case link.See
createCaseLinkWithHttpInfoAsync(com.datadog.api.client.v2.model.CaseLinkCreateRequest).- Parameters:
body- Case link create request. (required)- Returns:
- CompletableFuture<CaseLinkResponse>
-
createCaseLinkWithHttpInfo
public ApiResponse<CaseLinkResponse> createCaseLinkWithHttpInfo(CaseLinkCreateRequest body) throws ApiException Creates a directional link between two cases (for example, case A blocks case B). The parent and child cases and their relationship type must be specified.- Parameters:
body- Case link create request. (required)- Returns:
- ApiResponse<CaseLinkResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createCaseLinkWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseLinkResponse>> createCaseLinkWithHttpInfoAsync(CaseLinkCreateRequest body) Create a case link.See
createCaseLinkWithHttpInfo(com.datadog.api.client.v2.model.CaseLinkCreateRequest).- Parameters:
body- Case link create request. (required)- Returns:
- CompletableFuture<ApiResponse<CaseLinkResponse>>
-
createCaseNotebook
Create investigation notebook for case.- Parameters:
caseId- Case's UUID or key (required)body- Notebook creation request (required)- Throws:
ApiException- if fails to make API call
-
createCaseNotebookAsync
Create investigation notebook for case.- Parameters:
caseId- Case's UUID or key (required)body- Notebook creation request (required)- Returns:
- CompletableFuture
-
createCaseNotebookWithHttpInfo
public ApiResponse<Void> createCaseNotebookWithHttpInfo(String caseId, NotebookCreateRequest body) throws ApiException Create a new investigation notebook and link it to a case- Parameters:
caseId- Case's UUID or key (required)body- Notebook creation request (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 -
-
createCaseNotebookWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> createCaseNotebookWithHttpInfoAsync(String caseId, NotebookCreateRequest body) Create investigation notebook for case.- Parameters:
caseId- Case's UUID or key (required)body- Notebook creation request (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
createCaseServiceNowTicket
public void createCaseServiceNowTicket(String caseId, ServiceNowTicketCreateRequest body) throws ApiException Create ServiceNow ticket for case.- Parameters:
caseId- Case's UUID or key (required)body- ServiceNow ticket creation request (required)- Throws:
ApiException- if fails to make API call
-
createCaseServiceNowTicketAsync
public CompletableFuture<Void> createCaseServiceNowTicketAsync(String caseId, ServiceNowTicketCreateRequest body) Create ServiceNow ticket for case.- Parameters:
caseId- Case's UUID or key (required)body- ServiceNow ticket creation request (required)- Returns:
- CompletableFuture
-
createCaseServiceNowTicketWithHttpInfo
public ApiResponse<Void> createCaseServiceNowTicketWithHttpInfo(String caseId, ServiceNowTicketCreateRequest body) throws ApiException Create a new ServiceNow incident ticket and link it to a case- Parameters:
caseId- Case's UUID or key (required)body- ServiceNow ticket creation request (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 202 Accepted - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createCaseServiceNowTicketWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> createCaseServiceNowTicketWithHttpInfoAsync(String caseId, ServiceNowTicketCreateRequest body) Create ServiceNow ticket for case.- Parameters:
caseId- Case's UUID or key (required)body- ServiceNow ticket creation request (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
createCaseView
Create a case view.See
createCaseViewWithHttpInfo(com.datadog.api.client.v2.model.CaseViewCreateRequest).- Parameters:
body- Case view payload. (required)- Returns:
- CaseViewResponse
- Throws:
ApiException- if fails to make API call
-
createCaseViewAsync
Create a case view.See
createCaseViewWithHttpInfoAsync(com.datadog.api.client.v2.model.CaseViewCreateRequest).- Parameters:
body- Case view payload. (required)- Returns:
- CompletableFuture<CaseViewResponse>
-
createCaseViewWithHttpInfo
public ApiResponse<CaseViewResponse> createCaseViewWithHttpInfo(CaseViewCreateRequest body) throws ApiException Creates a new saved case view with a name, filter query, and associated project. Optionally, a notification rule can be linked to the view.- Parameters:
body- Case view payload. (required)- Returns:
- ApiResponse<CaseViewResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createCaseViewWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseViewResponse>> createCaseViewWithHttpInfoAsync(CaseViewCreateRequest body) Create a case view.See
createCaseViewWithHttpInfo(com.datadog.api.client.v2.model.CaseViewCreateRequest).- Parameters:
body- Case view payload. (required)- Returns:
- CompletableFuture<ApiResponse<CaseViewResponse>>
-
createMaintenanceWindow
public MaintenanceWindowResponse createMaintenanceWindow(MaintenanceWindowCreateRequest body) throws ApiException Create a maintenance window.See
createMaintenanceWindowWithHttpInfo(com.datadog.api.client.v2.model.MaintenanceWindowCreateRequest).- Parameters:
body- Maintenance window payload. (required)- Returns:
- MaintenanceWindowResponse
- Throws:
ApiException- if fails to make API call
-
createMaintenanceWindowAsync
public CompletableFuture<MaintenanceWindowResponse> createMaintenanceWindowAsync(MaintenanceWindowCreateRequest body) Create a maintenance window.- Parameters:
body- Maintenance window payload. (required)- Returns:
- CompletableFuture<MaintenanceWindowResponse>
-
createMaintenanceWindowWithHttpInfo
public ApiResponse<MaintenanceWindowResponse> createMaintenanceWindowWithHttpInfo(MaintenanceWindowCreateRequest body) throws ApiException Creates a maintenance window for event management cases with a name, case filter query, and time range (start and end).- Parameters:
body- Maintenance window payload. (required)- Returns:
- ApiResponse<MaintenanceWindowResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createMaintenanceWindowWithHttpInfoAsync
public CompletableFuture<ApiResponse<MaintenanceWindowResponse>> createMaintenanceWindowWithHttpInfoAsync(MaintenanceWindowCreateRequest body) Create a maintenance window.See
createMaintenanceWindowWithHttpInfo(com.datadog.api.client.v2.model.MaintenanceWindowCreateRequest).- Parameters:
body- Maintenance window payload. (required)- Returns:
- CompletableFuture<ApiResponse<MaintenanceWindowResponse>>
-
createProject
Create a project.See
createProjectWithHttpInfo(com.datadog.api.client.v2.model.ProjectCreateRequest).- Parameters:
body- Project payload. (required)- Returns:
- ProjectResponse
- Throws:
ApiException- if fails to make API call
-
createProjectAsync
Create a project.See
createProjectWithHttpInfoAsync(com.datadog.api.client.v2.model.ProjectCreateRequest).- Parameters:
body- Project payload. (required)- Returns:
- CompletableFuture<ProjectResponse>
-
createProjectWithHttpInfo
public ApiResponse<ProjectResponse> createProjectWithHttpInfo(ProjectCreateRequest body) throws ApiException Create a project.- Parameters:
body- Project payload. (required)- Returns:
- ApiResponse<ProjectResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createProjectWithHttpInfoAsync
public CompletableFuture<ApiResponse<ProjectResponse>> createProjectWithHttpInfoAsync(ProjectCreateRequest body) Create a project.See
createProjectWithHttpInfo(com.datadog.api.client.v2.model.ProjectCreateRequest).- Parameters:
body- Project payload. (required)- Returns:
- CompletableFuture<ApiResponse<ProjectResponse>>
-
createProjectNotificationRule
public CaseNotificationRuleResponse createProjectNotificationRule(String projectId, CaseNotificationRuleCreateRequest body) throws ApiException Create a notification rule.- Parameters:
projectId- Project UUID (required)body- Notification rule payload (required)- Returns:
- CaseNotificationRuleResponse
- Throws:
ApiException- if fails to make API call
-
createProjectNotificationRuleAsync
public CompletableFuture<CaseNotificationRuleResponse> createProjectNotificationRuleAsync(String projectId, CaseNotificationRuleCreateRequest body) Create a notification rule.- Parameters:
projectId- Project UUID (required)body- Notification rule payload (required)- Returns:
- CompletableFuture<CaseNotificationRuleResponse>
-
createProjectNotificationRuleWithHttpInfo
public ApiResponse<CaseNotificationRuleResponse> createProjectNotificationRuleWithHttpInfo(String projectId, CaseNotificationRuleCreateRequest body) throws ApiException Create a notification rule for a project.- Parameters:
projectId- Project UUID (required)body- Notification rule payload (required)- Returns:
- ApiResponse<CaseNotificationRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 CREATED - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
createProjectNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseNotificationRuleResponse>> createProjectNotificationRuleWithHttpInfoAsync(String projectId, CaseNotificationRuleCreateRequest body) Create a notification rule.- Parameters:
projectId- Project UUID (required)body- Notification rule payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseNotificationRuleResponse>>
-
deleteCaseAutomationRule
Delete an automation rule.See
deleteCaseAutomationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Throws:
ApiException- if fails to make API call
-
deleteCaseAutomationRuleAsync
Delete an automation rule.See
deleteCaseAutomationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- CompletableFuture
-
deleteCaseAutomationRuleWithHttpInfo
public ApiResponse<Void> deleteCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) throws ApiException Permanently deletes an automation rule from a project.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (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 - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteCaseAutomationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) Delete an automation rule.See
deleteCaseAutomationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteCaseComment
Delete case comment.See
deleteCaseCommentWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)cellId- The UUID of the timeline cell (comment) to update. (required)- Throws:
ApiException- if fails to make API call
-
deleteCaseCommentAsync
Delete case comment.See
deleteCaseCommentWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)cellId- The UUID of the timeline cell (comment) to update. (required)- Returns:
- CompletableFuture
-
deleteCaseCommentWithHttpInfo
public ApiResponse<Void> deleteCaseCommentWithHttpInfo(String caseId, String cellId) throws ApiException Delete case comment- Parameters:
caseId- Case's UUID or key (required)cellId- The UUID of the timeline cell (comment) to update. (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 -
-
deleteCaseCommentWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteCaseCommentWithHttpInfoAsync(String caseId, String cellId) Delete case comment.See
deleteCaseCommentWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)cellId- The UUID of the timeline cell (comment) to update. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteCaseCustomAttribute
public CaseResponse deleteCaseCustomAttribute(String caseId, String customAttributeKey) throws ApiException Delete custom attribute from case.See
deleteCaseCustomAttributeWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)customAttributeKey- Case Custom attribute's key (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
deleteCaseCustomAttributeAsync
public CompletableFuture<CaseResponse> deleteCaseCustomAttributeAsync(String caseId, String customAttributeKey) Delete custom attribute from case.See
deleteCaseCustomAttributeWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)customAttributeKey- Case Custom attribute's key (required)- Returns:
- CompletableFuture<CaseResponse>
-
deleteCaseCustomAttributeWithHttpInfo
public ApiResponse<CaseResponse> deleteCaseCustomAttributeWithHttpInfo(String caseId, String customAttributeKey) throws ApiException Delete custom attribute from case- Parameters:
caseId- Case's UUID or key (required)customAttributeKey- Case Custom attribute's key (required)- Returns:
- ApiResponse<CaseResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteCaseCustomAttributeWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> deleteCaseCustomAttributeWithHttpInfoAsync(String caseId, String customAttributeKey) Delete custom attribute from case.See
deleteCaseCustomAttributeWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)customAttributeKey- Case Custom attribute's key (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
deleteCaseLink
Delete a case link.- Parameters:
linkId- The UUID of the case link. (required)- Throws:
ApiException- if fails to make API call
-
deleteCaseLinkAsync
Delete a case link.- Parameters:
linkId- The UUID of the case link. (required)- Returns:
- CompletableFuture
-
deleteCaseLinkWithHttpInfo
Deletes an existing link between cases by link ID.- Parameters:
linkId- The UUID of the case link. (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 -
-
deleteCaseLinkWithHttpInfoAsync
Delete a case link.- Parameters:
linkId- The UUID of the case link. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteCaseView
Delete a case view.- Parameters:
viewId- The UUID of the case view. (required)- Throws:
ApiException- if fails to make API call
-
deleteCaseViewAsync
Delete a case view.- Parameters:
viewId- The UUID of the case view. (required)- Returns:
- CompletableFuture
-
deleteCaseViewWithHttpInfo
Permanently deletes a saved case view.- Parameters:
viewId- The UUID of the case view. (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 -
-
deleteCaseViewWithHttpInfoAsync
Delete a case view.- Parameters:
viewId- The UUID of the case view. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteMaintenanceWindow
Delete a maintenance window.- Parameters:
maintenanceWindowId- The UUID of the maintenance window. (required)- Throws:
ApiException- if fails to make API call
-
deleteMaintenanceWindowAsync
Delete a maintenance window.See
deleteMaintenanceWindowWithHttpInfoAsync(java.lang.String).- Parameters:
maintenanceWindowId- The UUID of the maintenance window. (required)- Returns:
- CompletableFuture
-
deleteMaintenanceWindowWithHttpInfo
public ApiResponse<Void> deleteMaintenanceWindowWithHttpInfo(String maintenanceWindowId) throws ApiException Permanently deletes a maintenance window.- Parameters:
maintenanceWindowId- The UUID of the maintenance window. (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 -
-
deleteMaintenanceWindowWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteMaintenanceWindowWithHttpInfoAsync(String maintenanceWindowId) Delete a maintenance window.- Parameters:
maintenanceWindowId- The UUID of the maintenance window. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteProject
Remove a project.- Parameters:
projectId- Project UUID. (required)- Throws:
ApiException- if fails to make API call
-
deleteProjectAsync
Remove a project.- Parameters:
projectId- Project UUID. (required)- Returns:
- CompletableFuture
-
deleteProjectWithHttpInfo
Remove a project using the project'sid.- Parameters:
projectId- Project UUID. (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 - 403 Forbidden - 404 API error response - 429 Too many requests -
-
deleteProjectWithHttpInfoAsync
Remove a project.- Parameters:
projectId- Project UUID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteProjectNotificationRule
public void deleteProjectNotificationRule(String projectId, String notificationRuleId) throws ApiException Delete a notification rule.See
deleteProjectNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- Project UUID (required)notificationRuleId- Notification Rule UUID (required)- Throws:
ApiException- if fails to make API call
-
deleteProjectNotificationRuleAsync
public CompletableFuture<Void> deleteProjectNotificationRuleAsync(String projectId, String notificationRuleId) Delete a notification rule.See
deleteProjectNotificationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
projectId- Project UUID (required)notificationRuleId- Notification Rule UUID (required)- Returns:
- CompletableFuture
-
deleteProjectNotificationRuleWithHttpInfo
public ApiResponse<Void> deleteProjectNotificationRuleWithHttpInfo(String projectId, String notificationRuleId) throws ApiException Delete a notification rule using the notification rule'sid.- Parameters:
projectId- Project UUID (required)notificationRuleId- Notification Rule UUID (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 - 403 Forbidden - 404 API error response - 429 Too many requests -
-
deleteProjectNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteProjectNotificationRuleWithHttpInfoAsync(String projectId, String notificationRuleId) Delete a notification rule.See
deleteProjectNotificationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- Project UUID (required)notificationRuleId- Notification Rule UUID (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
disableCaseAutomationRule
public AutomationRuleResponse disableCaseAutomationRule(String projectId, String ruleId) throws ApiException Disable an automation rule.See
disableCaseAutomationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- AutomationRuleResponse
- Throws:
ApiException- if fails to make API call
-
disableCaseAutomationRuleAsync
public CompletableFuture<AutomationRuleResponse> disableCaseAutomationRuleAsync(String projectId, String ruleId) Disable an automation rule.See
disableCaseAutomationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- CompletableFuture<AutomationRuleResponse>
-
disableCaseAutomationRuleWithHttpInfo
public ApiResponse<AutomationRuleResponse> disableCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) throws ApiException Disables an automation rule so it no longer triggers on case events. The rule configuration is preserved.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- ApiResponse<AutomationRuleResponse>
- 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 -
-
disableCaseAutomationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<AutomationRuleResponse>> disableCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) Disable an automation rule.See
disableCaseAutomationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- CompletableFuture<ApiResponse<AutomationRuleResponse>>
-
enableCaseAutomationRule
public AutomationRuleResponse enableCaseAutomationRule(String projectId, String ruleId) throws ApiException Enable an automation rule.See
enableCaseAutomationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- AutomationRuleResponse
- Throws:
ApiException- if fails to make API call
-
enableCaseAutomationRuleAsync
public CompletableFuture<AutomationRuleResponse> enableCaseAutomationRuleAsync(String projectId, String ruleId) Enable an automation rule.See
enableCaseAutomationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- CompletableFuture<AutomationRuleResponse>
-
enableCaseAutomationRuleWithHttpInfo
public ApiResponse<AutomationRuleResponse> enableCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) throws ApiException Enables a previously disabled automation rule so it triggers on matching case events.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- ApiResponse<AutomationRuleResponse>
- 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 -
-
enableCaseAutomationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<AutomationRuleResponse>> enableCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) Enable an automation rule.See
enableCaseAutomationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- CompletableFuture<ApiResponse<AutomationRuleResponse>>
-
favoriteCaseProject
Favorite a project.- Parameters:
projectId- Project UUID. (required)- Throws:
ApiException- if fails to make API call
-
favoriteCaseProjectAsync
Favorite a project.- Parameters:
projectId- Project UUID. (required)- Returns:
- CompletableFuture
-
favoriteCaseProjectWithHttpInfo
Marks a case project as a favorite for the current authenticated user.- Parameters:
projectId- Project UUID. (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 -
-
favoriteCaseProjectWithHttpInfoAsync
Favorite a project.- Parameters:
projectId- Project UUID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getCase
Get the details of a case.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
getCaseAsync
Get the details of a case.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CompletableFuture<CaseResponse>
-
getCaseWithHttpInfo
Get the details of case bycase_id- Parameters:
caseId- Case's UUID or key (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
getCaseWithHttpInfoAsync
Get the details of a case.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
getCaseAutomationRule
public AutomationRuleResponse getCaseAutomationRule(String projectId, String ruleId) throws ApiException Get an automation rule.See
getCaseAutomationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- AutomationRuleResponse
- Throws:
ApiException- if fails to make API call
-
getCaseAutomationRuleAsync
public CompletableFuture<AutomationRuleResponse> getCaseAutomationRuleAsync(String projectId, String ruleId) Get an automation rule.See
getCaseAutomationRuleWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- CompletableFuture<AutomationRuleResponse>
-
getCaseAutomationRuleWithHttpInfo
public ApiResponse<AutomationRuleResponse> getCaseAutomationRuleWithHttpInfo(String projectId, String ruleId) throws ApiException Returns a single automation rule identified by its UUID, including its trigger, action, and current state (enabled/disabled).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- ApiResponse<AutomationRuleResponse>
- 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 -
-
getCaseAutomationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<AutomationRuleResponse>> getCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId) Get an automation rule.See
getCaseAutomationRuleWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)- Returns:
- CompletableFuture<ApiResponse<AutomationRuleResponse>>
-
getCaseView
Get a case view.- Parameters:
viewId- The UUID of the case view. (required)- Returns:
- CaseViewResponse
- Throws:
ApiException- if fails to make API call
-
getCaseViewAsync
Get a case view.- Parameters:
viewId- The UUID of the case view. (required)- Returns:
- CompletableFuture<CaseViewResponse>
-
getCaseViewWithHttpInfo
Returns a single saved case view identified by its UUID, including its query, associated project, and timestamps.- Parameters:
viewId- The UUID of the case view. (required)- Returns:
- ApiResponse<CaseViewResponse>
- 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 -
-
getCaseViewWithHttpInfoAsync
Get a case view.- Parameters:
viewId- The UUID of the case view. (required)- Returns:
- CompletableFuture<ApiResponse<CaseViewResponse>>
-
getProject
Get the details of a project.- Parameters:
projectId- Project UUID. (required)- Returns:
- ProjectResponse
- Throws:
ApiException- if fails to make API call
-
getProjectAsync
Get the details of a project.- Parameters:
projectId- Project UUID. (required)- Returns:
- CompletableFuture<ProjectResponse>
-
getProjectWithHttpInfo
Get the details of a project byproject_id.- Parameters:
projectId- Project UUID. (required)- Returns:
- ApiResponse<ProjectResponse>
- 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 -
-
getProjectWithHttpInfoAsync
public CompletableFuture<ApiResponse<ProjectResponse>> getProjectWithHttpInfoAsync(String projectId) Get the details of a project.- Parameters:
projectId- Project UUID. (required)- Returns:
- CompletableFuture<ApiResponse<ProjectResponse>>
-
getProjectNotificationRules
public CaseNotificationRulesResponse getProjectNotificationRules(String projectId) throws ApiException Get notification rules.See
getProjectNotificationRulesWithHttpInfo(java.lang.String).- Parameters:
projectId- Project UUID (required)- Returns:
- CaseNotificationRulesResponse
- Throws:
ApiException- if fails to make API call
-
getProjectNotificationRulesAsync
public CompletableFuture<CaseNotificationRulesResponse> getProjectNotificationRulesAsync(String projectId) Get notification rules.See
getProjectNotificationRulesWithHttpInfoAsync(java.lang.String).- Parameters:
projectId- Project UUID (required)- Returns:
- CompletableFuture<CaseNotificationRulesResponse>
-
getProjectNotificationRulesWithHttpInfo
public ApiResponse<CaseNotificationRulesResponse> getProjectNotificationRulesWithHttpInfo(String projectId) throws ApiException Get all notification rules for a project.- Parameters:
projectId- Project UUID (required)- Returns:
- ApiResponse<CaseNotificationRulesResponse>
- 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 -
-
getProjectNotificationRulesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseNotificationRulesResponse>> getProjectNotificationRulesWithHttpInfoAsync(String projectId) Get notification rules.See
getProjectNotificationRulesWithHttpInfo(java.lang.String).- Parameters:
projectId- Project UUID (required)- Returns:
- CompletableFuture<ApiResponse<CaseNotificationRulesResponse>>
-
getProjects
Get all projects.- Returns:
- ProjectsResponse
- Throws:
ApiException- if fails to make API call
-
getProjectsAsync
Get all projects.- Returns:
- CompletableFuture<ProjectsResponse>
-
getProjectsWithHttpInfo
Get all projects.- Returns:
- ApiResponse<ProjectsResponse>
- 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 -
-
getProjectsWithHttpInfoAsync
Get all projects.- Returns:
- CompletableFuture<ApiResponse<ProjectsResponse>>
-
linkIncident
public CaseResponse linkIncident(String caseId, RelationshipToIncidentRequest body) throws ApiException Link incident to case.- Parameters:
caseId- Case's UUID or key (required)body- Incident link request (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
linkIncidentAsync
public CompletableFuture<CaseResponse> linkIncidentAsync(String caseId, RelationshipToIncidentRequest body) Link incident to case.- Parameters:
caseId- Case's UUID or key (required)body- Incident link request (required)- Returns:
- CompletableFuture<CaseResponse>
-
linkIncidentWithHttpInfo
public ApiResponse<CaseResponse> linkIncidentWithHttpInfo(String caseId, RelationshipToIncidentRequest body) throws ApiException Link an incident to a case- Parameters:
caseId- Case's UUID or key (required)body- Incident link request (required)- Returns:
- ApiResponse<CaseResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
linkIncidentWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> linkIncidentWithHttpInfoAsync(String caseId, RelationshipToIncidentRequest body) Link incident to case.- Parameters:
caseId- Case's UUID or key (required)body- Incident link request (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
linkJiraIssueToCase
Link existing Jira issue to case.- Parameters:
caseId- Case's UUID or key (required)body- Jira issue link request (required)- Throws:
ApiException- if fails to make API call
-
linkJiraIssueToCaseAsync
Link existing Jira issue to case.- Parameters:
caseId- Case's UUID or key (required)body- Jira issue link request (required)- Returns:
- CompletableFuture
-
linkJiraIssueToCaseWithHttpInfo
public ApiResponse<Void> linkJiraIssueToCaseWithHttpInfo(String caseId, JiraIssueLinkRequest body) throws ApiException Link an existing Jira issue to a case- Parameters:
caseId- Case's UUID or key (required)body- Jira issue link request (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 - 409 Conflict - 429 Too many requests -
-
linkJiraIssueToCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> linkJiraIssueToCaseWithHttpInfoAsync(String caseId, JiraIssueLinkRequest body) Link existing Jira issue to case.- Parameters:
caseId- Case's UUID or key (required)body- Jira issue link request (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
listCaseAutomationRules
List automation rules.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)- Returns:
- AutomationRulesResponse
- Throws:
ApiException- if fails to make API call
-
listCaseAutomationRulesAsync
List automation rules.See
listCaseAutomationRulesWithHttpInfoAsync(java.lang.String).- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)- Returns:
- CompletableFuture<AutomationRulesResponse>
-
listCaseAutomationRulesWithHttpInfo
public ApiResponse<AutomationRulesResponse> listCaseAutomationRulesWithHttpInfo(String projectId) throws ApiException Returns all automation rules configured for a project. Automation rules allow automatic actions to be triggered by case events like creation, status transitions, or attribute changes.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)- Returns:
- ApiResponse<AutomationRulesResponse>
- 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 -
-
listCaseAutomationRulesWithHttpInfoAsync
public CompletableFuture<ApiResponse<AutomationRulesResponse>> listCaseAutomationRulesWithHttpInfoAsync(String projectId) List automation rules.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)- Returns:
- CompletableFuture<ApiResponse<AutomationRulesResponse>>
-
listCaseLinks
List case links.- Parameters:
entityType- The entity type to look up links for. UseCASEto find links for a specific case. (required)entityId- The UUID of the entity to look up links for. (required)- Returns:
- CaseLinksResponse
- Throws:
ApiException- if fails to make API call
-
listCaseLinksAsync
List case links.- Parameters:
entityType- The entity type to look up links for. UseCASEto find links for a specific case. (required)entityId- The UUID of the entity to look up links for. (required)- Returns:
- CompletableFuture<CaseLinksResponse>
-
listCaseLinks
public CaseLinksResponse listCaseLinks(String entityType, String entityId, CaseManagementApi.ListCaseLinksOptionalParameters parameters) throws ApiException List case links.- Parameters:
entityType- The entity type to look up links for. UseCASEto find links for a specific case. (required)entityId- The UUID of the entity to look up links for. (required)parameters- Optional parameters for the request.- Returns:
- CaseLinksResponse
- Throws:
ApiException- if fails to make API call
-
listCaseLinksAsync
public CompletableFuture<CaseLinksResponse> listCaseLinksAsync(String entityType, String entityId, CaseManagementApi.ListCaseLinksOptionalParameters parameters) List case links.- Parameters:
entityType- The entity type to look up links for. UseCASEto find links for a specific case. (required)entityId- The UUID of the entity to look up links for. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<CaseLinksResponse>
-
listCaseLinksWithHttpInfo
public ApiResponse<CaseLinksResponse> listCaseLinksWithHttpInfo(String entityType, String entityId, CaseManagementApi.ListCaseLinksOptionalParameters parameters) throws ApiException Returns all links associated with a case. Links define relationships (for example, BLOCKS) between cases. Requires entity_type and entity_id query parameters.- Parameters:
entityType- The entity type to look up links for. UseCASEto find links for a specific case. (required)entityId- The UUID of the entity to look up links for. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<CaseLinksResponse>
- 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 -
-
listCaseLinksWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseLinksResponse>> listCaseLinksWithHttpInfoAsync(String entityType, String entityId, CaseManagementApi.ListCaseLinksOptionalParameters parameters) List case links.- Parameters:
entityType- The entity type to look up links for. UseCASEto find links for a specific case. (required)entityId- The UUID of the entity to look up links for. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<CaseLinksResponse>>
-
listCaseTimeline
Get case timeline.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- TimelineResponse
- Throws:
ApiException- if fails to make API call
-
listCaseTimelineAsync
Get case timeline.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CompletableFuture<TimelineResponse>
-
listCaseTimeline
public TimelineResponse listCaseTimeline(String caseId, CaseManagementApi.ListCaseTimelineOptionalParameters parameters) throws ApiException Get case timeline.- Parameters:
caseId- Case's UUID or key (required)parameters- Optional parameters for the request.- Returns:
- TimelineResponse
- Throws:
ApiException- if fails to make API call
-
listCaseTimelineAsync
public CompletableFuture<TimelineResponse> listCaseTimelineAsync(String caseId, CaseManagementApi.ListCaseTimelineOptionalParameters parameters) Get case timeline.- Parameters:
caseId- Case's UUID or key (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<TimelineResponse>
-
listCaseTimelineWithHttpInfo
public ApiResponse<TimelineResponse> listCaseTimelineWithHttpInfo(String caseId, CaseManagementApi.ListCaseTimelineOptionalParameters parameters) throws ApiException Returns the timeline of events for a case, including comments, status changes, and other activity. Supports pagination and sort order.- Parameters:
caseId- Case's UUID or key (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<TimelineResponse>
- 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 -
-
listCaseTimelineWithHttpInfoAsync
public CompletableFuture<ApiResponse<TimelineResponse>> listCaseTimelineWithHttpInfoAsync(String caseId, CaseManagementApi.ListCaseTimelineOptionalParameters parameters) Get case timeline.- Parameters:
caseId- Case's UUID or key (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<TimelineResponse>>
-
listCaseViews
List case views.- Parameters:
projectId- Filter views by project identifier. (required)- Returns:
- CaseViewsResponse
- Throws:
ApiException- if fails to make API call
-
listCaseViewsAsync
List case views.- Parameters:
projectId- Filter views by project identifier. (required)- Returns:
- CompletableFuture<CaseViewsResponse>
-
listCaseViewsWithHttpInfo
public ApiResponse<CaseViewsResponse> listCaseViewsWithHttpInfo(String projectId) throws ApiException Returns all saved case views for a given project. Views are saved search queries that allow quick access to filtered lists of cases.- Parameters:
projectId- Filter views by project identifier. (required)- Returns:
- ApiResponse<CaseViewsResponse>
- 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 -
-
listCaseViewsWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseViewsResponse>> listCaseViewsWithHttpInfoAsync(String projectId) List case views.- Parameters:
projectId- Filter views by project identifier. (required)- Returns:
- CompletableFuture<ApiResponse<CaseViewsResponse>>
-
listCaseWatchers
List case watchers.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CaseWatchersResponse
- Throws:
ApiException- if fails to make API call
-
listCaseWatchersAsync
List case watchers.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CompletableFuture<CaseWatchersResponse>
-
listCaseWatchersWithHttpInfo
public ApiResponse<CaseWatchersResponse> listCaseWatchersWithHttpInfo(String caseId) throws ApiException Returns the list of users who are watching a case. Watchers receive notifications about updates to the case.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- ApiResponse<CaseWatchersResponse>
- 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 -
-
listCaseWatchersWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseWatchersResponse>> listCaseWatchersWithHttpInfoAsync(String caseId) List case watchers.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CompletableFuture<ApiResponse<CaseWatchersResponse>>
-
listMaintenanceWindows
List maintenance windows.- Returns:
- MaintenanceWindowsResponse
- Throws:
ApiException- if fails to make API call
-
listMaintenanceWindowsAsync
List maintenance windows.- Returns:
- CompletableFuture<MaintenanceWindowsResponse>
-
listMaintenanceWindowsWithHttpInfo
public ApiResponse<MaintenanceWindowsResponse> listMaintenanceWindowsWithHttpInfo() throws ApiExceptionReturns all configured maintenance windows for event management cases. Maintenance windows define time periods during which case notifications and automation rules are suppressed for cases matching a given query.- Returns:
- ApiResponse<MaintenanceWindowsResponse>
- 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 -
-
listMaintenanceWindowsWithHttpInfoAsync
public CompletableFuture<ApiResponse<MaintenanceWindowsResponse>> listMaintenanceWindowsWithHttpInfoAsync()List maintenance windows.- Returns:
- CompletableFuture<ApiResponse<MaintenanceWindowsResponse>>
-
listUserCaseProjectFavorites
List project favorites.- Returns:
- ProjectFavoritesResponse
- Throws:
ApiException- if fails to make API call
-
listUserCaseProjectFavoritesAsync
List project favorites.- Returns:
- CompletableFuture<ProjectFavoritesResponse>
-
listUserCaseProjectFavoritesWithHttpInfo
public ApiResponse<ProjectFavoritesResponse> listUserCaseProjectFavoritesWithHttpInfo() throws ApiExceptionReturns the list of case projects that the current authenticated user has marked as favorites.- Returns:
- ApiResponse<ProjectFavoritesResponse>
- 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 -
-
listUserCaseProjectFavoritesWithHttpInfoAsync
public CompletableFuture<ApiResponse<ProjectFavoritesResponse>> listUserCaseProjectFavoritesWithHttpInfoAsync()List project favorites.- Returns:
- CompletableFuture<ApiResponse<ProjectFavoritesResponse>>
-
moveCaseToProject
Update case project.See
moveCaseToProjectWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.ProjectRelationship).- Parameters:
caseId- Case's UUID or key (required)body- Project update request (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
moveCaseToProjectAsync
public CompletableFuture<CaseResponse> moveCaseToProjectAsync(String caseId, ProjectRelationship body) Update case project.- Parameters:
caseId- Case's UUID or key (required)body- Project update request (required)- Returns:
- CompletableFuture<CaseResponse>
-
moveCaseToProjectWithHttpInfo
public ApiResponse<CaseResponse> moveCaseToProjectWithHttpInfo(String caseId, ProjectRelationship body) throws ApiException Update the project associated with a case- Parameters:
caseId- Case's UUID or key (required)body- Project update request (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
moveCaseToProjectWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> moveCaseToProjectWithHttpInfoAsync(String caseId, ProjectRelationship body) Update case project.See
moveCaseToProjectWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.ProjectRelationship).- Parameters:
caseId- Case's UUID or key (required)body- Project update request (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
removeCaseInsights
Remove insights from a case.- Parameters:
caseId- Case's UUID or key (required)body- Case insights request. (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
removeCaseInsightsAsync
public CompletableFuture<CaseResponse> removeCaseInsightsAsync(String caseId, CaseInsightsRequest body) Remove insights from a case.- Parameters:
caseId- Case's UUID or key (required)body- Case insights request. (required)- Returns:
- CompletableFuture<CaseResponse>
-
removeCaseInsightsWithHttpInfo
public ApiResponse<CaseResponse> removeCaseInsightsWithHttpInfo(String caseId, CaseInsightsRequest body) throws ApiException Removes one or more previously added insights from a case by specifying their type and resource identifier in the request body.- Parameters:
caseId- Case's UUID or key (required)body- Case insights request. (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
removeCaseInsightsWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> removeCaseInsightsWithHttpInfoAsync(String caseId, CaseInsightsRequest body) Remove insights from a case.- Parameters:
caseId- Case's UUID or key (required)body- Case insights request. (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
searchCases
Search cases.- Returns:
- CasesResponse
- Throws:
ApiException- if fails to make API call
-
searchCasesAsync
Search cases.- Returns:
- CompletableFuture<CasesResponse>
-
searchCases
public CasesResponse searchCases(CaseManagementApi.SearchCasesOptionalParameters parameters) throws ApiException Search cases.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CasesResponse
- Throws:
ApiException- if fails to make API call
-
searchCasesAsync
public CompletableFuture<CasesResponse> searchCasesAsync(CaseManagementApi.SearchCasesOptionalParameters parameters) Search cases.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<CasesResponse>
-
searchCasesWithPagination
Search cases.- Returns:
- PaginationIterable<Case>
-
searchCasesWithPagination
public PaginationIterable<Case> searchCasesWithPagination(CaseManagementApi.SearchCasesOptionalParameters parameters) Search cases.- Returns:
- CasesResponse
-
searchCasesWithHttpInfo
public ApiResponse<CasesResponse> searchCasesWithHttpInfo(CaseManagementApi.SearchCasesOptionalParameters parameters) throws ApiException Search cases.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<CasesResponse>
- 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 -
-
searchCasesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CasesResponse>> searchCasesWithHttpInfoAsync(CaseManagementApi.SearchCasesOptionalParameters parameters) Search cases.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<CasesResponse>>
-
unarchiveCase
Unarchive case.See
unarchiveCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Unarchive case payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
unarchiveCaseAsync
Unarchive case.See
unarchiveCaseWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Unarchive case payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
unarchiveCaseWithHttpInfo
public ApiResponse<CaseResponse> unarchiveCaseWithHttpInfo(String caseId, CaseEmptyRequest body) throws ApiException Unarchive case- Parameters:
caseId- Case's UUID or key (required)body- Unarchive case payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
unarchiveCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> unarchiveCaseWithHttpInfoAsync(String caseId, CaseEmptyRequest body) Unarchive case.See
unarchiveCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Unarchive case payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
unassignCase
Unassign case.See
unassignCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Unassign case payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
unassignCaseAsync
Unassign case.See
unassignCaseWithHttpInfoAsync(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Unassign case payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
unassignCaseWithHttpInfo
public ApiResponse<CaseResponse> unassignCaseWithHttpInfo(String caseId, CaseEmptyRequest body) throws ApiException Unassign case- Parameters:
caseId- Case's UUID or key (required)body- Unassign case payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
unassignCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> unassignCaseWithHttpInfoAsync(String caseId, CaseEmptyRequest body) Unassign case.See
unassignCaseWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseEmptyRequest).- Parameters:
caseId- Case's UUID or key (required)body- Unassign case payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
unfavoriteCaseProject
Unfavorite a project.- Parameters:
projectId- Project UUID. (required)- Throws:
ApiException- if fails to make API call
-
unfavoriteCaseProjectAsync
Unfavorite a project.See
unfavoriteCaseProjectWithHttpInfoAsync(java.lang.String).- Parameters:
projectId- Project UUID. (required)- Returns:
- CompletableFuture
-
unfavoriteCaseProjectWithHttpInfo
Removes a case project from the current user's favorites list.- Parameters:
projectId- Project UUID. (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 -
-
unfavoriteCaseProjectWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> unfavoriteCaseProjectWithHttpInfoAsync(String projectId) Unfavorite a project.- Parameters:
projectId- Project UUID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
unlinkJiraIssue
Remove Jira issue link from case.- Parameters:
caseId- Case's UUID or key (required)- Throws:
ApiException- if fails to make API call
-
unlinkJiraIssueAsync
Remove Jira issue link from case.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CompletableFuture
-
unlinkJiraIssueWithHttpInfo
Remove the link between a Jira issue and a case- Parameters:
caseId- Case's UUID or key (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 -
-
unlinkJiraIssueWithHttpInfoAsync
Remove Jira issue link from case.- Parameters:
caseId- Case's UUID or key (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
unwatchCase
Unwatch a case.See
unwatchCaseWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)userUuid- The UUID of the user to add or remove as a watcher. (required)- Throws:
ApiException- if fails to make API call
-
unwatchCaseAsync
Unwatch a case.See
unwatchCaseWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)userUuid- The UUID of the user to add or remove as a watcher. (required)- Returns:
- CompletableFuture
-
unwatchCaseWithHttpInfo
public ApiResponse<Void> unwatchCaseWithHttpInfo(String caseId, String userUuid) throws ApiException Removes a user from the watchers list of a case. The user no longer receives notifications about updates to the case.- Parameters:
caseId- Case's UUID or key (required)userUuid- The UUID of the user to add or remove as a watcher. (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 -
-
unwatchCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> unwatchCaseWithHttpInfoAsync(String caseId, String userUuid) Unwatch a case.See
unwatchCaseWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)userUuid- The UUID of the user to add or remove as a watcher. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateAttributes
public CaseResponse updateAttributes(String caseId, CaseUpdateAttributesRequest body) throws ApiException Update case attributes.- Parameters:
caseId- Case's UUID or key (required)body- Case attributes update payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
updateAttributesAsync
public CompletableFuture<CaseResponse> updateAttributesAsync(String caseId, CaseUpdateAttributesRequest body) Update case attributes.- Parameters:
caseId- Case's UUID or key (required)body- Case attributes update payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
updateAttributesWithHttpInfo
public ApiResponse<CaseResponse> updateAttributesWithHttpInfo(String caseId, CaseUpdateAttributesRequest body) throws ApiException Update case attributes- Parameters:
caseId- Case's UUID or key (required)body- Case attributes update payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
updateAttributesWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> updateAttributesWithHttpInfoAsync(String caseId, CaseUpdateAttributesRequest body) Update case attributes.- Parameters:
caseId- Case's UUID or key (required)body- Case attributes update payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
updateCaseAutomationRule
public AutomationRuleResponse updateCaseAutomationRule(String projectId, String ruleId, AutomationRuleUpdateRequest body) throws ApiException Update an automation rule.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)body- Automation rule payload. (required)- Returns:
- AutomationRuleResponse
- Throws:
ApiException- if fails to make API call
-
updateCaseAutomationRuleAsync
public CompletableFuture<AutomationRuleResponse> updateCaseAutomationRuleAsync(String projectId, String ruleId, AutomationRuleUpdateRequest body) Update an automation rule.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)body- Automation rule payload. (required)- Returns:
- CompletableFuture<AutomationRuleResponse>
-
updateCaseAutomationRuleWithHttpInfo
public ApiResponse<AutomationRuleResponse> updateCaseAutomationRuleWithHttpInfo(String projectId, String ruleId, AutomationRuleUpdateRequest body) throws ApiException Updates the trigger, action, name, or state of an existing automation rule.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)body- Automation rule payload. (required)- Returns:
- ApiResponse<AutomationRuleResponse>
- 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 -
-
updateCaseAutomationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<AutomationRuleResponse>> updateCaseAutomationRuleWithHttpInfoAsync(String projectId, String ruleId, AutomationRuleUpdateRequest body) Update an automation rule.- Parameters:
projectId- The UUID of the project that owns the automation rules. (required)ruleId- The UUID of the automation rule. (required)body- Automation rule payload. (required)- Returns:
- CompletableFuture<ApiResponse<AutomationRuleResponse>>
-
updateCaseComment
public void updateCaseComment(String caseId, String cellId, CaseUpdateCommentRequest body) throws ApiException Update case comment.- Parameters:
caseId- Case's UUID or key (required)cellId- The UUID of the timeline cell (comment) to update. (required)body- Case update comment payload. (required)- Throws:
ApiException- if fails to make API call
-
updateCaseCommentAsync
public CompletableFuture<Void> updateCaseCommentAsync(String caseId, String cellId, CaseUpdateCommentRequest body) Update case comment.- Parameters:
caseId- Case's UUID or key (required)cellId- The UUID of the timeline cell (comment) to update. (required)body- Case update comment payload. (required)- Returns:
- CompletableFuture
-
updateCaseCommentWithHttpInfo
public ApiResponse<Void> updateCaseCommentWithHttpInfo(String caseId, String cellId, CaseUpdateCommentRequest body) throws ApiException Updates the text content of an existing comment on a case timeline. The comment is identified by its cell ID.- Parameters:
caseId- Case's UUID or key (required)cellId- The UUID of the timeline cell (comment) to update. (required)body- Case update comment payload. (required)- Returns:
- ApiResponse<Void>
- 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 -
-
updateCaseCommentWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> updateCaseCommentWithHttpInfoAsync(String caseId, String cellId, CaseUpdateCommentRequest body) Update case comment.- Parameters:
caseId- Case's UUID or key (required)cellId- The UUID of the timeline cell (comment) to update. (required)body- Case update comment payload. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateCaseCustomAttribute
public CaseResponse updateCaseCustomAttribute(String caseId, String customAttributeKey, CaseUpdateCustomAttributeRequest body) throws ApiException Update case custom attribute.- Parameters:
caseId- Case's UUID or key (required)customAttributeKey- Case Custom attribute's key (required)body- Update case custom attribute payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
updateCaseCustomAttributeAsync
public CompletableFuture<CaseResponse> updateCaseCustomAttributeAsync(String caseId, String customAttributeKey, CaseUpdateCustomAttributeRequest body) Update case custom attribute.- Parameters:
caseId- Case's UUID or key (required)customAttributeKey- Case Custom attribute's key (required)body- Update case custom attribute payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
updateCaseCustomAttributeWithHttpInfo
public ApiResponse<CaseResponse> updateCaseCustomAttributeWithHttpInfo(String caseId, String customAttributeKey, CaseUpdateCustomAttributeRequest body) throws ApiException Update case custom attribute- Parameters:
caseId- Case's UUID or key (required)customAttributeKey- Case Custom attribute's key (required)body- Update case custom attribute payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
updateCaseCustomAttributeWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> updateCaseCustomAttributeWithHttpInfoAsync(String caseId, String customAttributeKey, CaseUpdateCustomAttributeRequest body) Update case custom attribute.- Parameters:
caseId- Case's UUID or key (required)customAttributeKey- Case Custom attribute's key (required)body- Update case custom attribute payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
updateCaseDescription
public CaseResponse updateCaseDescription(String caseId, CaseUpdateDescriptionRequest body) throws ApiException Update case description.- Parameters:
caseId- Case's UUID or key (required)body- Case description update payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
updateCaseDescriptionAsync
public CompletableFuture<CaseResponse> updateCaseDescriptionAsync(String caseId, CaseUpdateDescriptionRequest body) Update case description.- Parameters:
caseId- Case's UUID or key (required)body- Case description update payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
updateCaseDescriptionWithHttpInfo
public ApiResponse<CaseResponse> updateCaseDescriptionWithHttpInfo(String caseId, CaseUpdateDescriptionRequest body) throws ApiException Update case description- Parameters:
caseId- Case's UUID or key (required)body- Case description update payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
updateCaseDescriptionWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> updateCaseDescriptionWithHttpInfoAsync(String caseId, CaseUpdateDescriptionRequest body) Update case description.- Parameters:
caseId- Case's UUID or key (required)body- Case description update payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
updateCaseDueDate
public CaseResponse updateCaseDueDate(String caseId, CaseUpdateDueDateRequest body) throws ApiException Update case due date.- Parameters:
caseId- Case's UUID or key (required)body- Case due date update payload. (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
updateCaseDueDateAsync
public CompletableFuture<CaseResponse> updateCaseDueDateAsync(String caseId, CaseUpdateDueDateRequest body) Update case due date.- Parameters:
caseId- Case's UUID or key (required)body- Case due date update payload. (required)- Returns:
- CompletableFuture<CaseResponse>
-
updateCaseDueDateWithHttpInfo
public ApiResponse<CaseResponse> updateCaseDueDateWithHttpInfo(String caseId, CaseUpdateDueDateRequest body) throws ApiException Sets or updates the due date for a case. The due date is a calendar date (without a time component) indicating when the case should be resolved.- Parameters:
caseId- Case's UUID or key (required)body- Case due date update payload. (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
updateCaseDueDateWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> updateCaseDueDateWithHttpInfoAsync(String caseId, CaseUpdateDueDateRequest body) Update case due date.- Parameters:
caseId- Case's UUID or key (required)body- Case due date update payload. (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
updateCaseResolvedReason
public CaseResponse updateCaseResolvedReason(String caseId, CaseUpdateResolvedReasonRequest body) throws ApiException Update case resolved reason.- Parameters:
caseId- Case's UUID or key (required)body- Case resolved reason update payload. (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
updateCaseResolvedReasonAsync
public CompletableFuture<CaseResponse> updateCaseResolvedReasonAsync(String caseId, CaseUpdateResolvedReasonRequest body) Update case resolved reason.- Parameters:
caseId- Case's UUID or key (required)body- Case resolved reason update payload. (required)- Returns:
- CompletableFuture<CaseResponse>
-
updateCaseResolvedReasonWithHttpInfo
public ApiResponse<CaseResponse> updateCaseResolvedReasonWithHttpInfo(String caseId, CaseUpdateResolvedReasonRequest body) throws ApiException Sets the resolved reason for a security case (for example, FALSE_POSITIVE, TRUE_POSITIVE). Applicable to security-type cases.- Parameters:
caseId- Case's UUID or key (required)body- Case resolved reason update payload. (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
updateCaseResolvedReasonWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> updateCaseResolvedReasonWithHttpInfoAsync(String caseId, CaseUpdateResolvedReasonRequest body) Update case resolved reason.- Parameters:
caseId- Case's UUID or key (required)body- Case resolved reason update payload. (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
updateCaseTitle
Update case title.- Parameters:
caseId- Case's UUID or key (required)body- Case title update payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
updateCaseTitleAsync
public CompletableFuture<CaseResponse> updateCaseTitleAsync(String caseId, CaseUpdateTitleRequest body) Update case title.- Parameters:
caseId- Case's UUID or key (required)body- Case title update payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
updateCaseTitleWithHttpInfo
public ApiResponse<CaseResponse> updateCaseTitleWithHttpInfo(String caseId, CaseUpdateTitleRequest body) throws ApiException Update case title- Parameters:
caseId- Case's UUID or key (required)body- Case title update payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
updateCaseTitleWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> updateCaseTitleWithHttpInfoAsync(String caseId, CaseUpdateTitleRequest body) Update case title.- Parameters:
caseId- Case's UUID or key (required)body- Case title update payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
updateCaseView
public CaseViewResponse updateCaseView(String viewId, CaseViewUpdateRequest body) throws ApiException Update a case view.See
updateCaseViewWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseViewUpdateRequest).- Parameters:
viewId- The UUID of the case view. (required)body- Case view payload. (required)- Returns:
- CaseViewResponse
- Throws:
ApiException- if fails to make API call
-
updateCaseViewAsync
public CompletableFuture<CaseViewResponse> updateCaseViewAsync(String viewId, CaseViewUpdateRequest body) Update a case view.- Parameters:
viewId- The UUID of the case view. (required)body- Case view payload. (required)- Returns:
- CompletableFuture<CaseViewResponse>
-
updateCaseViewWithHttpInfo
public ApiResponse<CaseViewResponse> updateCaseViewWithHttpInfo(String viewId, CaseViewUpdateRequest body) throws ApiException Updates the name, query, or notification rule of an existing case view.- Parameters:
viewId- The UUID of the case view. (required)body- Case view payload. (required)- Returns:
- ApiResponse<CaseViewResponse>
- 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 -
-
updateCaseViewWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseViewResponse>> updateCaseViewWithHttpInfoAsync(String viewId, CaseViewUpdateRequest body) Update a case view.See
updateCaseViewWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseViewUpdateRequest).- Parameters:
viewId- The UUID of the case view. (required)body- Case view payload. (required)- Returns:
- CompletableFuture<ApiResponse<CaseViewResponse>>
-
updateMaintenanceWindow
public MaintenanceWindowResponse updateMaintenanceWindow(String maintenanceWindowId, MaintenanceWindowUpdateRequest body) throws ApiException Update a maintenance window.- Parameters:
maintenanceWindowId- The UUID of the maintenance window. (required)body- Maintenance window payload. (required)- Returns:
- MaintenanceWindowResponse
- Throws:
ApiException- if fails to make API call
-
updateMaintenanceWindowAsync
public CompletableFuture<MaintenanceWindowResponse> updateMaintenanceWindowAsync(String maintenanceWindowId, MaintenanceWindowUpdateRequest body) Update a maintenance window.- Parameters:
maintenanceWindowId- The UUID of the maintenance window. (required)body- Maintenance window payload. (required)- Returns:
- CompletableFuture<MaintenanceWindowResponse>
-
updateMaintenanceWindowWithHttpInfo
public ApiResponse<MaintenanceWindowResponse> updateMaintenanceWindowWithHttpInfo(String maintenanceWindowId, MaintenanceWindowUpdateRequest body) throws ApiException Updates the name, query, start time, or end time of an existing maintenance window.- Parameters:
maintenanceWindowId- The UUID of the maintenance window. (required)body- Maintenance window payload. (required)- Returns:
- ApiResponse<MaintenanceWindowResponse>
- 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 -
-
updateMaintenanceWindowWithHttpInfoAsync
public CompletableFuture<ApiResponse<MaintenanceWindowResponse>> updateMaintenanceWindowWithHttpInfoAsync(String maintenanceWindowId, MaintenanceWindowUpdateRequest body) Update a maintenance window.- Parameters:
maintenanceWindowId- The UUID of the maintenance window. (required)body- Maintenance window payload. (required)- Returns:
- CompletableFuture<ApiResponse<MaintenanceWindowResponse>>
-
updatePriority
public CaseResponse updatePriority(String caseId, CaseUpdatePriorityRequest body) throws ApiException Update case priority.- Parameters:
caseId- Case's UUID or key (required)body- Case priority update payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
updatePriorityAsync
public CompletableFuture<CaseResponse> updatePriorityAsync(String caseId, CaseUpdatePriorityRequest body) Update case priority.- Parameters:
caseId- Case's UUID or key (required)body- Case priority update payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
updatePriorityWithHttpInfo
public ApiResponse<CaseResponse> updatePriorityWithHttpInfo(String caseId, CaseUpdatePriorityRequest body) throws ApiException Update case priority- Parameters:
caseId- Case's UUID or key (required)body- Case priority update payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
updatePriorityWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> updatePriorityWithHttpInfoAsync(String caseId, CaseUpdatePriorityRequest body) Update case priority.- Parameters:
caseId- Case's UUID or key (required)body- Case priority update payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
updateProject
public ProjectResponse updateProject(String projectId, ProjectUpdateRequest body) throws ApiException Update a project.See
updateProjectWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.ProjectUpdateRequest).- Parameters:
projectId- Project UUID. (required)body- Project payload. (required)- Returns:
- ProjectResponse
- Throws:
ApiException- if fails to make API call
-
updateProjectAsync
public CompletableFuture<ProjectResponse> updateProjectAsync(String projectId, ProjectUpdateRequest body) Update a project.- Parameters:
projectId- Project UUID. (required)body- Project payload. (required)- Returns:
- CompletableFuture<ProjectResponse>
-
updateProjectWithHttpInfo
public ApiResponse<ProjectResponse> updateProjectWithHttpInfo(String projectId, ProjectUpdateRequest body) throws ApiException Update a project.- Parameters:
projectId- Project UUID. (required)body- Project payload. (required)- Returns:
- ApiResponse<ProjectResponse>
- 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 -
-
updateProjectWithHttpInfoAsync
public CompletableFuture<ApiResponse<ProjectResponse>> updateProjectWithHttpInfoAsync(String projectId, ProjectUpdateRequest body) Update a project.See
updateProjectWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.ProjectUpdateRequest).- Parameters:
projectId- Project UUID. (required)body- Project payload. (required)- Returns:
- CompletableFuture<ApiResponse<ProjectResponse>>
-
updateProjectNotificationRule
public void updateProjectNotificationRule(String projectId, String notificationRuleId, CaseNotificationRuleUpdateRequest body) throws ApiException Update a notification rule.- Parameters:
projectId- Project UUID (required)notificationRuleId- Notification Rule UUID (required)body- Notification rule payload (required)- Throws:
ApiException- if fails to make API call
-
updateProjectNotificationRuleAsync
public CompletableFuture<Void> updateProjectNotificationRuleAsync(String projectId, String notificationRuleId, CaseNotificationRuleUpdateRequest body) Update a notification rule.- Parameters:
projectId- Project UUID (required)notificationRuleId- Notification Rule UUID (required)body- Notification rule payload (required)- Returns:
- CompletableFuture
-
updateProjectNotificationRuleWithHttpInfo
public ApiResponse<Void> updateProjectNotificationRuleWithHttpInfo(String projectId, String notificationRuleId, CaseNotificationRuleUpdateRequest body) throws ApiException Update a notification rule.- Parameters:
projectId- Project UUID (required)notificationRuleId- Notification Rule UUID (required)body- Notification rule payload (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 -
-
updateProjectNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> updateProjectNotificationRuleWithHttpInfoAsync(String projectId, String notificationRuleId, CaseNotificationRuleUpdateRequest body) Update a notification rule.- Parameters:
projectId- Project UUID (required)notificationRuleId- Notification Rule UUID (required)body- Notification rule payload (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
updateStatus
Update case status.See
updateStatusWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseUpdateStatusRequest).- Parameters:
caseId- Case's UUID or key (required)body- Case status update payload (required)- Returns:
- CaseResponse
- Throws:
ApiException- if fails to make API call
-
updateStatusAsync
public CompletableFuture<CaseResponse> updateStatusAsync(String caseId, CaseUpdateStatusRequest body) Update case status.- Parameters:
caseId- Case's UUID or key (required)body- Case status update payload (required)- Returns:
- CompletableFuture<CaseResponse>
-
updateStatusWithHttpInfo
public ApiResponse<CaseResponse> updateStatusWithHttpInfo(String caseId, CaseUpdateStatusRequest body) throws ApiException Update case status- Parameters:
caseId- Case's UUID or key (required)body- Case status update payload (required)- Returns:
- ApiResponse<CaseResponse>
- 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 -
-
updateStatusWithHttpInfoAsync
public CompletableFuture<ApiResponse<CaseResponse>> updateStatusWithHttpInfoAsync(String caseId, CaseUpdateStatusRequest body) Update case status.See
updateStatusWithHttpInfo(java.lang.String, com.datadog.api.client.v2.model.CaseUpdateStatusRequest).- Parameters:
caseId- Case's UUID or key (required)body- Case status update payload (required)- Returns:
- CompletableFuture<ApiResponse<CaseResponse>>
-
watchCase
Watch a case.See
watchCaseWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)userUuid- The UUID of the user to add or remove as a watcher. (required)- Throws:
ApiException- if fails to make API call
-
watchCaseAsync
Watch a case.See
watchCaseWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)userUuid- The UUID of the user to add or remove as a watcher. (required)- Returns:
- CompletableFuture
-
watchCaseWithHttpInfo
Adds a user (identified by their UUID) as a watcher of a case. The user receives notifications about subsequent updates to the case.- Parameters:
caseId- Case's UUID or key (required)userUuid- The UUID of the user to add or remove as a watcher. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
watchCaseWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> watchCaseWithHttpInfoAsync(String caseId, String userUuid) Watch a case.See
watchCaseWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
caseId- Case's UUID or key (required)userUuid- The UUID of the user to add or remove as a watcher. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-