diff --git a/.apigentools-info b/.apigentools-info index 847cda7f9f2..1860cd6f9a1 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-28 18:37:42.141235", - "spec_repo_commit": "b4ad1786" + "regenerated": "2024-10-28 23:07:46.686658", + "spec_repo_commit": "4251a422" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-28 18:37:42.159728", - "spec_repo_commit": "b4ad1786" + "regenerated": "2024-10-28 23:07:46.704767", + "spec_repo_commit": "4251a422" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index a07445b667b..f12bb5661a0 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -23271,6 +23271,7 @@ components: incident_notification_settings_write: Configure Incidents Notification settings. incident_read: View incidents in Datadog. + incident_settings_read: View Incident Settings. incident_settings_write: Configure Incident Settings. incident_write: Create, view, and manage incidents in Datadog. metrics_read: View custom metrics. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b4665794e53..d84b313780d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -421,6 +421,20 @@ components: required: true schema: type: string + IncidentTypeIDPathParameter: + description: The UUID of the incident type. + in: path + name: incident_type_id + required: true + schema: + type: string + IncidentTypeIncludeDeletedParameter: + description: Include deleted incident types in the response. + in: query + name: include_deleted + schema: + default: false + type: boolean Include: description: Include relationship data. explode: true @@ -10450,6 +10464,11 @@ components: type: dropdown value: SEV-5 type: object + incident_type_uuid: + description: A unique identifier that represents an incident type. The default + incident type will be used if this property is not provided. + example: 00000000-0000-0000-0000-000000000000 + type: string initial_cells: description: An array of initial timeline cells to be placed at the beginning of the incident timeline. @@ -10857,6 +10876,10 @@ components: type: dropdown value: SEV-5 type: object + incident_type_uuid: + description: A unique identifier that represents an incident type. + example: 00000000-0000-0000-0000-000000000000 + type: string modified: description: Timestamp when the incident was last modified. format: date-time @@ -11802,6 +11825,188 @@ components: type: string x-enum-varnames: - INCIDENTS + IncidentTypeAttributes: + description: Incident type's attributes. + properties: + createdAt: + description: Timestamp when the incident type was created. + format: date-time + readOnly: true + type: string + createdBy: + description: A unique identifier that represents the user that created the + incident type. + example: 00000000-0000-0000-0000-000000000000 + readOnly: true + type: string + description: + description: Text that describes the incident type. + example: Any incidents that harm (or have the potential to) the confidentiality, + integrity, or availability of our data. + type: string + is_default: + default: false + description: If true, this incident type will be used as the default incident + type if a type is not specified during the creation of incident resources. + example: true + type: boolean + lastModifiedBy: + description: A unique identifier that represents the user that last modified + the incident type. + example: 00000000-0000-0000-0000-000000000000 + readOnly: true + type: string + modifiedAt: + description: Timestamp when the incident type was last modified. + format: date-time + readOnly: true + type: string + name: + description: The name of the incident type. + example: Security Incident + type: string + prefix: + description: The string that will be prepended to the incident title across + the Datadog app. + example: IR + readOnly: true + type: string + required: + - name + type: object + IncidentTypeCreateData: + description: Incident type data for a create request. + properties: + attributes: + $ref: '#/components/schemas/IncidentTypeAttributes' + type: + $ref: '#/components/schemas/IncidentTypeType' + required: + - type + - attributes + type: object + IncidentTypeCreateRequest: + description: Create request for an incident type. + properties: + data: + $ref: '#/components/schemas/IncidentTypeCreateData' + required: + - data + type: object + IncidentTypeListResponse: + description: Response with a list of incident types. + properties: + data: + description: An array of incident type objects. + items: + $ref: '#/components/schemas/IncidentTypeObject' + type: array + required: + - data + type: object + IncidentTypeObject: + description: Incident type response data. + properties: + attributes: + $ref: '#/components/schemas/IncidentTypeAttributes' + id: + description: The incident type's ID. + example: 00000000-0000-0000-0000-000000000000 + type: string + type: + $ref: '#/components/schemas/IncidentTypeType' + required: + - id + - type + type: object + IncidentTypePatchData: + description: Incident type data for a patch request. + properties: + attributes: + $ref: '#/components/schemas/IncidentTypeUpdateAttributes' + id: + description: The incident type's ID. + example: 00000000-0000-0000-0000-000000000000 + type: string + type: + $ref: '#/components/schemas/IncidentTypeType' + required: + - id + - type + - attributes + type: object + IncidentTypePatchRequest: + description: Patch request for an incident type. + properties: + data: + $ref: '#/components/schemas/IncidentTypePatchData' + required: + - data + type: object + IncidentTypeResponse: + description: Incident type response data. + properties: + data: + $ref: '#/components/schemas/IncidentTypeObject' + required: + - data + type: object + IncidentTypeType: + default: incident_types + description: Incident type resource type. + enum: + - incident_types + example: incident_types + type: string + x-enum-varnames: + - INCIDENT_TYPES + IncidentTypeUpdateAttributes: + description: Incident type's attributes for updates. + properties: + createdAt: + description: Timestamp when the incident type was created. + format: date-time + readOnly: true + type: string + createdBy: + description: A unique identifier that represents the user that created the + incident type. + example: 00000000-0000-0000-0000-000000000000 + readOnly: true + type: string + description: + description: Text that describes the incident type. + example: 'Any incidents that harm (or have the potential to) the confidentiality, + integrity, or availability of our data. Note: This will notify the security + team.' + type: string + is_default: + description: When true, this incident type will be used as the default type + when an incident type is not specified. + example: true + type: boolean + lastModifiedBy: + description: A unique identifier that represents the user that last modified + the incident type. + example: 00000000-0000-0000-0000-000000000000 + readOnly: true + type: string + modifiedAt: + description: Timestamp when the incident type was last modified. + format: date-time + readOnly: true + type: string + name: + description: The name of the incident type. + example: Security Incident + type: string + prefix: + description: The string that will be prepended to the incident title across + the Datadog app. + example: IR + readOnly: true + type: string + type: object IncidentUpdateAttributes: description: The incident's attributes for an update request. properties: @@ -11945,6 +12150,7 @@ components: customer_impact_start: null customer_impacted: false detected: '2020-04-14T00:00:00+00:00' + incident_type_uuid: 00000000-0000-0000-0000-000000000001 modified: '2020-09-17T14:16:58.696424+00:00' public_id: 1 resolved: null @@ -11990,6 +12196,7 @@ components: customer_impact_start: null customer_impacted: false detected: '2020-04-14T00:00:00+00:00' + incident_type_uuid: 00000000-0000-0000-0000-000000000002 modified: '2020-09-17T14:16:58.696424+00:00' public_id: 2 resolved: null @@ -25655,6 +25862,7 @@ components: incident_notification_settings_write: Configure Incidents Notification settings. incident_read: View incidents in Datadog. + incident_settings_read: View Incident Settings. incident_settings_write: Configure Incident Settings. incident_write: Create, view, and manage incidents in Datadog. metrics_read: View custom metrics. @@ -29794,6 +30002,206 @@ paths: - incident_write x-unstable: '**Note**: This endpoint is in public beta. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + /api/v2/incidents/config/types: + get: + description: Get all incident types. + operationId: ListIncidentTypes + parameters: + - $ref: '#/components/parameters/IncidentTypeIncludeDeletedParameter' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IncidentTypeListResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - incident_settings_read + - incident_read + summary: Get a list of incident types + tags: + - Incidents + x-permission: + operator: OR + permissions: + - incident_settings_read + - incident_read + x-unstable: '**Note**: This endpoint is in public beta. + + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + post: + description: Create an incident type. + operationId: CreateIncidentType + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IncidentTypeCreateRequest' + description: Incident type payload. + required: true + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/IncidentTypeResponse' + description: CREATED + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - incident_settings_write + summary: Create an incident type + tags: + - Incidents + x-codegen-request-body-name: body + x-permission: + operator: OR + permissions: + - incident_settings_write + x-unstable: '**Note**: This endpoint is in public beta. + + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + /api/v2/incidents/config/types/{incident_type_id}: + delete: + description: Delete an incident type. + operationId: DeleteIncidentType + parameters: + - $ref: '#/components/parameters/IncidentTypeIDPathParameter' + responses: + '204': + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - incident_settings_write + summary: Delete an incident type + tags: + - Incidents + x-codegen-request-body-name: body + x-permission: + operator: OR + permissions: + - incident_settings_write + x-unstable: '**Note**: This endpoint is in public beta. + + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + get: + description: Get incident type details. + operationId: GetIncidentType + parameters: + - $ref: '#/components/parameters/IncidentTypeIDPathParameter' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IncidentTypeResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - incident_settings_read + - incident_read + summary: Get incident type details + tags: + - Incidents + x-permission: + operator: OR + permissions: + - incident_settings_read + - incident_read + x-unstable: '**Note**: This endpoint is in public beta. + + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + patch: + description: Update an incident type. + operationId: UpdateIncidentType + parameters: + - $ref: '#/components/parameters/IncidentTypeIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IncidentTypePatchRequest' + description: Incident type payload. + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/IncidentTypeResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - incident_settings_write + summary: Update an incident type + tags: + - Incidents + x-codegen-request-body-name: body + x-permission: + operator: OR + permissions: + - incident_settings_write + x-unstable: '**Note**: This endpoint is in public beta. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' /api/v2/incidents/search: get: diff --git a/examples/v2/incidents/CreateIncidentType.java b/examples/v2/incidents/CreateIncidentType.java new file mode 100644 index 00000000000..08ffb5d20f6 --- /dev/null +++ b/examples/v2/incidents/CreateIncidentType.java @@ -0,0 +1,40 @@ +// Create an incident type returns "CREATED" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.IncidentsApi; +import com.datadog.api.client.v2.model.IncidentTypeAttributes; +import com.datadog.api.client.v2.model.IncidentTypeCreateData; +import com.datadog.api.client.v2.model.IncidentTypeCreateRequest; +import com.datadog.api.client.v2.model.IncidentTypeResponse; +import com.datadog.api.client.v2.model.IncidentTypeType; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.createIncidentType", true); + IncidentsApi apiInstance = new IncidentsApi(defaultClient); + + IncidentTypeCreateRequest body = + new IncidentTypeCreateRequest() + .data( + new IncidentTypeCreateData() + .attributes( + new IncidentTypeAttributes() + .description("8d4bbb66dccf2456") + .isDefault(true) + .name("8d4bbb66dccf2456")) + .type(IncidentTypeType.INCIDENT_TYPES)); + + try { + IncidentTypeResponse result = apiInstance.createIncidentType(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IncidentsApi#createIncidentType"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/incidents/DeleteIncidentType.java b/examples/v2/incidents/DeleteIncidentType.java new file mode 100644 index 00000000000..920a0064611 --- /dev/null +++ b/examples/v2/incidents/DeleteIncidentType.java @@ -0,0 +1,26 @@ +// Delete an incident type returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.IncidentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.deleteIncidentType", true); + IncidentsApi apiInstance = new IncidentsApi(defaultClient); + + // there is a valid "incident_type" in the system + String INCIDENT_TYPE_DATA_ID = System.getenv("INCIDENT_TYPE_DATA_ID"); + + try { + apiInstance.deleteIncidentType(INCIDENT_TYPE_DATA_ID); + } catch (ApiException e) { + System.err.println("Exception when calling IncidentsApi#deleteIncidentType"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/incidents/GetIncidentType.java b/examples/v2/incidents/GetIncidentType.java new file mode 100644 index 00000000000..053bcdcf794 --- /dev/null +++ b/examples/v2/incidents/GetIncidentType.java @@ -0,0 +1,25 @@ +// Get incident type details returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.IncidentsApi; +import com.datadog.api.client.v2.model.IncidentTypeResponse; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.getIncidentType", true); + IncidentsApi apiInstance = new IncidentsApi(defaultClient); + + try { + IncidentTypeResponse result = apiInstance.getIncidentType("incident_type_id"); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IncidentsApi#getIncidentType"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/incidents/ListIncidentTypes.java b/examples/v2/incidents/ListIncidentTypes.java new file mode 100644 index 00000000000..108d41c2bff --- /dev/null +++ b/examples/v2/incidents/ListIncidentTypes.java @@ -0,0 +1,25 @@ +// Get a list of incident types returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.IncidentsApi; +import com.datadog.api.client.v2.model.IncidentTypeListResponse; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.listIncidentTypes", true); + IncidentsApi apiInstance = new IncidentsApi(defaultClient); + + try { + IncidentTypeListResponse result = apiInstance.listIncidentTypes(); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IncidentsApi#listIncidentTypes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/incidents/UpdateIncidentType.java b/examples/v2/incidents/UpdateIncidentType.java new file mode 100644 index 00000000000..9e0bac5ea51 --- /dev/null +++ b/examples/v2/incidents/UpdateIncidentType.java @@ -0,0 +1,42 @@ +// Update an incident type returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.IncidentsApi; +import com.datadog.api.client.v2.model.IncidentTypePatchData; +import com.datadog.api.client.v2.model.IncidentTypePatchRequest; +import com.datadog.api.client.v2.model.IncidentTypeResponse; +import com.datadog.api.client.v2.model.IncidentTypeType; +import com.datadog.api.client.v2.model.IncidentTypeUpdateAttributes; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.updateIncidentType", true); + IncidentsApi apiInstance = new IncidentsApi(defaultClient); + + // there is a valid "incident_type" in the system + String INCIDENT_TYPE_DATA_ATTRIBUTES_NAME = System.getenv("INCIDENT_TYPE_DATA_ATTRIBUTES_NAME"); + String INCIDENT_TYPE_DATA_ID = System.getenv("INCIDENT_TYPE_DATA_ID"); + + IncidentTypePatchRequest body = + new IncidentTypePatchRequest() + .data( + new IncidentTypePatchData() + .id(INCIDENT_TYPE_DATA_ID) + .attributes( + new IncidentTypeUpdateAttributes().name("Security Incident-updated")) + .type(IncidentTypeType.INCIDENT_TYPES)); + + try { + IncidentTypeResponse result = apiInstance.updateIncidentType(INCIDENT_TYPE_DATA_ID, body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling IncidentsApi#updateIncidentType"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/src/main/java/com/datadog/api/client/ApiClient.java b/src/main/java/com/datadog/api/client/ApiClient.java index 1f108858c8e..92795dab85d 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -379,21 +379,26 @@ public class ApiClient { put("v2.createIncident", false); put("v2.createIncidentIntegration", false); put("v2.createIncidentTodo", false); + put("v2.createIncidentType", false); put("v2.deleteIncident", false); put("v2.deleteIncidentIntegration", false); put("v2.deleteIncidentTodo", false); + put("v2.deleteIncidentType", false); put("v2.getIncident", false); put("v2.getIncidentIntegration", false); put("v2.getIncidentTodo", false); + put("v2.getIncidentType", false); put("v2.listIncidentAttachments", false); put("v2.listIncidentIntegrations", false); put("v2.listIncidents", false); put("v2.listIncidentTodos", false); + put("v2.listIncidentTypes", false); put("v2.searchIncidents", false); put("v2.updateIncident", false); put("v2.updateIncidentAttachments", false); put("v2.updateIncidentIntegration", false); put("v2.updateIncidentTodo", false); + put("v2.updateIncidentType", false); put("v2.queryScalarData", false); put("v2.queryTimeseriesData", false); put("v2.getFinding", false); diff --git a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java index 8813ec51f33..7c0af3d5dff 100644 --- a/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/IncidentsApi.java @@ -25,6 +25,10 @@ import com.datadog.api.client.v2.model.IncidentTodoListResponse; import com.datadog.api.client.v2.model.IncidentTodoPatchRequest; import com.datadog.api.client.v2.model.IncidentTodoResponse; +import com.datadog.api.client.v2.model.IncidentTypeCreateRequest; +import com.datadog.api.client.v2.model.IncidentTypeListResponse; +import com.datadog.api.client.v2.model.IncidentTypePatchRequest; +import com.datadog.api.client.v2.model.IncidentTypeResponse; import com.datadog.api.client.v2.model.IncidentUpdateRequest; import com.datadog.api.client.v2.model.IncidentsResponse; import jakarta.ws.rs.client.Invocation; @@ -579,6 +583,158 @@ public CompletableFuture> createIncidentTodoWi new GenericType() {}); } + /** + * Create an incident type. + * + *

See {@link #createIncidentTypeWithHttpInfo}. + * + * @param body Incident type payload. (required) + * @return IncidentTypeResponse + * @throws ApiException if fails to make API call + */ + public IncidentTypeResponse createIncidentType(IncidentTypeCreateRequest body) + throws ApiException { + return createIncidentTypeWithHttpInfo(body).getData(); + } + + /** + * Create an incident type. + * + *

See {@link #createIncidentTypeWithHttpInfoAsync}. + * + * @param body Incident type payload. (required) + * @return CompletableFuture<IncidentTypeResponse> + */ + public CompletableFuture createIncidentTypeAsync( + IncidentTypeCreateRequest body) { + return createIncidentTypeWithHttpInfoAsync(body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Create an incident type. + * + * @param body Incident type payload. (required) + * @return ApiResponse<IncidentTypeResponse> + * @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 -
+ */ + public ApiResponse createIncidentTypeWithHttpInfo( + IncidentTypeCreateRequest body) throws ApiException { + // Check if unstable operation is enabled + String operationId = "createIncidentType"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling createIncidentType"); + } + // create path and map variables + String localVarPath = "/api/v2/incidents/config/types"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.IncidentsApi.createIncidentType", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Create an incident type. + * + *

See {@link #createIncidentTypeWithHttpInfo}. + * + * @param body Incident type payload. (required) + * @return CompletableFuture<ApiResponse<IncidentTypeResponse>> + */ + public CompletableFuture> createIncidentTypeWithHttpInfoAsync( + IncidentTypeCreateRequest body) { + // Check if unstable operation is enabled + String operationId = "createIncidentType"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'body' when calling createIncidentType")); + return result; + } + // create path and map variables + String localVarPath = "/api/v2/incidents/config/types"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.IncidentsApi.createIncidentType", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "POST", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + /** * Delete an existing incident. * @@ -1097,6 +1253,164 @@ public CompletableFuture> deleteIncidentTodoWithHttpInfoAsync( null); } + /** + * Delete an incident type. + * + *

See {@link #deleteIncidentTypeWithHttpInfo}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @throws ApiException if fails to make API call + */ + public void deleteIncidentType(String incidentTypeId) throws ApiException { + deleteIncidentTypeWithHttpInfo(incidentTypeId); + } + + /** + * Delete an incident type. + * + *

See {@link #deleteIncidentTypeWithHttpInfoAsync}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @return CompletableFuture + */ + public CompletableFuture deleteIncidentTypeAsync(String incidentTypeId) { + return deleteIncidentTypeWithHttpInfoAsync(incidentTypeId) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Delete an incident type. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @return ApiResponse<Void> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
204 OK -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
429 Too many requests -
+ */ + public ApiResponse deleteIncidentTypeWithHttpInfo(String incidentTypeId) + throws ApiException { + // Check if unstable operation is enabled + String operationId = "deleteIncidentType"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = null; + + // verify the required parameter 'incidentTypeId' is set + if (incidentTypeId == null) { + throw new ApiException( + 400, "Missing the required parameter 'incidentTypeId' when calling deleteIncidentType"); + } + // create path and map variables + String localVarPath = + "/api/v2/incidents/config/types/{incident_type_id}" + .replaceAll( + "\\{" + "incident_type_id" + "\\}", + apiClient.escapeString(incidentTypeId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.IncidentsApi.deleteIncidentType", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "DELETE", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + null); + } + + /** + * Delete an incident type. + * + *

See {@link #deleteIncidentTypeWithHttpInfo}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @return CompletableFuture<ApiResponse<Void>> + */ + public CompletableFuture> deleteIncidentTypeWithHttpInfoAsync( + String incidentTypeId) { + // Check if unstable operation is enabled + String operationId = "deleteIncidentType"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = null; + + // verify the required parameter 'incidentTypeId' is set + if (incidentTypeId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'incidentTypeId' when calling deleteIncidentType")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/incidents/config/types/{incident_type_id}" + .replaceAll( + "\\{" + "incident_type_id" + "\\}", + apiClient.escapeString(incidentTypeId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.IncidentsApi.deleteIncidentType", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"*/*"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "DELETE", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + null); + } + /** Manage optional parameters to getIncident. */ public static class GetIncidentOptionalParameters { private List include; @@ -1684,6 +1998,164 @@ public CompletableFuture> getIncidentTodoWithH new GenericType() {}); } + /** + * Get incident type details. + * + *

See {@link #getIncidentTypeWithHttpInfo}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @return IncidentTypeResponse + * @throws ApiException if fails to make API call + */ + public IncidentTypeResponse getIncidentType(String incidentTypeId) throws ApiException { + return getIncidentTypeWithHttpInfo(incidentTypeId).getData(); + } + + /** + * Get incident type details. + * + *

See {@link #getIncidentTypeWithHttpInfoAsync}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @return CompletableFuture<IncidentTypeResponse> + */ + public CompletableFuture getIncidentTypeAsync(String incidentTypeId) { + return getIncidentTypeWithHttpInfoAsync(incidentTypeId) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Get incident type details. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @return ApiResponse<IncidentTypeResponse> + * @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 -
+ */ + public ApiResponse getIncidentTypeWithHttpInfo(String incidentTypeId) + throws ApiException { + // Check if unstable operation is enabled + String operationId = "getIncidentType"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = null; + + // verify the required parameter 'incidentTypeId' is set + if (incidentTypeId == null) { + throw new ApiException( + 400, "Missing the required parameter 'incidentTypeId' when calling getIncidentType"); + } + // create path and map variables + String localVarPath = + "/api/v2/incidents/config/types/{incident_type_id}" + .replaceAll( + "\\{" + "incident_type_id" + "\\}", + apiClient.escapeString(incidentTypeId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.IncidentsApi.getIncidentType", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Get incident type details. + * + *

See {@link #getIncidentTypeWithHttpInfo}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @return CompletableFuture<ApiResponse<IncidentTypeResponse>> + */ + public CompletableFuture> getIncidentTypeWithHttpInfoAsync( + String incidentTypeId) { + // Check if unstable operation is enabled + String operationId = "getIncidentType"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = null; + + // verify the required parameter 'incidentTypeId' is set + if (incidentTypeId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'incidentTypeId' when calling getIncidentType")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/incidents/config/types/{incident_type_id}" + .replaceAll( + "\\{" + "incident_type_id" + "\\}", + apiClient.escapeString(incidentTypeId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.IncidentsApi.getIncidentType", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + /** Manage optional parameters to listIncidentAttachments. */ public static class ListIncidentAttachmentsOptionalParameters { private List include; @@ -2318,42 +2790,198 @@ public ApiResponse listIncidentsWithHttpInfo( public CompletableFuture> listIncidentsWithHttpInfoAsync( ListIncidentsOptionalParameters parameters) { // Check if unstable operation is enabled - String operationId = "listIncidents"; + String operationId = "listIncidents"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = null; + List include = parameters.include; + Long pageSize = parameters.pageSize; + Long pageOffset = parameters.pageOffset; + // create path and map variables + String localVarPath = "/api/v2/incidents"; + + List localVarQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + + localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "include", include)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[size]", pageSize)); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[offset]", pageOffset)); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.IncidentsApi.listIncidents", + localVarPath, + localVarQueryParams, + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Get a list of an incident's todos. + * + *

See {@link #listIncidentTodosWithHttpInfo}. + * + * @param incidentId The UUID of the incident. (required) + * @return IncidentTodoListResponse + * @throws ApiException if fails to make API call + */ + public IncidentTodoListResponse listIncidentTodos(String incidentId) throws ApiException { + return listIncidentTodosWithHttpInfo(incidentId).getData(); + } + + /** + * Get a list of an incident's todos. + * + *

See {@link #listIncidentTodosWithHttpInfoAsync}. + * + * @param incidentId The UUID of the incident. (required) + * @return CompletableFuture<IncidentTodoListResponse> + */ + public CompletableFuture listIncidentTodosAsync(String incidentId) { + return listIncidentTodosWithHttpInfoAsync(incidentId) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Get all todos for an incident. + * + * @param incidentId The UUID of the incident. (required) + * @return ApiResponse<IncidentTodoListResponse> + * @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 -
+ */ + public ApiResponse listIncidentTodosWithHttpInfo(String incidentId) + throws ApiException { + // Check if unstable operation is enabled + String operationId = "listIncidentTodos"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = null; + + // verify the required parameter 'incidentId' is set + if (incidentId == null) { + throw new ApiException( + 400, "Missing the required parameter 'incidentId' when calling listIncidentTodos"); + } + // create path and map variables + String localVarPath = + "/api/v2/incidents/{incident_id}/relationships/todos" + .replaceAll( + "\\{" + "incident_id" + "\\}", apiClient.escapeString(incidentId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.IncidentsApi.listIncidentTodos", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Get a list of an incident's todos. + * + *

See {@link #listIncidentTodosWithHttpInfo}. + * + * @param incidentId The UUID of the incident. (required) + * @return CompletableFuture<ApiResponse<IncidentTodoListResponse>> + */ + public CompletableFuture> + listIncidentTodosWithHttpInfoAsync(String incidentId) { + // Check if unstable operation is enabled + String operationId = "listIncidentTodos"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; } Object localVarPostBody = null; - List include = parameters.include; - Long pageSize = parameters.pageSize; - Long pageOffset = parameters.pageOffset; + + // verify the required parameter 'incidentId' is set + if (incidentId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'incidentId' when calling listIncidentTodos")); + return result; + } // create path and map variables - String localVarPath = "/api/v2/incidents"; + String localVarPath = + "/api/v2/incidents/{incident_id}/relationships/todos" + .replaceAll( + "\\{" + "incident_id" + "\\}", apiClient.escapeString(incidentId.toString())); - List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); - localVarQueryParams.addAll(apiClient.parameterToPairs("csv", "include", include)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[size]", pageSize)); - localVarQueryParams.addAll(apiClient.parameterToPairs("", "page[offset]", pageOffset)); - Invocation.Builder builder; try { builder = apiClient.createBuilder( - "v2.IncidentsApi.listIncidents", + "v2.IncidentsApi.listIncidentTodos", localVarPath, - localVarQueryParams, + new ArrayList(), localVarHeaderParams, new HashMap(), new String[] {"application/json"}, new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -2365,32 +2993,47 @@ public CompletableFuture> listIncidentsWithHttpIn localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); + } + + /** Manage optional parameters to listIncidentTypes. */ + public static class ListIncidentTypesOptionalParameters { + private Boolean includeDeleted; + + /** + * Set includeDeleted. + * + * @param includeDeleted Include deleted incident types in the response. (optional, default to + * false) + * @return ListIncidentTypesOptionalParameters + */ + public ListIncidentTypesOptionalParameters includeDeleted(Boolean includeDeleted) { + this.includeDeleted = includeDeleted; + return this; + } } /** - * Get a list of an incident's todos. + * Get a list of incident types. * - *

See {@link #listIncidentTodosWithHttpInfo}. + *

See {@link #listIncidentTypesWithHttpInfo}. * - * @param incidentId The UUID of the incident. (required) - * @return IncidentTodoListResponse + * @return IncidentTypeListResponse * @throws ApiException if fails to make API call */ - public IncidentTodoListResponse listIncidentTodos(String incidentId) throws ApiException { - return listIncidentTodosWithHttpInfo(incidentId).getData(); + public IncidentTypeListResponse listIncidentTypes() throws ApiException { + return listIncidentTypesWithHttpInfo(new ListIncidentTypesOptionalParameters()).getData(); } /** - * Get a list of an incident's todos. + * Get a list of incident types. * - *

See {@link #listIncidentTodosWithHttpInfoAsync}. + *

See {@link #listIncidentTypesWithHttpInfoAsync}. * - * @param incidentId The UUID of the incident. (required) - * @return CompletableFuture<IncidentTodoListResponse> + * @return CompletableFuture<IncidentTypeListResponse> */ - public CompletableFuture listIncidentTodosAsync(String incidentId) { - return listIncidentTodosWithHttpInfoAsync(incidentId) + public CompletableFuture listIncidentTypesAsync() { + return listIncidentTypesWithHttpInfoAsync(new ListIncidentTypesOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -2398,10 +3041,41 @@ public CompletableFuture listIncidentTodosAsync(String } /** - * Get all todos for an incident. + * Get a list of incident types. * - * @param incidentId The UUID of the incident. (required) - * @return ApiResponse<IncidentTodoListResponse> + *

See {@link #listIncidentTypesWithHttpInfo}. + * + * @param parameters Optional parameters for the request. + * @return IncidentTypeListResponse + * @throws ApiException if fails to make API call + */ + public IncidentTypeListResponse listIncidentTypes(ListIncidentTypesOptionalParameters parameters) + throws ApiException { + return listIncidentTypesWithHttpInfo(parameters).getData(); + } + + /** + * Get a list of incident types. + * + *

See {@link #listIncidentTypesWithHttpInfoAsync}. + * + * @param parameters Optional parameters for the request. + * @return CompletableFuture<IncidentTypeListResponse> + */ + public CompletableFuture listIncidentTypesAsync( + ListIncidentTypesOptionalParameters parameters) { + return listIncidentTypesWithHttpInfoAsync(parameters) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Get all incident types. + * + * @param parameters Optional parameters for the request. + * @return ApiResponse<IncidentTypeListResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -2411,39 +3085,33 @@ public CompletableFuture listIncidentTodosAsync(String * * * - * * *
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
429 Too many requests -
*/ - public ApiResponse listIncidentTodosWithHttpInfo(String incidentId) - throws ApiException { + public ApiResponse listIncidentTypesWithHttpInfo( + ListIncidentTypesOptionalParameters parameters) throws ApiException { // Check if unstable operation is enabled - String operationId = "listIncidentTodos"; + String operationId = "listIncidentTypes"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); } Object localVarPostBody = null; - - // verify the required parameter 'incidentId' is set - if (incidentId == null) { - throw new ApiException( - 400, "Missing the required parameter 'incidentId' when calling listIncidentTodos"); - } + Boolean includeDeleted = parameters.includeDeleted; // create path and map variables - String localVarPath = - "/api/v2/incidents/{incident_id}/relationships/todos" - .replaceAll( - "\\{" + "incident_id" + "\\}", apiClient.escapeString(incidentId.toString())); + String localVarPath = "/api/v2/incidents/config/types"; + List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_deleted", includeDeleted)); + Invocation.Builder builder = apiClient.createBuilder( - "v2.IncidentsApi.listIncidentTodos", + "v2.IncidentsApi.listIncidentTypes", localVarPath, - new ArrayList(), + localVarQueryParams, localVarHeaderParams, new HashMap(), new String[] {"application/json"}, @@ -2456,60 +3124,52 @@ public ApiResponse listIncidentTodosWithHttpInfo(Strin localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** - * Get a list of an incident's todos. + * Get a list of incident types. * - *

See {@link #listIncidentTodosWithHttpInfo}. + *

See {@link #listIncidentTypesWithHttpInfo}. * - * @param incidentId The UUID of the incident. (required) - * @return CompletableFuture<ApiResponse<IncidentTodoListResponse>> + * @param parameters Optional parameters for the request. + * @return CompletableFuture<ApiResponse<IncidentTypeListResponse>> */ - public CompletableFuture> - listIncidentTodosWithHttpInfoAsync(String incidentId) { + public CompletableFuture> + listIncidentTypesWithHttpInfoAsync(ListIncidentTypesOptionalParameters parameters) { // Check if unstable operation is enabled - String operationId = "listIncidentTodos"; + String operationId = "listIncidentTypes"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; } Object localVarPostBody = null; - - // verify the required parameter 'incidentId' is set - if (incidentId == null) { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException( - 400, "Missing the required parameter 'incidentId' when calling listIncidentTodos")); - return result; - } + Boolean includeDeleted = parameters.includeDeleted; // create path and map variables - String localVarPath = - "/api/v2/incidents/{incident_id}/relationships/todos" - .replaceAll( - "\\{" + "incident_id" + "\\}", apiClient.escapeString(incidentId.toString())); + String localVarPath = "/api/v2/incidents/config/types"; + List localVarQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); + localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_deleted", includeDeleted)); + Invocation.Builder builder; try { builder = apiClient.createBuilder( - "v2.IncidentsApi.listIncidentTodos", + "v2.IncidentsApi.listIncidentTypes", localVarPath, - new ArrayList(), + localVarQueryParams, localVarHeaderParams, new HashMap(), new String[] {"application/json"}, new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -2521,7 +3181,7 @@ public ApiResponse listIncidentTodosWithHttpInfo(Strin localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** Manage optional parameters to searchIncidents. */ @@ -3788,4 +4448,184 @@ public CompletableFuture> updateIncidentTodoWi false, new GenericType() {}); } + + /** + * Update an incident type. + * + *

See {@link #updateIncidentTypeWithHttpInfo}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @param body Incident type payload. (required) + * @return IncidentTypeResponse + * @throws ApiException if fails to make API call + */ + public IncidentTypeResponse updateIncidentType( + String incidentTypeId, IncidentTypePatchRequest body) throws ApiException { + return updateIncidentTypeWithHttpInfo(incidentTypeId, body).getData(); + } + + /** + * Update an incident type. + * + *

See {@link #updateIncidentTypeWithHttpInfoAsync}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @param body Incident type payload. (required) + * @return CompletableFuture<IncidentTypeResponse> + */ + public CompletableFuture updateIncidentTypeAsync( + String incidentTypeId, IncidentTypePatchRequest body) { + return updateIncidentTypeWithHttpInfoAsync(incidentTypeId, body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Update an incident type. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @param body Incident type payload. (required) + * @return ApiResponse<IncidentTypeResponse> + * @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 -
+ */ + public ApiResponse updateIncidentTypeWithHttpInfo( + String incidentTypeId, IncidentTypePatchRequest body) throws ApiException { + // Check if unstable operation is enabled + String operationId = "updateIncidentType"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'incidentTypeId' is set + if (incidentTypeId == null) { + throw new ApiException( + 400, "Missing the required parameter 'incidentTypeId' when calling updateIncidentType"); + } + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling updateIncidentType"); + } + // create path and map variables + String localVarPath = + "/api/v2/incidents/config/types/{incident_type_id}" + .replaceAll( + "\\{" + "incident_type_id" + "\\}", + apiClient.escapeString(incidentTypeId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.IncidentsApi.updateIncidentType", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "PATCH", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Update an incident type. + * + *

See {@link #updateIncidentTypeWithHttpInfo}. + * + * @param incidentTypeId The UUID of the incident type. (required) + * @param body Incident type payload. (required) + * @return CompletableFuture<ApiResponse<IncidentTypeResponse>> + */ + public CompletableFuture> updateIncidentTypeWithHttpInfoAsync( + String incidentTypeId, IncidentTypePatchRequest body) { + // Check if unstable operation is enabled + String operationId = "updateIncidentType"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'incidentTypeId' is set + if (incidentTypeId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'incidentTypeId' when calling updateIncidentType")); + return result; + } + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'body' when calling updateIncidentType")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/incidents/config/types/{incident_type_id}" + .replaceAll( + "\\{" + "incident_type_id" + "\\}", + apiClient.escapeString(incidentTypeId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.IncidentsApi.updateIncidentType", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "PATCH", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } } diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/IncidentCreateAttributes.java index 8930a487d35..11cd91a2998 100644 --- a/src/main/java/com/datadog/api/client/v2/model/IncidentCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentCreateAttributes.java @@ -24,6 +24,7 @@ IncidentCreateAttributes.JSON_PROPERTY_CUSTOMER_IMPACT_SCOPE, IncidentCreateAttributes.JSON_PROPERTY_CUSTOMER_IMPACTED, IncidentCreateAttributes.JSON_PROPERTY_FIELDS, + IncidentCreateAttributes.JSON_PROPERTY_INCIDENT_TYPE_UUID, IncidentCreateAttributes.JSON_PROPERTY_INITIAL_CELLS, IncidentCreateAttributes.JSON_PROPERTY_NOTIFICATION_HANDLES, IncidentCreateAttributes.JSON_PROPERTY_TITLE @@ -41,6 +42,9 @@ public class IncidentCreateAttributes { public static final String JSON_PROPERTY_FIELDS = "fields"; private Map fields = null; + public static final String JSON_PROPERTY_INCIDENT_TYPE_UUID = "incident_type_uuid"; + private String incidentTypeUuid; + public static final String JSON_PROPERTY_INITIAL_CELLS = "initial_cells"; private List initialCells = null; @@ -132,6 +136,28 @@ public void setFields(Map fields) { this.fields = fields; } + public IncidentCreateAttributes incidentTypeUuid(String incidentTypeUuid) { + this.incidentTypeUuid = incidentTypeUuid; + return this; + } + + /** + * A unique identifier that represents an incident type. The default incident type will be used if + * this property is not provided. + * + * @return incidentTypeUuid + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INCIDENT_TYPE_UUID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getIncidentTypeUuid() { + return incidentTypeUuid; + } + + public void setIncidentTypeUuid(String incidentTypeUuid) { + this.incidentTypeUuid = incidentTypeUuid; + } + public IncidentCreateAttributes initialCells( List initialCells) { this.initialCells = initialCells; @@ -281,6 +307,7 @@ public boolean equals(Object o) { return Objects.equals(this.customerImpactScope, incidentCreateAttributes.customerImpactScope) && Objects.equals(this.customerImpacted, incidentCreateAttributes.customerImpacted) && Objects.equals(this.fields, incidentCreateAttributes.fields) + && Objects.equals(this.incidentTypeUuid, incidentCreateAttributes.incidentTypeUuid) && Objects.equals(this.initialCells, incidentCreateAttributes.initialCells) && Objects.equals(this.notificationHandles, incidentCreateAttributes.notificationHandles) && Objects.equals(this.title, incidentCreateAttributes.title) @@ -293,6 +320,7 @@ public int hashCode() { customerImpactScope, customerImpacted, fields, + incidentTypeUuid, initialCells, notificationHandles, title, @@ -308,6 +336,7 @@ public String toString() { .append("\n"); sb.append(" customerImpacted: ").append(toIndentedString(customerImpacted)).append("\n"); sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); + sb.append(" incidentTypeUuid: ").append(toIndentedString(incidentTypeUuid)).append("\n"); sb.append(" initialCells: ").append(toIndentedString(initialCells)).append("\n"); sb.append(" notificationHandles: ") .append(toIndentedString(notificationHandles)) diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/IncidentResponseAttributes.java index 6b6d992d27c..fa6314e2687 100644 --- a/src/main/java/com/datadog/api/client/v2/model/IncidentResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentResponseAttributes.java @@ -33,6 +33,7 @@ IncidentResponseAttributes.JSON_PROPERTY_CUSTOMER_IMPACTED, IncidentResponseAttributes.JSON_PROPERTY_DETECTED, IncidentResponseAttributes.JSON_PROPERTY_FIELDS, + IncidentResponseAttributes.JSON_PROPERTY_INCIDENT_TYPE_UUID, IncidentResponseAttributes.JSON_PROPERTY_MODIFIED, IncidentResponseAttributes.JSON_PROPERTY_NON_DATADOG_CREATOR, IncidentResponseAttributes.JSON_PROPERTY_NOTIFICATION_HANDLES, @@ -82,6 +83,9 @@ public class IncidentResponseAttributes { public static final String JSON_PROPERTY_FIELDS = "fields"; private Map fields = null; + public static final String JSON_PROPERTY_INCIDENT_TYPE_UUID = "incident_type_uuid"; + private String incidentTypeUuid; + public static final String JSON_PROPERTY_MODIFIED = "modified"; private OffsetDateTime modified; @@ -388,6 +392,27 @@ public void setFields(Map fields) { this.fields = fields; } + public IncidentResponseAttributes incidentTypeUuid(String incidentTypeUuid) { + this.incidentTypeUuid = incidentTypeUuid; + return this; + } + + /** + * A unique identifier that represents an incident type. + * + * @return incidentTypeUuid + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_INCIDENT_TYPE_UUID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getIncidentTypeUuid() { + return incidentTypeUuid; + } + + public void setIncidentTypeUuid(String incidentTypeUuid) { + this.incidentTypeUuid = incidentTypeUuid; + } + /** * Timestamp when the incident was last modified. * @@ -760,6 +785,7 @@ public boolean equals(Object o) { && Objects.equals(this.customerImpacted, incidentResponseAttributes.customerImpacted) && Objects.equals(this.detected, incidentResponseAttributes.detected) && Objects.equals(this.fields, incidentResponseAttributes.fields) + && Objects.equals(this.incidentTypeUuid, incidentResponseAttributes.incidentTypeUuid) && Objects.equals(this.modified, incidentResponseAttributes.modified) && Objects.equals(this.nonDatadogCreator, incidentResponseAttributes.nonDatadogCreator) && Objects.equals(this.notificationHandles, incidentResponseAttributes.notificationHandles) @@ -791,6 +817,7 @@ public int hashCode() { customerImpacted, detected, fields, + incidentTypeUuid, modified, nonDatadogCreator, notificationHandles, @@ -827,6 +854,7 @@ public String toString() { sb.append(" customerImpacted: ").append(toIndentedString(customerImpacted)).append("\n"); sb.append(" detected: ").append(toIndentedString(detected)).append("\n"); sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); + sb.append(" incidentTypeUuid: ").append(toIndentedString(incidentTypeUuid)).append("\n"); sb.append(" modified: ").append(toIndentedString(modified)).append("\n"); sb.append(" nonDatadogCreator: ").append(toIndentedString(nonDatadogCreator)).append("\n"); sb.append(" notificationHandles: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypeAttributes.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeAttributes.java new file mode 100644 index 00000000000..35c4ad0610c --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeAttributes.java @@ -0,0 +1,300 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Incident type's attributes. */ +@JsonPropertyOrder({ + IncidentTypeAttributes.JSON_PROPERTY_CREATED_AT, + IncidentTypeAttributes.JSON_PROPERTY_CREATED_BY, + IncidentTypeAttributes.JSON_PROPERTY_DESCRIPTION, + IncidentTypeAttributes.JSON_PROPERTY_IS_DEFAULT, + IncidentTypeAttributes.JSON_PROPERTY_LAST_MODIFIED_BY, + IncidentTypeAttributes.JSON_PROPERTY_MODIFIED_AT, + IncidentTypeAttributes.JSON_PROPERTY_NAME, + IncidentTypeAttributes.JSON_PROPERTY_PREFIX +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypeAttributes { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CREATED_AT = "createdAt"; + private OffsetDateTime createdAt; + + public static final String JSON_PROPERTY_CREATED_BY = "createdBy"; + private String createdBy; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_IS_DEFAULT = "is_default"; + private Boolean isDefault = false; + + public static final String JSON_PROPERTY_LAST_MODIFIED_BY = "lastModifiedBy"; + private String lastModifiedBy; + + public static final String JSON_PROPERTY_MODIFIED_AT = "modifiedAt"; + private OffsetDateTime modifiedAt; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_PREFIX = "prefix"; + private String prefix; + + public IncidentTypeAttributes() {} + + @JsonCreator + public IncidentTypeAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name) { + this.name = name; + } + + /** + * Timestamp when the incident type was created. + * + * @return createdAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + /** + * A unique identifier that represents the user that created the incident type. + * + * @return createdBy + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCreatedBy() { + return createdBy; + } + + public IncidentTypeAttributes description(String description) { + this.description = description; + return this; + } + + /** + * Text that describes the incident type. + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public IncidentTypeAttributes isDefault(Boolean isDefault) { + this.isDefault = isDefault; + return this; + } + + /** + * If true, this incident type will be used as the default incident type if a type is not + * specified during the creation of incident resources. + * + * @return isDefault + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIsDefault() { + return isDefault; + } + + public void setIsDefault(Boolean isDefault) { + this.isDefault = isDefault; + } + + /** + * A unique identifier that represents the user that last modified the incident type. + * + * @return lastModifiedBy + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAST_MODIFIED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getLastModifiedBy() { + return lastModifiedBy; + } + + /** + * Timestamp when the incident type was last modified. + * + * @return modifiedAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MODIFIED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getModifiedAt() { + return modifiedAt; + } + + public IncidentTypeAttributes name(String name) { + this.name = name; + return this; + } + + /** + * The name of the incident type. + * + * @return name + */ + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * The string that will be prepended to the incident title across the Datadog app. + * + * @return prefix + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PREFIX) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPrefix() { + return prefix; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypeAttributes + */ + @JsonAnySetter + public IncidentTypeAttributes putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypeAttributes object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypeAttributes incidentTypeAttributes = (IncidentTypeAttributes) o; + return Objects.equals(this.createdAt, incidentTypeAttributes.createdAt) + && Objects.equals(this.createdBy, incidentTypeAttributes.createdBy) + && Objects.equals(this.description, incidentTypeAttributes.description) + && Objects.equals(this.isDefault, incidentTypeAttributes.isDefault) + && Objects.equals(this.lastModifiedBy, incidentTypeAttributes.lastModifiedBy) + && Objects.equals(this.modifiedAt, incidentTypeAttributes.modifiedAt) + && Objects.equals(this.name, incidentTypeAttributes.name) + && Objects.equals(this.prefix, incidentTypeAttributes.prefix) + && Objects.equals(this.additionalProperties, incidentTypeAttributes.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + createdAt, + createdBy, + description, + isDefault, + lastModifiedBy, + modifiedAt, + name, + prefix, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypeAttributes {\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" lastModifiedBy: ").append(toIndentedString(lastModifiedBy)).append("\n"); + sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypeCreateData.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeCreateData.java new file mode 100644 index 00000000000..a131a36a9af --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeCreateData.java @@ -0,0 +1,181 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Incident type data for a create request. */ +@JsonPropertyOrder({ + IncidentTypeCreateData.JSON_PROPERTY_ATTRIBUTES, + IncidentTypeCreateData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypeCreateData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private IncidentTypeAttributes attributes; + + public static final String JSON_PROPERTY_TYPE = "type"; + private IncidentTypeType type = IncidentTypeType.INCIDENT_TYPES; + + public IncidentTypeCreateData() {} + + @JsonCreator + public IncidentTypeCreateData( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + IncidentTypeAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) IncidentTypeType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public IncidentTypeCreateData attributes(IncidentTypeAttributes attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Incident type's attributes. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IncidentTypeAttributes getAttributes() { + return attributes; + } + + public void setAttributes(IncidentTypeAttributes attributes) { + this.attributes = attributes; + } + + public IncidentTypeCreateData type(IncidentTypeType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Incident type resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IncidentTypeType getType() { + return type; + } + + public void setType(IncidentTypeType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypeCreateData + */ + @JsonAnySetter + public IncidentTypeCreateData putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypeCreateData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypeCreateData incidentTypeCreateData = (IncidentTypeCreateData) o; + return Objects.equals(this.attributes, incidentTypeCreateData.attributes) + && Objects.equals(this.type, incidentTypeCreateData.type) + && Objects.equals(this.additionalProperties, incidentTypeCreateData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypeCreateData {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypeCreateRequest.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeCreateRequest.java new file mode 100644 index 00000000000..0020f197958 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeCreateRequest.java @@ -0,0 +1,146 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Create request for an incident type. */ +@JsonPropertyOrder({IncidentTypeCreateRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypeCreateRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private IncidentTypeCreateData data; + + public IncidentTypeCreateRequest() {} + + @JsonCreator + public IncidentTypeCreateRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) IncidentTypeCreateData data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public IncidentTypeCreateRequest data(IncidentTypeCreateData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Incident type data for a create request. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IncidentTypeCreateData getData() { + return data; + } + + public void setData(IncidentTypeCreateData data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypeCreateRequest + */ + @JsonAnySetter + public IncidentTypeCreateRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypeCreateRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypeCreateRequest incidentTypeCreateRequest = (IncidentTypeCreateRequest) o; + return Objects.equals(this.data, incidentTypeCreateRequest.data) + && Objects.equals( + this.additionalProperties, incidentTypeCreateRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypeCreateRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypeListResponse.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeListResponse.java new file mode 100644 index 00000000000..4ef8ec34d10 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeListResponse.java @@ -0,0 +1,154 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** Response with a list of incident types. */ +@JsonPropertyOrder({IncidentTypeListResponse.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypeListResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private List data = new ArrayList<>(); + + public IncidentTypeListResponse() {} + + @JsonCreator + public IncidentTypeListResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) List data) { + this.data = data; + } + + public IncidentTypeListResponse data(List data) { + this.data = data; + for (IncidentTypeObject item : data) { + this.unparsed |= item.unparsed; + } + return this; + } + + public IncidentTypeListResponse addDataItem(IncidentTypeObject dataItem) { + this.data.add(dataItem); + this.unparsed |= dataItem.unparsed; + return this; + } + + /** + * An array of incident type objects. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypeListResponse + */ + @JsonAnySetter + public IncidentTypeListResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypeListResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypeListResponse incidentTypeListResponse = (IncidentTypeListResponse) o; + return Objects.equals(this.data, incidentTypeListResponse.data) + && Objects.equals(this.additionalProperties, incidentTypeListResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypeListResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypeObject.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeObject.java new file mode 100644 index 00000000000..06252d5d7de --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeObject.java @@ -0,0 +1,206 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Incident type response data. */ +@JsonPropertyOrder({ + IncidentTypeObject.JSON_PROPERTY_ATTRIBUTES, + IncidentTypeObject.JSON_PROPERTY_ID, + IncidentTypeObject.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypeObject { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private IncidentTypeAttributes attributes; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private IncidentTypeType type = IncidentTypeType.INCIDENT_TYPES; + + public IncidentTypeObject() {} + + @JsonCreator + public IncidentTypeObject( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) IncidentTypeType type) { + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public IncidentTypeObject attributes(IncidentTypeAttributes attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Incident type's attributes. + * + * @return attributes + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public IncidentTypeAttributes getAttributes() { + return attributes; + } + + public void setAttributes(IncidentTypeAttributes attributes) { + this.attributes = attributes; + } + + public IncidentTypeObject id(String id) { + this.id = id; + return this; + } + + /** + * The incident type's ID. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public IncidentTypeObject type(IncidentTypeType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Incident type resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IncidentTypeType getType() { + return type; + } + + public void setType(IncidentTypeType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypeObject + */ + @JsonAnySetter + public IncidentTypeObject putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypeObject object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypeObject incidentTypeObject = (IncidentTypeObject) o; + return Objects.equals(this.attributes, incidentTypeObject.attributes) + && Objects.equals(this.id, incidentTypeObject.id) + && Objects.equals(this.type, incidentTypeObject.type) + && Objects.equals(this.additionalProperties, incidentTypeObject.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypeObject {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypePatchData.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypePatchData.java new file mode 100644 index 00000000000..743aa02e611 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypePatchData.java @@ -0,0 +1,209 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Incident type data for a patch request. */ +@JsonPropertyOrder({ + IncidentTypePatchData.JSON_PROPERTY_ATTRIBUTES, + IncidentTypePatchData.JSON_PROPERTY_ID, + IncidentTypePatchData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypePatchData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private IncidentTypeUpdateAttributes attributes; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private IncidentTypeType type = IncidentTypeType.INCIDENT_TYPES; + + public IncidentTypePatchData() {} + + @JsonCreator + public IncidentTypePatchData( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + IncidentTypeUpdateAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) IncidentTypeType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public IncidentTypePatchData attributes(IncidentTypeUpdateAttributes attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Incident type's attributes for updates. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IncidentTypeUpdateAttributes getAttributes() { + return attributes; + } + + public void setAttributes(IncidentTypeUpdateAttributes attributes) { + this.attributes = attributes; + } + + public IncidentTypePatchData id(String id) { + this.id = id; + return this; + } + + /** + * The incident type's ID. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public IncidentTypePatchData type(IncidentTypeType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Incident type resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IncidentTypeType getType() { + return type; + } + + public void setType(IncidentTypeType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypePatchData + */ + @JsonAnySetter + public IncidentTypePatchData putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypePatchData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypePatchData incidentTypePatchData = (IncidentTypePatchData) o; + return Objects.equals(this.attributes, incidentTypePatchData.attributes) + && Objects.equals(this.id, incidentTypePatchData.id) + && Objects.equals(this.type, incidentTypePatchData.type) + && Objects.equals(this.additionalProperties, incidentTypePatchData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypePatchData {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypePatchRequest.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypePatchRequest.java new file mode 100644 index 00000000000..27647edac7a --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypePatchRequest.java @@ -0,0 +1,145 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Patch request for an incident type. */ +@JsonPropertyOrder({IncidentTypePatchRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypePatchRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private IncidentTypePatchData data; + + public IncidentTypePatchRequest() {} + + @JsonCreator + public IncidentTypePatchRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) IncidentTypePatchData data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public IncidentTypePatchRequest data(IncidentTypePatchData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Incident type data for a patch request. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IncidentTypePatchData getData() { + return data; + } + + public void setData(IncidentTypePatchData data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypePatchRequest + */ + @JsonAnySetter + public IncidentTypePatchRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypePatchRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypePatchRequest incidentTypePatchRequest = (IncidentTypePatchRequest) o; + return Objects.equals(this.data, incidentTypePatchRequest.data) + && Objects.equals(this.additionalProperties, incidentTypePatchRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypePatchRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypeResponse.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeResponse.java new file mode 100644 index 00000000000..bfd61374f05 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeResponse.java @@ -0,0 +1,145 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Incident type response data. */ +@JsonPropertyOrder({IncidentTypeResponse.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypeResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private IncidentTypeObject data; + + public IncidentTypeResponse() {} + + @JsonCreator + public IncidentTypeResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) IncidentTypeObject data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public IncidentTypeResponse data(IncidentTypeObject data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Incident type response data. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public IncidentTypeObject getData() { + return data; + } + + public void setData(IncidentTypeObject data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypeResponse + */ + @JsonAnySetter + public IncidentTypeResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypeResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypeResponse incidentTypeResponse = (IncidentTypeResponse) o; + return Objects.equals(this.data, incidentTypeResponse.data) + && Objects.equals(this.additionalProperties, incidentTypeResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypeResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypeType.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeType.java new file mode 100644 index 00000000000..886b6a27ca2 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeType.java @@ -0,0 +1,54 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** Incident type resource type. */ +@JsonSerialize(using = IncidentTypeType.IncidentTypeTypeSerializer.class) +public class IncidentTypeType extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("incident_types")); + + public static final IncidentTypeType INCIDENT_TYPES = new IncidentTypeType("incident_types"); + + IncidentTypeType(String value) { + super(value, allowedValues); + } + + public static class IncidentTypeTypeSerializer extends StdSerializer { + public IncidentTypeTypeSerializer(Class t) { + super(t); + } + + public IncidentTypeTypeSerializer() { + this(null); + } + + @Override + public void serialize(IncidentTypeType value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static IncidentTypeType fromValue(String value) { + return new IncidentTypeType(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/IncidentTypeUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeUpdateAttributes.java new file mode 100644 index 00000000000..ce9e62cd60e --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/IncidentTypeUpdateAttributes.java @@ -0,0 +1,293 @@ +/* + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Incident type's attributes for updates. */ +@JsonPropertyOrder({ + IncidentTypeUpdateAttributes.JSON_PROPERTY_CREATED_AT, + IncidentTypeUpdateAttributes.JSON_PROPERTY_CREATED_BY, + IncidentTypeUpdateAttributes.JSON_PROPERTY_DESCRIPTION, + IncidentTypeUpdateAttributes.JSON_PROPERTY_IS_DEFAULT, + IncidentTypeUpdateAttributes.JSON_PROPERTY_LAST_MODIFIED_BY, + IncidentTypeUpdateAttributes.JSON_PROPERTY_MODIFIED_AT, + IncidentTypeUpdateAttributes.JSON_PROPERTY_NAME, + IncidentTypeUpdateAttributes.JSON_PROPERTY_PREFIX +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class IncidentTypeUpdateAttributes { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CREATED_AT = "createdAt"; + private OffsetDateTime createdAt; + + public static final String JSON_PROPERTY_CREATED_BY = "createdBy"; + private String createdBy; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_IS_DEFAULT = "is_default"; + private Boolean isDefault; + + public static final String JSON_PROPERTY_LAST_MODIFIED_BY = "lastModifiedBy"; + private String lastModifiedBy; + + public static final String JSON_PROPERTY_MODIFIED_AT = "modifiedAt"; + private OffsetDateTime modifiedAt; + + public static final String JSON_PROPERTY_NAME = "name"; + private String name; + + public static final String JSON_PROPERTY_PREFIX = "prefix"; + private String prefix; + + /** + * Timestamp when the incident type was created. + * + * @return createdAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + /** + * A unique identifier that represents the user that created the incident type. + * + * @return createdBy + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getCreatedBy() { + return createdBy; + } + + public IncidentTypeUpdateAttributes description(String description) { + this.description = description; + return this; + } + + /** + * Text that describes the incident type. + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public IncidentTypeUpdateAttributes isDefault(Boolean isDefault) { + this.isDefault = isDefault; + return this; + } + + /** + * When true, this incident type will be used as the default type when an incident type is not + * specified. + * + * @return isDefault + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IS_DEFAULT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIsDefault() { + return isDefault; + } + + public void setIsDefault(Boolean isDefault) { + this.isDefault = isDefault; + } + + /** + * A unique identifier that represents the user that last modified the incident type. + * + * @return lastModifiedBy + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAST_MODIFIED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getLastModifiedBy() { + return lastModifiedBy; + } + + /** + * Timestamp when the incident type was last modified. + * + * @return modifiedAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_MODIFIED_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OffsetDateTime getModifiedAt() { + return modifiedAt; + } + + public IncidentTypeUpdateAttributes name(String name) { + this.name = name; + return this; + } + + /** + * The name of the incident type. + * + * @return name + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + /** + * The string that will be prepended to the incident title across the Datadog app. + * + * @return prefix + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PREFIX) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getPrefix() { + return prefix; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return IncidentTypeUpdateAttributes + */ + @JsonAnySetter + public IncidentTypeUpdateAttributes putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this IncidentTypeUpdateAttributes object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IncidentTypeUpdateAttributes incidentTypeUpdateAttributes = (IncidentTypeUpdateAttributes) o; + return Objects.equals(this.createdAt, incidentTypeUpdateAttributes.createdAt) + && Objects.equals(this.createdBy, incidentTypeUpdateAttributes.createdBy) + && Objects.equals(this.description, incidentTypeUpdateAttributes.description) + && Objects.equals(this.isDefault, incidentTypeUpdateAttributes.isDefault) + && Objects.equals(this.lastModifiedBy, incidentTypeUpdateAttributes.lastModifiedBy) + && Objects.equals(this.modifiedAt, incidentTypeUpdateAttributes.modifiedAt) + && Objects.equals(this.name, incidentTypeUpdateAttributes.name) + && Objects.equals(this.prefix, incidentTypeUpdateAttributes.prefix) + && Objects.equals( + this.additionalProperties, incidentTypeUpdateAttributes.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash( + createdAt, + createdBy, + description, + isDefault, + lastModifiedBy, + modifiedAt, + name, + prefix, + additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class IncidentTypeUpdateAttributes {\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" isDefault: ").append(toIndentedString(isDefault)).append("\n"); + sb.append(" lastModifiedBy: ").append(toIndentedString(lastModifiedBy)).append("\n"); + sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" prefix: ").append(toIndentedString(prefix)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/test/resources/cassettes/features/v2/Add_commander_to_an_incident_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Add_commander_to_an_incident_returns_OK_response.json index 55a81d97334..f712139e035 100644 --- a/src/test/resources/cassettes/features/v2/Add_commander_to_an_incident_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Add_commander_to_an_incident_returns_OK_response.json @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"ef130d24-3827-5ca3-85ae-700fe155b6ae\",\"attributes\":{\"public_id\":174802,\"incident_type_uuid\":null,\"title\":\"Test-Add_commander_to_an_incident_returns_OK_response-1699302323\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:23.425656+00:00\",\"modified\":\"2023-11-06T20:25:23.425656+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:23.412982+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"ef130d24-3827-5ca3-85ae-700fe155b6ae\",\"attributes\":{\"public_id\":174802,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Add_commander_to_an_incident_returns_OK_response-1699302323\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:23.425656+00:00\",\"modified\":\"2023-11-06T20:25:23.425656+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:23.412982+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -72,7 +72,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"ef130d24-3827-5ca3-85ae-700fe155b6ae\",\"attributes\":{\"public_id\":174802,\"incident_type_uuid\":null,\"title\":\"Test-Add_commander_to_an_incident_returns_OK_response-1699302323\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:23.425656+00:00\",\"modified\":\"2023-11-06T20:25:23.853499+00:00\",\"commander\":{\"data\":{\"type\":\"users\",\"id\":\"9cee6c65-7ce2-11ee-afa1-d613a1313e9b\",\"attributes\":{\"uuid\":\"9cee6c65-7ce2-11ee-afa1-d613a1313e9b\",\"handle\":\"test-add_commander_to_an_incident_returns_ok_response-1699302323@datadoghq.com\",\"email\":\"test-add_commander_to_an_incident_returns_ok_response-1699302323@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/3635a30484b69ec7f1dd8be2aa1962c6?s=48&d=retro\"}}},\"detected\":\"2023-11-06T20:25:23.412982+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"a08d26e3-2baf-51dc-a956-a1df39b65108\"},{\"type\":\"incident_responders\",\"id\":\"28394b67-84ac-5ace-80bc-da0472019eae\"}]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"ef130d24-3827-5ca3-85ae-700fe155b6ae\",\"attributes\":{\"public_id\":174802,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Add_commander_to_an_incident_returns_OK_response-1699302323\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:23.425656+00:00\",\"modified\":\"2023-11-06T20:25:23.853499+00:00\",\"commander\":{\"data\":{\"type\":\"users\",\"id\":\"9cee6c65-7ce2-11ee-afa1-d613a1313e9b\",\"attributes\":{\"uuid\":\"9cee6c65-7ce2-11ee-afa1-d613a1313e9b\",\"handle\":\"test-add_commander_to_an_incident_returns_ok_response-1699302323@datadoghq.com\",\"email\":\"test-add_commander_to_an_incident_returns_ok_response-1699302323@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/3635a30484b69ec7f1dd8be2aa1962c6?s=48&d=retro\"}}},\"detected\":\"2023-11-06T20:25:23.412982+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"a08d26e3-2baf-51dc-a956-a1df39b65108\"},{\"type\":\"incident_responders\",\"id\":\"28394b67-84ac-5ace-80bc-da0472019eae\"}]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_attachment_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_an_incident_attachment_returns_OK_response.json index e01afcc7921..a6c82f3ff3a 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_incident_attachment_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_attachment_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f5faf64f-c9bd-5171-8c9e-e4ce51604c97\",\"attributes\":{\"public_id\":174803,\"incident_type_uuid\":null,\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1699302324\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:24.903041+00:00\",\"modified\":\"2023-11-06T20:25:24.903041+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:24.890646+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f5faf64f-c9bd-5171-8c9e-e4ce51604c97\",\"attributes\":{\"public_id\":174803,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Create_an_incident_attachment_returns_OK_response-1699302324\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:24.903041+00:00\",\"modified\":\"2023-11-06T20:25:24.903041+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:24.890646+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_integration_metadata_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_an_incident_integration_metadata_returns_CREATED_response.json index 44e6d9f345d..dcad3a093f2 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_incident_integration_metadata_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_integration_metadata_returns_CREATED_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"114eac5a-0705-59b8-b9fd-0810aadb85f7\",\"attributes\":{\"public_id\":174804,\"incident_type_uuid\":null,\"title\":\"Test-Create_an_incident_integration_metadata_returns_CREATED_response-1699302325\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:25.824255+00:00\",\"modified\":\"2023-11-06T20:25:25.824255+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:25.811013+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"114eac5a-0705-59b8-b9fd-0810aadb85f7\",\"attributes\":{\"public_id\":174804,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Create_an_incident_integration_metadata_returns_CREATED_response-1699302325\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:25.824255+00:00\",\"modified\":\"2023-11-06T20:25:25.824255+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:25.811013+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_an_incident_returns_CREATED_response.json index 472067a3697..6b3764934dc 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_incident_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_returns_CREATED_response.json @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"3c4c88ec-620e-5fb0-af45-5cff0e7f6a16\",\"attributes\":{\"public_id\":174805,\"incident_type_uuid\":null,\"title\":\"Test-Create_an_incident_returns_CREATED_response-1699302326\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:27.088157+00:00\",\"modified\":\"2023-11-06T20:25:27.088157+00:00\",\"commander\":{\"data\":{\"type\":\"users\",\"id\":\"9f1d70ff-7ce2-11ee-8c05-8e8ed6f172de\",\"attributes\":{\"uuid\":\"9f1d70ff-7ce2-11ee-8c05-8e8ed6f172de\",\"handle\":\"test-create_an_incident_returns_created_response-1699302326@datadoghq.com\",\"email\":\"test-create_an_incident_returns_created_response-1699302326@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/458fde925dde178af60afb57aede60ab?s=48&d=retro\"}}},\"detected\":\"2023-11-06T20:25:27.074830+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"resolved\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":{\"type\":\"users\",\"id\":\"9f1d70ff-7ce2-11ee-8c05-8e8ed6f172de\"}},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"285bf315-cd07-50a7-9fc2-507791ac4079\"}]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"3c4c88ec-620e-5fb0-af45-5cff0e7f6a16\",\"attributes\":{\"public_id\":174805,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Create_an_incident_returns_CREATED_response-1699302326\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:27.088157+00:00\",\"modified\":\"2023-11-06T20:25:27.088157+00:00\",\"commander\":{\"data\":{\"type\":\"users\",\"id\":\"9f1d70ff-7ce2-11ee-8c05-8e8ed6f172de\",\"attributes\":{\"uuid\":\"9f1d70ff-7ce2-11ee-8c05-8e8ed6f172de\",\"handle\":\"test-create_an_incident_returns_created_response-1699302326@datadoghq.com\",\"email\":\"test-create_an_incident_returns_created_response-1699302326@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/458fde925dde178af60afb57aede60ab?s=48&d=retro\"}}},\"detected\":\"2023-11-06T20:25:27.074830+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"resolved\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":{\"type\":\"users\",\"id\":\"9f1d70ff-7ce2-11ee-8c05-8e8ed6f172de\"}},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"285bf315-cd07-50a7-9fc2-507791ac4079\"}]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.freeze b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.freeze new file mode 100644 index 00000000000..86f3abd13f5 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.freeze @@ -0,0 +1 @@ +2024-10-24T15:20:10.569Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json new file mode 100644 index 00000000000..9d2580f569b --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json @@ -0,0 +1,58 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"description\":\"e4408b9cd8ee3d61\",\"is_default\":true,\"name\":\"e4408b9cd8ee3d61\"},\"type\":\"incident_types\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/incidents/config/types", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"56ec8c33-78bf-469b-a45c-7aa57f5c2328\",\"type\":\"incident_types\",\"attributes\":{\"createdAt\":\"2024-10-24T15:20:11.007569706Z\",\"createdBy\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"description\":\"e4408b9cd8ee3d61\",\"is_default\":true,\"lastModifiedBy\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"modifiedAt\":\"2024-10-24T15:20:11.007569706Z\",\"name\":\"e4408b9cd8ee3d61\",\"prefix\":\"IR\"}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "a20f9ca0-32af-9f52-110b-cc93fc9ba034" + }, + { + "httpRequest": { + "headers": {}, + "method": "DELETE", + "path": "/api/v2/incidents/config/types/56ec8c33-78bf-469b-a45c-7aa57f5c2328", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"cannot delete default incident type 56ec8c33-78bf-469b-a45c-7aa57f5c2328\"}]}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 400, + "reasonPhrase": "Bad Request" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "adde0cb1-c20b-10fb-0a62-4f5377271f31" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_an_existing_incident_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_an_existing_incident_returns_OK_response.json index 5dd75000d29..eedf598a01f 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_existing_incident_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_existing_incident_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"e7a955c0-dcf2-553c-a8ae-4fa4908eb5bf\",\"attributes\":{\"public_id\":174806,\"incident_type_uuid\":null,\"title\":\"Test-Delete_an_existing_incident_returns_OK_response-1699302328\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:28.282046+00:00\",\"modified\":\"2023-11-06T20:25:28.282046+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:28.271982+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"e7a955c0-dcf2-553c-a8ae-4fa4908eb5bf\",\"attributes\":{\"public_id\":174806,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Delete_an_existing_incident_returns_OK_response-1699302328\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:28.282046+00:00\",\"modified\":\"2023-11-06T20:25:28.282046+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:28.271982+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Delete_an_incident_integration_metadata_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_an_incident_integration_metadata_returns_OK_response.json index f7cb92492bc..72f3351b399 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_incident_integration_metadata_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_incident_integration_metadata_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f703ecbc-fb3c-5ec1-b7a3-272149fddce7\",\"attributes\":{\"public_id\":174807,\"incident_type_uuid\":null,\"title\":\"Test-Delete_an_incident_integration_metadata_returns_OK_response-1699302328\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:29.083565+00:00\",\"modified\":\"2023-11-06T20:25:29.083565+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:29.071823+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f703ecbc-fb3c-5ec1-b7a3-272149fddce7\",\"attributes\":{\"public_id\":174807,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Delete_an_incident_integration_metadata_returns_OK_response-1699302328\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:29.083565+00:00\",\"modified\":\"2023-11-06T20:25:29.083565+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:29.071823+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.freeze new file mode 100644 index 00000000000..c59b8592cc0 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.freeze @@ -0,0 +1 @@ +2024-10-24T15:24:42.492Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json new file mode 100644 index 00000000000..d56ff8e39e0 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json @@ -0,0 +1,74 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"name\":\"5864bf8d69a3a3e5\"},\"type\":\"incident_types\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/incidents/config/types", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"6bffa77c-491c-42a6-bc83-30c49a657fce\",\"type\":\"incident_types\",\"attributes\":{\"createdAt\":\"2024-10-24T15:24:42.956582093Z\",\"createdBy\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"description\":\"\",\"is_default\":false,\"lastModifiedBy\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"modifiedAt\":\"2024-10-24T15:24:42.956582093Z\",\"name\":\"5864bf8d69a3a3e5\",\"prefix\":\"IR\"}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "9676d75a-9d8a-de6e-7fa5-15774f717cc2" + }, + { + "httpRequest": { + "headers": {}, + "method": "DELETE", + "path": "/api/v2/incidents/config/types/6bffa77c-491c-42a6-bc83-30c49a657fce", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "headers": {}, + "statusCode": 204, + "reasonPhrase": "No Content" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "f737a3e9-24af-d133-e99c-52cd7c80d7a9" + }, + { + "httpRequest": { + "headers": {}, + "method": "DELETE", + "path": "/api/v2/incidents/config/types/6bffa77c-491c-42a6-bc83-30c49a657fce", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "headers": {}, + "statusCode": 204, + "reasonPhrase": "No Content" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "f737a3e9-24af-d133-e99c-52cd7c80d7aa" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response.json index 2b1b69e3262..27f2df07f72 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"716a6bf5-cea2-5026-ba21-e1354d790343\",\"attributes\":{\"public_id\":174808,\"incident_type_uuid\":null,\"title\":\"Test-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1699302330\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:30.371095+00:00\",\"modified\":\"2023-11-06T20:25:30.371095+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:30.358461+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"716a6bf5-cea2-5026-ba21-e1354d790343\",\"attributes\":{\"public_id\":174808,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1699302330\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:30.371095+00:00\",\"modified\":\"2023-11-06T20:25:30.371095+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:30.358461+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_incidents_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_incidents_returns_OK_response.json index d0ae6f524dc..846247366aa 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_incidents_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_incidents_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"ab39b86b-fe44-570b-be1b-6ce0242d980d\",\"attributes\":{\"public_id\":174809,\"incident_type_uuid\":null,\"title\":\"Test-Get_a_list_of_incidents_returns_OK_response-1699302331\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:31.701983+00:00\",\"modified\":\"2023-11-06T20:25:31.701983+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:31.689012+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"ab39b86b-fe44-570b-be1b-6ce0242d980d\",\"attributes\":{\"public_id\":174809,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Get_a_list_of_incidents_returns_OK_response-1699302331\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:31.701983+00:00\",\"modified\":\"2023-11-06T20:25:31.701983+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:31.689012+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -38,7 +38,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"type\":\"incidents\",\"id\":\"53be4c9b-17c1-5109-9e61-f97804f78df0\",\"attributes\":{\"public_id\":174180,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Add_commander_to_an_incident_returns_OK_response-1699043757\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:35:58.136089+00:00\",\"modified\":\"2023-11-03T20:35:58.136089+00:00\",\"detected\":\"2023-11-03T20:35:58.123446+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"a72d6e86-3581-5a0c-9407-7c118a72e3b9\",\"attributes\":{\"public_id\":174181,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Create_an_incident_attachment_returns_OK_response-1699043758\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:35:58.740564+00:00\",\"modified\":\"2023-11-03T20:35:58.740564+00:00\",\"detected\":\"2023-11-03T20:35:58.729778+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"40eb208a-c867-5b51-97ee-e8efba340396\",\"attributes\":{\"public_id\":174182,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Create_an_incident_integration_metadata_returns_CREATED_response-1699043758\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:35:59.153850+00:00\",\"modified\":\"2023-11-03T20:35:59.153850+00:00\",\"detected\":\"2023-11-03T20:35:59.141884+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"233463fe-28bd-5361-9d14-98e2ac20f328\",\"attributes\":{\"public_id\":174183,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Create_an_incident_returns_CREATED_response-1699043759\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:35:59.657637+00:00\",\"modified\":\"2023-11-03T20:35:59.657637+00:00\",\"detected\":\"2023-11-03T20:35:59.647678+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"resolved\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":{\"type\":\"users\",\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\"}},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"598eca3a-47d8-55a8-a2ca-0a95d0b9ec7c\"}]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"1b45d550-12f7-55c8-89ed-826d688d3d1f\",\"attributes\":{\"public_id\":174184,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Delete_an_existing_incident_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:00.341449+00:00\",\"modified\":\"2023-11-03T20:36:00.341449+00:00\",\"detected\":\"2023-11-03T20:36:00.331012+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"19c70c0d-7e83-5f81-bcd2-75e0f90ee11f\",\"attributes\":{\"public_id\":174185,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Delete_an_incident_integration_metadata_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:00.653305+00:00\",\"modified\":\"2023-11-03T20:36:00.653305+00:00\",\"detected\":\"2023-11-03T20:36:00.642522+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"0ddf94c4-47ec-5fbb-8827-101c1b2678e0\",\"attributes\":{\"public_id\":174186,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:00.962444+00:00\",\"modified\":\"2023-11-03T20:36:00.962444+00:00\",\"detected\":\"2023-11-03T20:36:00.951291+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"ce870e8d-cd51-5b58-92ef-2dfe01530066\",\"attributes\":{\"public_id\":174187,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_a_list_of_incidents_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:01.278262+00:00\",\"modified\":\"2023-11-03T20:36:01.278262+00:00\",\"detected\":\"2023-11-03T20:36:01.267284+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"9c68f2c7-256e-5e98-a176-97526fd9d257\",\"attributes\":{\"public_id\":174188,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_incident_attachments_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:01.678836+00:00\",\"modified\":\"2023-11-03T20:36:01.678836+00:00\",\"detected\":\"2023-11-03T20:36:01.662659+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e4b4a761-8426-5e8c-ac41-e151eee07af9\",\"attributes\":{\"public_id\":174189,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_incident_integration_metadata_details_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:02.127431+00:00\",\"modified\":\"2023-11-03T20:36:02.127431+00:00\",\"detected\":\"2023-11-03T20:36:02.115307+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e70e2781-1df4-5e93-9210-7c672ff65a8c\",\"attributes\":{\"public_id\":174190,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_the_details_of_an_incident_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:02.523488+00:00\",\"modified\":\"2023-11-03T20:36:02.523488+00:00\",\"detected\":\"2023-11-03T20:36:02.508790+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"68000356-e808-5571-b49a-109e96bc5e08\",\"attributes\":{\"public_id\":174191,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Remove_commander_from_an_incident_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:02.811051+00:00\",\"modified\":\"2023-11-03T20:36:02.811051+00:00\",\"detected\":\"2023-11-03T20:36:02.800270+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"5af2ff33-ec8d-50c1-ae0b-77694ea77c89\",\"attributes\":{\"public_id\":174192,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Update_an_existing_incident_integration_metadata_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:03.083799+00:00\",\"modified\":\"2023-11-03T20:36:03.083799+00:00\",\"detected\":\"2023-11-03T20:36:03.071557+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"96534427-6172-53bf-8cbe-215de5b207e1\",\"attributes\":{\"public_id\":174193,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Update_an_existing_incident_returns_OK_response-1699043763\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:03.395843+00:00\",\"modified\":\"2023-11-03T20:36:03.395843+00:00\",\"detected\":\"2023-11-03T20:36:03.379763+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e729fbb8-4087-5227-8725-11e44fe85b5f\",\"attributes\":{\"public_id\":174194,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Update_an_incident_todo_returns_OK_response-1699043763\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:03.670238+00:00\",\"modified\":\"2023-11-03T20:36:03.670238+00:00\",\"detected\":\"2023-11-03T20:36:03.659639+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"ab39b86b-fe44-570b-be1b-6ce0242d980d\",\"attributes\":{\"public_id\":174809,\"incident_type_uuid\":null,\"title\":\"Test-Get_a_list_of_incidents_returns_OK_response-1699302331\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:31.701983+00:00\",\"modified\":\"2023-11-06T20:25:31.701983+00:00\",\"detected\":\"2023-11-06T20:25:31.689012+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}],\"meta\":{\"pagination\":{\"offset\":0,\"next_offset\":16,\"size\":16}}}\n", + "body": "{\"data\":[{\"type\":\"incidents\",\"id\":\"53be4c9b-17c1-5109-9e61-f97804f78df0\",\"attributes\":{\"public_id\":174180,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Add_commander_to_an_incident_returns_OK_response-1699043757\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:35:58.136089+00:00\",\"modified\":\"2023-11-03T20:35:58.136089+00:00\",\"detected\":\"2023-11-03T20:35:58.123446+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"a72d6e86-3581-5a0c-9407-7c118a72e3b9\",\"attributes\":{\"public_id\":174181,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Create_an_incident_attachment_returns_OK_response-1699043758\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:35:58.740564+00:00\",\"modified\":\"2023-11-03T20:35:58.740564+00:00\",\"detected\":\"2023-11-03T20:35:58.729778+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"40eb208a-c867-5b51-97ee-e8efba340396\",\"attributes\":{\"public_id\":174182,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Create_an_incident_integration_metadata_returns_CREATED_response-1699043758\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:35:59.153850+00:00\",\"modified\":\"2023-11-03T20:35:59.153850+00:00\",\"detected\":\"2023-11-03T20:35:59.141884+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"233463fe-28bd-5361-9d14-98e2ac20f328\",\"attributes\":{\"public_id\":174183,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Create_an_incident_returns_CREATED_response-1699043759\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:35:59.657637+00:00\",\"modified\":\"2023-11-03T20:35:59.657637+00:00\",\"detected\":\"2023-11-03T20:35:59.647678+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"resolved\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":{\"type\":\"users\",\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\"}},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"598eca3a-47d8-55a8-a2ca-0a95d0b9ec7c\"}]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"1b45d550-12f7-55c8-89ed-826d688d3d1f\",\"attributes\":{\"public_id\":174184,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Delete_an_existing_incident_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:00.341449+00:00\",\"modified\":\"2023-11-03T20:36:00.341449+00:00\",\"detected\":\"2023-11-03T20:36:00.331012+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"19c70c0d-7e83-5f81-bcd2-75e0f90ee11f\",\"attributes\":{\"public_id\":174185,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Delete_an_incident_integration_metadata_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:00.653305+00:00\",\"modified\":\"2023-11-03T20:36:00.653305+00:00\",\"detected\":\"2023-11-03T20:36:00.642522+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"0ddf94c4-47ec-5fbb-8827-101c1b2678e0\",\"attributes\":{\"public_id\":174186,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:00.962444+00:00\",\"modified\":\"2023-11-03T20:36:00.962444+00:00\",\"detected\":\"2023-11-03T20:36:00.951291+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"ce870e8d-cd51-5b58-92ef-2dfe01530066\",\"attributes\":{\"public_id\":174187,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_a_list_of_incidents_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:01.278262+00:00\",\"modified\":\"2023-11-03T20:36:01.278262+00:00\",\"detected\":\"2023-11-03T20:36:01.267284+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"9c68f2c7-256e-5e98-a176-97526fd9d257\",\"attributes\":{\"public_id\":174188,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_incident_attachments_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:01.678836+00:00\",\"modified\":\"2023-11-03T20:36:01.678836+00:00\",\"detected\":\"2023-11-03T20:36:01.662659+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e4b4a761-8426-5e8c-ac41-e151eee07af9\",\"attributes\":{\"public_id\":174189,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_incident_integration_metadata_details_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:02.127431+00:00\",\"modified\":\"2023-11-03T20:36:02.127431+00:00\",\"detected\":\"2023-11-03T20:36:02.115307+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e70e2781-1df4-5e93-9210-7c672ff65a8c\",\"attributes\":{\"public_id\":174190,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_the_details_of_an_incident_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:02.523488+00:00\",\"modified\":\"2023-11-03T20:36:02.523488+00:00\",\"detected\":\"2023-11-03T20:36:02.508790+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"68000356-e808-5571-b49a-109e96bc5e08\",\"attributes\":{\"public_id\":174191,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Remove_commander_from_an_incident_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:02.811051+00:00\",\"modified\":\"2023-11-03T20:36:02.811051+00:00\",\"detected\":\"2023-11-03T20:36:02.800270+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"5af2ff33-ec8d-50c1-ae0b-77694ea77c89\",\"attributes\":{\"public_id\":174192,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Update_an_existing_incident_integration_metadata_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:03.083799+00:00\",\"modified\":\"2023-11-03T20:36:03.083799+00:00\",\"detected\":\"2023-11-03T20:36:03.071557+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"96534427-6172-53bf-8cbe-215de5b207e1\",\"attributes\":{\"public_id\":174193,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Update_an_existing_incident_returns_OK_response-1699043763\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:03.395843+00:00\",\"modified\":\"2023-11-03T20:36:03.395843+00:00\",\"detected\":\"2023-11-03T20:36:03.379763+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e729fbb8-4087-5227-8725-11e44fe85b5f\",\"attributes\":{\"public_id\":174194,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Update_an_incident_todo_returns_OK_response-1699043763\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-03T20:36:03.670238+00:00\",\"modified\":\"2023-11-03T20:36:03.670238+00:00\",\"detected\":\"2023-11-03T20:36:03.659639+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"ab39b86b-fe44-570b-be1b-6ce0242d980d\",\"attributes\":{\"public_id\":174809,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Get_a_list_of_incidents_returns_OK_response-1699302331\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:31.701983+00:00\",\"modified\":\"2023-11-06T20:25:31.701983+00:00\",\"detected\":\"2023-11-06T20:25:31.689012+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}],\"meta\":{\"pagination\":{\"offset\":0,\"next_offset\":16,\"size\":16}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Get_incident_attachments_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_incident_attachments_returns_OK_response.json index bca33971d61..4b168075711 100644 --- a/src/test/resources/cassettes/features/v2/Get_incident_attachments_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_incident_attachments_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"e49b3ad0-3bd0-5b05-91a1-06706e7e8bda\",\"attributes\":{\"public_id\":174810,\"incident_type_uuid\":null,\"title\":\"Test-Get_incident_attachments_returns_OK_response-1699302332\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:33.000644+00:00\",\"modified\":\"2023-11-06T20:25:33.000644+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:32.991070+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"e49b3ad0-3bd0-5b05-91a1-06706e7e8bda\",\"attributes\":{\"public_id\":174810,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Get_incident_attachments_returns_OK_response-1699302332\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:33.000644+00:00\",\"modified\":\"2023-11-06T20:25:33.000644+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:32.991070+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Get_incident_integration_metadata_details_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_incident_integration_metadata_details_returns_OK_response.json index 41cd455d185..87f628033d5 100644 --- a/src/test/resources/cassettes/features/v2/Get_incident_integration_metadata_details_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_incident_integration_metadata_details_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"0c83a971-8024-5a9f-8748-957c6a94dcbd\",\"attributes\":{\"public_id\":174811,\"incident_type_uuid\":null,\"title\":\"Test-Get_incident_integration_metadata_details_returns_OK_response-1699302334\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:34.181614+00:00\",\"modified\":\"2023-11-06T20:25:34.181614+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:34.167758+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"0c83a971-8024-5a9f-8748-957c6a94dcbd\",\"attributes\":{\"public_id\":174811,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Get_incident_integration_metadata_details_returns_OK_response-1699302334\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:34.181614+00:00\",\"modified\":\"2023-11-06T20:25:34.181614+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:34.167758+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_incident_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_incident_returns_OK_response.json index a92c2351674..25eff408ce4 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_an_incident_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_an_incident_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"1996a76f-a6b7-570a-bc63-95f7f1d0e289\",\"attributes\":{\"public_id\":174812,\"incident_type_uuid\":null,\"title\":\"Test-Get_the_details_of_an_incident_returns_OK_response-1699302335\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:35.426487+00:00\",\"modified\":\"2023-11-06T20:25:35.426487+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:35.414038+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"1996a76f-a6b7-570a-bc63-95f7f1d0e289\",\"attributes\":{\"public_id\":174812,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Get_the_details_of_an_incident_returns_OK_response-1699302335\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:35.426487+00:00\",\"modified\":\"2023-11-06T20:25:35.426487+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:35.414038+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -38,7 +38,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"1996a76f-a6b7-570a-bc63-95f7f1d0e289\",\"attributes\":{\"public_id\":174812,\"incident_type_uuid\":null,\"title\":\"Test-Get_the_details_of_an_incident_returns_OK_response-1699302335\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:35.426487+00:00\",\"modified\":\"2023-11-06T20:25:35.426487+00:00\",\"detected\":\"2023-11-06T20:25:35.414038+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"1996a76f-a6b7-570a-bc63-95f7f1d0e289\",\"attributes\":{\"public_id\":174812,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Get_the_details_of_an_incident_returns_OK_response-1699302335\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:35.426487+00:00\",\"modified\":\"2023-11-06T20:25:35.426487+00:00\",\"detected\":\"2023-11-06T20:25:35.414038+00:00\",\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Remove_commander_from_an_incident_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Remove_commander_from_an_incident_returns_OK_response.json index 6d6ac5fab01..7462b42f569 100644 --- a/src/test/resources/cassettes/features/v2/Remove_commander_from_an_incident_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Remove_commander_from_an_incident_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f485a73d-bb6f-53ad-8d2a-61e965f3fb4a\",\"attributes\":{\"public_id\":174813,\"incident_type_uuid\":null,\"title\":\"Test-Remove_commander_from_an_incident_returns_OK_response-1699302335\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:36.125910+00:00\",\"modified\":\"2023-11-06T20:25:36.125910+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:36.111903+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f485a73d-bb6f-53ad-8d2a-61e965f3fb4a\",\"attributes\":{\"public_id\":174813,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Remove_commander_from_an_incident_returns_OK_response-1699302335\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:36.125910+00:00\",\"modified\":\"2023-11-06T20:25:36.125910+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:36.111903+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f485a73d-bb6f-53ad-8d2a-61e965f3fb4a\",\"attributes\":{\"public_id\":174813,\"incident_type_uuid\":null,\"title\":\"Test-Remove_commander_from_an_incident_returns_OK_response-1699302335\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:36.125910+00:00\",\"modified\":\"2023-11-06T20:25:36.524033+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:36.111903+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"db687925-f1c5-5629-b919-98dd4e581626\"}]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"f485a73d-bb6f-53ad-8d2a-61e965f3fb4a\",\"attributes\":{\"public_id\":174813,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Remove_commander_from_an_incident_returns_OK_response-1699302335\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:36.125910+00:00\",\"modified\":\"2023-11-06T20:25:36.524033+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:36.111903+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"db687925-f1c5-5629-b919-98dd4e581626\"}]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Search_for_incidents_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Search_for_incidents_returns_OK_response.json index a70c57e7549..be0991463e8 100644 --- a/src/test/resources/cassettes/features/v2/Search_for_incidents_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Search_for_incidents_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"e3d37bc4-d7ee-55f8-87d7-651729afc766\",\"attributes\":{\"public_id\":174814,\"incident_type_uuid\":null,\"title\":\"Test-Search_for_incidents_returns_OK_response-1699302337\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:37.187440+00:00\",\"modified\":\"2023-11-06T20:25:37.187440+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:37.163541+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"e3d37bc4-d7ee-55f8-87d7-651729afc766\",\"attributes\":{\"public_id\":174814,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Search_for_incidents_returns_OK_response-1699302337\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:37.187440+00:00\",\"modified\":\"2023-11-06T20:25:37.187440+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:37.163541+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -43,7 +43,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents_search_results\",\"attributes\":{\"total\":15,\"facets\":{\"severity\":[{\"name\":\"UNKNOWN\",\"count\":15},{\"name\":\"SEV-1\",\"count\":0},{\"name\":\"SEV-2\",\"count\":0},{\"name\":\"SEV-3\",\"count\":0},{\"name\":\"SEV-4\",\"count\":0},{\"name\":\"SEV-5\",\"count\":0}],\"time_to_repair\":[{\"name\":\"time_to_repair\",\"aggregates\":{\"min\":null,\"max\":null}}],\"visibility\":[{\"name\":\"organization\",\"count\":15}],\"responder\":[{\"name\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"count\":1,\"handle\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"uuid\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"email\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\"}],\"impact\":[{\"name\":\"none\",\"count\":15}],\"postmortem\":[{\"name\":\"No\",\"count\":15},{\"name\":\"Yes\",\"count\":0}],\"time_to_resolve\":[{\"name\":\"time_to_resolve\",\"aggregates\":{\"min\":null,\"max\":null}}],\"state\":[{\"name\":\"active\",\"count\":14},{\"name\":\"resolved\",\"count\":1},{\"name\":\"stable\",\"count\":0}],\"customer_impacted\":[{\"name\":0,\"count\":15},{\"name\":true,\"count\":0}],\"fields\":[{\"name\":\"detection_method\",\"facets\":[{\"name\":\"unknown\",\"count\":15},{\"name\":\"customer\",\"count\":0},{\"name\":\"employee\",\"count\":0},{\"name\":\"monitor\",\"count\":0},{\"name\":\"other\",\"count\":0}]},{\"name\":\"root_cause\",\"facets\":[]},{\"name\":\"services\",\"facets\":[]},{\"name\":\"summary\",\"facets\":[]},{\"name\":\"teams\",\"facets\":[]}],\"created_by\":[{\"name\":\"frog@datadoghq.com\",\"count\":15,\"handle\":\"frog@datadoghq.com\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"email\":\"frog@datadoghq.com\"}],\"last_modified_by\":[{\"name\":\"frog@datadoghq.com\",\"count\":15,\"handle\":\"frog@datadoghq.com\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"email\":\"frog@datadoghq.com\"}],\"commander\":[{\"name\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"count\":1,\"handle\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"uuid\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"email\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\"}]},\"incidents\":[{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Update_an_existing_incident_returns_OK_response-1699043763\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:03+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:03+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null}},\"public_id\":174193},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"96534427-6172-53bf-8cbe-215de5b207e1\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Update_an_incident_todo_returns_OK_response-1699043763\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:03+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:03+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"}},\"public_id\":174194},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"e729fbb8-4087-5227-8725-11e44fe85b5f\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Update_an_existing_incident_integration_metadata_returns_OK_response-1699043762\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:03+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:03+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"}},\"public_id\":174192},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"5af2ff33-ec8d-50c1-ae0b-77694ea77c89\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Remove_commander_from_an_incident_returns_OK_response-1699043762\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:02+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:02+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"public_id\":174191},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"68000356-e808-5571-b49a-109e96bc5e08\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_incident_integration_metadata_details_returns_OK_response-1699043761\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:02+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:02+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"public_id\":174189},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"e4b4a761-8426-5e8c-ac41-e151eee07af9\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_the_details_of_an_incident_returns_OK_response-1699043762\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:02+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:02+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"}},\"public_id\":174190},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"e70e2781-1df4-5e93-9210-7c672ff65a8c\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:01+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_a_list_of_incidents_returns_OK_response-1699043761\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:01+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:01+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"public_id\":174187},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"ce870e8d-cd51-5b58-92ef-2dfe01530066\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:01+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_incident_attachments_returns_OK_response-1699043761\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:01+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:01+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"public_id\":174188},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"9c68f2c7-256e-5e98-a176-97526fd9d257\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Delete_an_incident_integration_metadata_returns_OK_response-1699043760\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:00+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:00+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043760,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"public_id\":174185},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"19c70c0d-7e83-5f81-bcd2-75e0f90ee11f\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Delete_an_existing_incident_returns_OK_response-1699043760\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:00+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:00+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043760,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null}},\"public_id\":174184},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"1b45d550-12f7-55c8-89ed-826d688d3d1f\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1699043760\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:00+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:00+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null}},\"public_id\":174186},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"0ddf94c4-47ec-5fbb-8827-101c1b2678e0\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:35:59+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Create_an_incident_returns_CREATED_response-1699043759\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:35:59+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:35:59+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"resolved\":{\"duration\":0,\"spans\":[{\"start\":1699043759,\"end\":null}]}}},\"state\":\"resolved\",\"notification_handles\":null,\"commander\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/f7303955721eab35c744ea91afdfe815?s=48&d=retro\",\"uuid\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"name\":\"\",\"email\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"handle\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\"},\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\"}},\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"}},\"public_id\":174183},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":{\"type\":\"users\",\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"598eca3a-47d8-55a8-a2ca-0a95d0b9ec7c\"}]}},\"id\":\"233463fe-28bd-5361-9d14-98e2ac20f328\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:35:59+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Create_an_incident_integration_metadata_returns_CREATED_response-1699043758\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:35:59+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:35:59+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043759,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"summary\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"public_id\":174182},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"40eb208a-c867-5b51-97ee-e8efba340396\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:35:58+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Add_commander_to_an_incident_returns_OK_response-1699043757\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:35:58+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:35:58+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043758,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"}},\"public_id\":174180},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"53be4c9b-17c1-5109-9e61-f97804f78df0\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":null,\"created_by_uuid\":null,\"created\":\"2023-11-03T20:35:58+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Create_an_incident_attachment_returns_OK_response-1699043758\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:35:58+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:35:58+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043758,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"public_id\":174181},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"a72d6e86-3581-5a0c-9407-7c118a72e3b9\"}}]},\"relationships\":{\"incidents_relationship\":{\"data\":[{\"type\":\"incidents\",\"id\":\"96534427-6172-53bf-8cbe-215de5b207e1\"},{\"type\":\"incidents\",\"id\":\"e729fbb8-4087-5227-8725-11e44fe85b5f\"},{\"type\":\"incidents\",\"id\":\"5af2ff33-ec8d-50c1-ae0b-77694ea77c89\"},{\"type\":\"incidents\",\"id\":\"68000356-e808-5571-b49a-109e96bc5e08\"},{\"type\":\"incidents\",\"id\":\"e4b4a761-8426-5e8c-ac41-e151eee07af9\"},{\"type\":\"incidents\",\"id\":\"e70e2781-1df4-5e93-9210-7c672ff65a8c\"},{\"type\":\"incidents\",\"id\":\"ce870e8d-cd51-5b58-92ef-2dfe01530066\"},{\"type\":\"incidents\",\"id\":\"9c68f2c7-256e-5e98-a176-97526fd9d257\"},{\"type\":\"incidents\",\"id\":\"19c70c0d-7e83-5f81-bcd2-75e0f90ee11f\"},{\"type\":\"incidents\",\"id\":\"1b45d550-12f7-55c8-89ed-826d688d3d1f\"},{\"type\":\"incidents\",\"id\":\"0ddf94c4-47ec-5fbb-8827-101c1b2678e0\"},{\"type\":\"incidents\",\"id\":\"233463fe-28bd-5361-9d14-98e2ac20f328\"},{\"type\":\"incidents\",\"id\":\"40eb208a-c867-5b51-97ee-e8efba340396\"},{\"type\":\"incidents\",\"id\":\"53be4c9b-17c1-5109-9e61-f97804f78df0\"},{\"type\":\"incidents\",\"id\":\"a72d6e86-3581-5a0c-9407-7c118a72e3b9\"}]}}},\"included\":[{\"type\":\"incidents\",\"id\":\"96534427-6172-53bf-8cbe-215de5b207e1\",\"attributes\":{\"public_id\":174193,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Update_an_existing_incident_returns_OK_response-1699043763\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"modified\":\"2023-11-03T20:36:03+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:03+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e729fbb8-4087-5227-8725-11e44fe85b5f\",\"attributes\":{\"public_id\":174194,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Update_an_incident_todo_returns_OK_response-1699043763\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"modified\":\"2023-11-03T20:36:03+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:03+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"5af2ff33-ec8d-50c1-ae0b-77694ea77c89\",\"attributes\":{\"public_id\":174192,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Update_an_existing_incident_integration_metadata_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"modified\":\"2023-11-03T20:36:03+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:03+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"68000356-e808-5571-b49a-109e96bc5e08\",\"attributes\":{\"public_id\":174191,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Remove_commander_from_an_incident_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"modified\":\"2023-11-03T20:36:02+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:02+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e4b4a761-8426-5e8c-ac41-e151eee07af9\",\"attributes\":{\"public_id\":174189,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_incident_integration_metadata_details_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"modified\":\"2023-11-03T20:36:02+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:02+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e70e2781-1df4-5e93-9210-7c672ff65a8c\",\"attributes\":{\"public_id\":174190,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_the_details_of_an_incident_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"modified\":\"2023-11-03T20:36:02+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:02+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"ce870e8d-cd51-5b58-92ef-2dfe01530066\",\"attributes\":{\"public_id\":174187,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_a_list_of_incidents_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:01+00:00\",\"modified\":\"2023-11-03T20:36:01+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:01+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"9c68f2c7-256e-5e98-a176-97526fd9d257\",\"attributes\":{\"public_id\":174188,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_incident_attachments_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:01+00:00\",\"modified\":\"2023-11-03T20:36:01+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:01+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"19c70c0d-7e83-5f81-bcd2-75e0f90ee11f\",\"attributes\":{\"public_id\":174185,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Delete_an_incident_integration_metadata_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"modified\":\"2023-11-03T20:36:00+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:00+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043760,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"1b45d550-12f7-55c8-89ed-826d688d3d1f\",\"attributes\":{\"public_id\":174184,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Delete_an_existing_incident_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"modified\":\"2023-11-03T20:36:00+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:00+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043760,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"0ddf94c4-47ec-5fbb-8827-101c1b2678e0\",\"attributes\":{\"public_id\":174186,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"modified\":\"2023-11-03T20:36:00+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:00+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"233463fe-28bd-5361-9d14-98e2ac20f328\",\"attributes\":{\"public_id\":174183,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Create_an_incident_returns_CREATED_response-1699043759\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:35:59+00:00\",\"modified\":\"2023-11-03T20:35:59+00:00\",\"commander\":{\"data\":{\"type\":\"users\",\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"attributes\":{\"uuid\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"handle\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"email\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/f7303955721eab35c744ea91afdfe815?s=48&d=retro\"}}},\"detected\":\"2023-11-03T20:35:59+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"}},\"field_analytics\":{\"state\":{\"resolved\":{\"duration\":0,\"spans\":[{\"start\":1699043759,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"resolved\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":{\"type\":\"users\",\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\"}},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"598eca3a-47d8-55a8-a2ca-0a95d0b9ec7c\"}]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"40eb208a-c867-5b51-97ee-e8efba340396\",\"attributes\":{\"public_id\":174182,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Create_an_incident_integration_metadata_returns_CREATED_response-1699043758\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:35:59+00:00\",\"modified\":\"2023-11-03T20:35:59+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:35:59+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"summary\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043759,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"53be4c9b-17c1-5109-9e61-f97804f78df0\",\"attributes\":{\"public_id\":174180,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Add_commander_to_an_incident_returns_OK_response-1699043757\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:35:58+00:00\",\"modified\":\"2023-11-03T20:35:58+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:35:58+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043758,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"a72d6e86-3581-5a0c-9407-7c118a72e3b9\",\"attributes\":{\"public_id\":174181,\"incident_type_uuid\":null,\"title\":\"Test-Typescript-Create_an_incident_attachment_returns_OK_response-1699043758\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:35:58+00:00\",\"modified\":\"2023-11-03T20:35:58+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:35:58+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043758,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}],\"meta\":{\"pagination\":{\"offset\":0,\"next_offset\":15,\"size\":15}}}\n", + "body": "{\"data\":{\"type\":\"incidents_search_results\",\"attributes\":{\"total\":15,\"facets\":{\"severity\":[{\"name\":\"UNKNOWN\",\"count\":15},{\"name\":\"SEV-1\",\"count\":0},{\"name\":\"SEV-2\",\"count\":0},{\"name\":\"SEV-3\",\"count\":0},{\"name\":\"SEV-4\",\"count\":0},{\"name\":\"SEV-5\",\"count\":0}],\"time_to_repair\":[{\"name\":\"time_to_repair\",\"aggregates\":{\"min\":null,\"max\":null}}],\"visibility\":[{\"name\":\"organization\",\"count\":15}],\"responder\":[{\"name\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"count\":1,\"handle\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"uuid\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"email\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\"}],\"impact\":[{\"name\":\"none\",\"count\":15}],\"postmortem\":[{\"name\":\"No\",\"count\":15},{\"name\":\"Yes\",\"count\":0}],\"time_to_resolve\":[{\"name\":\"time_to_resolve\",\"aggregates\":{\"min\":null,\"max\":null}}],\"state\":[{\"name\":\"active\",\"count\":14},{\"name\":\"resolved\",\"count\":1},{\"name\":\"stable\",\"count\":0}],\"customer_impacted\":[{\"name\":0,\"count\":15},{\"name\":true,\"count\":0}],\"fields\":[{\"name\":\"detection_method\",\"facets\":[{\"name\":\"unknown\",\"count\":15},{\"name\":\"customer\",\"count\":0},{\"name\":\"employee\",\"count\":0},{\"name\":\"monitor\",\"count\":0},{\"name\":\"other\",\"count\":0}]},{\"name\":\"root_cause\",\"facets\":[]},{\"name\":\"services\",\"facets\":[]},{\"name\":\"summary\",\"facets\":[]},{\"name\":\"teams\",\"facets\":[]}],\"created_by\":[{\"name\":\"frog@datadoghq.com\",\"count\":15,\"handle\":\"frog@datadoghq.com\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"email\":\"frog@datadoghq.com\"}],\"last_modified_by\":[{\"name\":\"frog@datadoghq.com\",\"count\":15,\"handle\":\"frog@datadoghq.com\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"email\":\"frog@datadoghq.com\"}],\"commander\":[{\"name\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"count\":1,\"handle\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"uuid\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"email\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\"}]},\"incidents\":[{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Update_an_existing_incident_returns_OK_response-1699043763\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:03+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:03+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null}},\"public_id\":174193},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"96534427-6172-53bf-8cbe-215de5b207e1\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Update_an_incident_todo_returns_OK_response-1699043763\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:03+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:03+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"}},\"public_id\":174194},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"e729fbb8-4087-5227-8725-11e44fe85b5f\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Update_an_existing_incident_integration_metadata_returns_OK_response-1699043762\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:03+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:03+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"}},\"public_id\":174192},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"5af2ff33-ec8d-50c1-ae0b-77694ea77c89\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Remove_commander_from_an_incident_returns_OK_response-1699043762\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:02+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:02+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"public_id\":174191},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"68000356-e808-5571-b49a-109e96bc5e08\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_incident_integration_metadata_details_returns_OK_response-1699043761\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:02+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:02+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"public_id\":174189},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"e4b4a761-8426-5e8c-ac41-e151eee07af9\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_the_details_of_an_incident_returns_OK_response-1699043762\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:02+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:02+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"}},\"public_id\":174190},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"e70e2781-1df4-5e93-9210-7c672ff65a8c\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:01+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_a_list_of_incidents_returns_OK_response-1699043761\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:01+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:01+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"public_id\":174187},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"ce870e8d-cd51-5b58-92ef-2dfe01530066\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:01+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_incident_attachments_returns_OK_response-1699043761\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:01+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:01+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"public_id\":174188},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"9c68f2c7-256e-5e98-a176-97526fd9d257\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Delete_an_incident_integration_metadata_returns_OK_response-1699043760\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:00+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:00+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043760,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"public_id\":174185},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"19c70c0d-7e83-5f81-bcd2-75e0f90ee11f\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Delete_an_existing_incident_returns_OK_response-1699043760\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:00+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:00+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043760,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null}},\"public_id\":174184},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"1b45d550-12f7-55c8-89ed-826d688d3d1f\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1699043760\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:36:00+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:36:00+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null}},\"public_id\":174186},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"0ddf94c4-47ec-5fbb-8827-101c1b2678e0\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:35:59+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Create_an_incident_returns_CREATED_response-1699043759\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:35:59+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:35:59+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"resolved\":{\"duration\":0,\"spans\":[{\"start\":1699043759,\"end\":null}]}}},\"state\":\"resolved\",\"notification_handles\":null,\"commander\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/f7303955721eab35c744ea91afdfe815?s=48&d=retro\",\"uuid\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"name\":\"\",\"email\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"handle\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\"},\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\"}},\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"}},\"public_id\":174183},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":{\"type\":\"users\",\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"598eca3a-47d8-55a8-a2ca-0a95d0b9ec7c\"}]}},\"id\":\"233463fe-28bd-5361-9d14-98e2ac20f328\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:35:59+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Create_an_incident_integration_metadata_returns_CREATED_response-1699043758\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:35:59+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:35:59+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043759,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"summary\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"public_id\":174182},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"40eb208a-c867-5b51-97ee-e8efba340396\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:35:58+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Add_commander_to_an_incident_returns_OK_response-1699043757\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:35:58+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:35:58+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043758,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"}},\"public_id\":174180},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"53be4c9b-17c1-5109-9e61-f97804f78df0\"}},{\"data\":{\"type\":\"incidents\",\"attributes\":{\"time_to_repair\":0,\"creation_idempotency_key\":null,\"archived\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impacted\":false,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"created_by_uuid\":null,\"created\":\"2023-11-03T20:35:58+00:00\",\"time_to_internal_response\":0,\"title\":\"Test-Typescript-Create_an_incident_attachment_returns_OK_response-1699043758\",\"last_modified_by_uuid\":null,\"modified\":\"2023-11-03T20:35:58+00:00\",\"customer_impact_end\":null,\"created_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"detected\":\"2023-11-03T20:35:58+00:00\",\"non_datadog_creator\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"attributes\":{\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\"},\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"time_to_resolve\":0,\"time_to_detect\":0,\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043758,\"end\":null}]}}},\"state\":\"active\",\"notification_handles\":null,\"commander\":null,\"customer_impact_duration\":0,\"severity\":\"UNKNOWN\",\"case_id\":null,\"resolved\":null,\"visibility\":\"organization\",\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"public_id\":174181},\"relationships\":{\"user_defined_fields\":{\"data\":[]},\"attachments\":{\"data\":[]},\"commander_user\":{\"data\":null},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"integrations\":{\"data\":[]},\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"impacts\":{\"data\":[]},\"responders\":{\"data\":[]}},\"id\":\"a72d6e86-3581-5a0c-9407-7c118a72e3b9\"}}]},\"relationships\":{\"incidents_relationship\":{\"data\":[{\"type\":\"incidents\",\"id\":\"96534427-6172-53bf-8cbe-215de5b207e1\"},{\"type\":\"incidents\",\"id\":\"e729fbb8-4087-5227-8725-11e44fe85b5f\"},{\"type\":\"incidents\",\"id\":\"5af2ff33-ec8d-50c1-ae0b-77694ea77c89\"},{\"type\":\"incidents\",\"id\":\"68000356-e808-5571-b49a-109e96bc5e08\"},{\"type\":\"incidents\",\"id\":\"e4b4a761-8426-5e8c-ac41-e151eee07af9\"},{\"type\":\"incidents\",\"id\":\"e70e2781-1df4-5e93-9210-7c672ff65a8c\"},{\"type\":\"incidents\",\"id\":\"ce870e8d-cd51-5b58-92ef-2dfe01530066\"},{\"type\":\"incidents\",\"id\":\"9c68f2c7-256e-5e98-a176-97526fd9d257\"},{\"type\":\"incidents\",\"id\":\"19c70c0d-7e83-5f81-bcd2-75e0f90ee11f\"},{\"type\":\"incidents\",\"id\":\"1b45d550-12f7-55c8-89ed-826d688d3d1f\"},{\"type\":\"incidents\",\"id\":\"0ddf94c4-47ec-5fbb-8827-101c1b2678e0\"},{\"type\":\"incidents\",\"id\":\"233463fe-28bd-5361-9d14-98e2ac20f328\"},{\"type\":\"incidents\",\"id\":\"40eb208a-c867-5b51-97ee-e8efba340396\"},{\"type\":\"incidents\",\"id\":\"53be4c9b-17c1-5109-9e61-f97804f78df0\"},{\"type\":\"incidents\",\"id\":\"a72d6e86-3581-5a0c-9407-7c118a72e3b9\"}]}}},\"included\":[{\"type\":\"incidents\",\"id\":\"96534427-6172-53bf-8cbe-215de5b207e1\",\"attributes\":{\"public_id\":174193,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Update_an_existing_incident_returns_OK_response-1699043763\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"modified\":\"2023-11-03T20:36:03+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:03+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e729fbb8-4087-5227-8725-11e44fe85b5f\",\"attributes\":{\"public_id\":174194,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Update_an_incident_todo_returns_OK_response-1699043763\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"modified\":\"2023-11-03T20:36:03+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:03+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"5af2ff33-ec8d-50c1-ae0b-77694ea77c89\",\"attributes\":{\"public_id\":174192,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Update_an_existing_incident_integration_metadata_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:03+00:00\",\"modified\":\"2023-11-03T20:36:03+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:03+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043763,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"68000356-e808-5571-b49a-109e96bc5e08\",\"attributes\":{\"public_id\":174191,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Remove_commander_from_an_incident_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"modified\":\"2023-11-03T20:36:02+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:02+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e4b4a761-8426-5e8c-ac41-e151eee07af9\",\"attributes\":{\"public_id\":174189,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_incident_integration_metadata_details_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"modified\":\"2023-11-03T20:36:02+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:02+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"e70e2781-1df4-5e93-9210-7c672ff65a8c\",\"attributes\":{\"public_id\":174190,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_the_details_of_an_incident_returns_OK_response-1699043762\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:02+00:00\",\"modified\":\"2023-11-03T20:36:02+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:02+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043762,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"ce870e8d-cd51-5b58-92ef-2dfe01530066\",\"attributes\":{\"public_id\":174187,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_a_list_of_incidents_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:01+00:00\",\"modified\":\"2023-11-03T20:36:01+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:01+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"9c68f2c7-256e-5e98-a176-97526fd9d257\",\"attributes\":{\"public_id\":174188,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_incident_attachments_returns_OK_response-1699043761\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:01+00:00\",\"modified\":\"2023-11-03T20:36:01+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:01+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"19c70c0d-7e83-5f81-bcd2-75e0f90ee11f\",\"attributes\":{\"public_id\":174185,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Delete_an_incident_integration_metadata_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"modified\":\"2023-11-03T20:36:00+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:00+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043760,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"1b45d550-12f7-55c8-89ed-826d688d3d1f\",\"attributes\":{\"public_id\":174184,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Delete_an_existing_incident_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"modified\":\"2023-11-03T20:36:00+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:00+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043760,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"0ddf94c4-47ec-5fbb-8827-101c1b2678e0\",\"attributes\":{\"public_id\":174186,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Get_a_list_of_an_incident_s_integration_metadata_returns_OK_response-1699043760\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:36:00+00:00\",\"modified\":\"2023-11-03T20:36:00+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:36:00+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"summary\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043761,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"233463fe-28bd-5361-9d14-98e2ac20f328\",\"attributes\":{\"public_id\":174183,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Create_an_incident_returns_CREATED_response-1699043759\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:35:59+00:00\",\"modified\":\"2023-11-03T20:35:59+00:00\",\"commander\":{\"data\":{\"type\":\"users\",\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"attributes\":{\"uuid\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\",\"handle\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"email\":\"test-typescript-create_an_incident_returns_created_response-1699043759@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/f7303955721eab35c744ea91afdfe815?s=48&d=retro\"}}},\"detected\":\"2023-11-03T20:35:59+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"}},\"field_analytics\":{\"state\":{\"resolved\":{\"duration\":0,\"spans\":[{\"start\":1699043759,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"resolved\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":{\"type\":\"users\",\"id\":\"98ebf0b3-7a88-11ee-8d9d-868e8930478f\"}},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"598eca3a-47d8-55a8-a2ca-0a95d0b9ec7c\"}]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"40eb208a-c867-5b51-97ee-e8efba340396\",\"attributes\":{\"public_id\":174182,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Create_an_incident_integration_metadata_returns_CREATED_response-1699043758\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:35:59+00:00\",\"modified\":\"2023-11-03T20:35:59+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:35:59+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"summary\":{\"type\":\"textbox\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043759,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"53be4c9b-17c1-5109-9e61-f97804f78df0\",\"attributes\":{\"public_id\":174180,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Add_commander_to_an_incident_returns_OK_response-1699043757\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:35:58+00:00\",\"modified\":\"2023-11-03T20:35:58+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:35:58+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043758,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}},{\"type\":\"incidents\",\"id\":\"a72d6e86-3581-5a0c-9407-7c118a72e3b9\",\"attributes\":{\"public_id\":174181,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Typescript-Create_an_incident_attachment_returns_OK_response-1699043758\",\"resolved\":null,\"customer_impact_scope\":\"\",\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-03T20:35:58+00:00\",\"modified\":\"2023-11-03T20:35:58+00:00\",\"commander\":null,\"detected\":\"2023-11-03T20:35:58+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":\"\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null},\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"}},\"field_analytics\":{\"state\":{\"active\":{\"duration\":0,\"spans\":[{\"start\":1699043758,\"end\":null}]}}},\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}],\"meta\":{\"pagination\":{\"offset\":0,\"next_offset\":15,\"size\":15}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Update_an_existing_incident_integration_metadata_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_an_existing_incident_integration_metadata_returns_OK_response.json index 2fb7e960a7c..7e6a24f8139 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_existing_incident_integration_metadata_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_existing_incident_integration_metadata_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"35b9a115-57c6-50dd-9946-3e93c3dbedc8\",\"attributes\":{\"public_id\":174815,\"incident_type_uuid\":null,\"title\":\"Test-Update_an_existing_incident_integration_metadata_returns_OK_response-1699302355\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:55.934005+00:00\",\"modified\":\"2023-11-06T20:25:55.934005+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:55.923127+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"35b9a115-57c6-50dd-9946-3e93c3dbedc8\",\"attributes\":{\"public_id\":174815,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Update_an_existing_incident_integration_metadata_returns_OK_response-1699302355\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:55.934005+00:00\",\"modified\":\"2023-11-06T20:25:55.934005+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:55.923127+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Update_an_existing_incident_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_an_existing_incident_returns_OK_response.json index 478f6736dfe..3450d88e7a2 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_existing_incident_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_existing_incident_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"035d9c83-698d-50eb-a39f-8c2d7ed135d1\",\"attributes\":{\"public_id\":174816,\"incident_type_uuid\":null,\"title\":\"Test-Update_an_existing_incident_returns_OK_response-1699302357\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:57.231101+00:00\",\"modified\":\"2023-11-06T20:25:57.231101+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:57.220235+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"035d9c83-698d-50eb-a39f-8c2d7ed135d1\",\"attributes\":{\"public_id\":174816,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Update_an_existing_incident_returns_OK_response-1699302357\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:57.231101+00:00\",\"modified\":\"2023-11-06T20:25:57.231101+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:57.220235+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"035d9c83-698d-50eb-a39f-8c2d7ed135d1\",\"attributes\":{\"public_id\":174816,\"incident_type_uuid\":null,\"title\":\"Test-Update_an_existing_incident_returns_OK_response-1699302357-updated\",\"resolved\":\"2023-11-06T20:25:57.505905+00:00\",\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:57.231101+00:00\",\"modified\":\"2023-11-06T20:25:57.510442+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:57.220235+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"resolved\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"bcbaea8b-306a-5a8e-b25c-2163bf8caf81\"}]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"035d9c83-698d-50eb-a39f-8c2d7ed135d1\",\"attributes\":{\"public_id\":174816,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Update_an_existing_incident_returns_OK_response-1699302357-updated\",\"resolved\":\"2023-11-06T20:25:57.505905+00:00\",\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"created\":\"2023-11-06T20:25:57.231101+00:00\",\"modified\":\"2023-11-06T20:25:57.510442+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:57.220235+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"resolved\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"resolved\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[{\"type\":\"incident_responders\",\"id\":\"bcbaea8b-306a-5a8e-b25c-2163bf8caf81\"}]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Update_an_incident_todo_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_an_incident_todo_returns_OK_response.json index 75326df20ab..9571e3db48c 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_incident_todo_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_incident_todo_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"aac94de7-d203-5171-9c46-ac8e554f1442\",\"attributes\":{\"public_id\":174817,\"incident_type_uuid\":null,\"title\":\"Test-Update_an_incident_todo_returns_OK_response-1699302357\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:58.033003+00:00\",\"modified\":\"2023-11-06T20:25:58.033003+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:58.020584+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", + "body": "{\"data\":{\"type\":\"incidents\",\"id\":\"aac94de7-d203-5171-9c46-ac8e554f1442\",\"attributes\":{\"public_id\":174817,\"incident_type_uuid\":\"f7341da0-aaac-4ecf-aa65-5b094f4ecc42\",\"title\":\"Test-Update_an_incident_todo_returns_OK_response-1699302357\",\"resolved\":null,\"customer_impact_scope\":null,\"customer_impact_start\":null,\"customer_impact_end\":null,\"customer_impacted\":false,\"notification_handles\":null,\"last_modified_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"last_modified_by_uuid\":null,\"created\":\"2023-11-06T20:25:58.033003+00:00\",\"modified\":\"2023-11-06T20:25:58.033003+00:00\",\"commander\":null,\"detected\":\"2023-11-06T20:25:58.020584+00:00\",\"created_by\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"attributes\":{\"uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"name\":null,\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\"}}},\"created_by_uuid\":null,\"creation_idempotency_key\":null,\"customer_impact_duration\":0,\"time_to_detect\":0,\"time_to_repair\":0,\"time_to_internal_response\":0,\"time_to_resolve\":0,\"archived\":null,\"fields\":{\"severity\":{\"type\":\"dropdown\",\"value\":\"UNKNOWN\"},\"state\":{\"type\":\"dropdown\",\"value\":\"active\"},\"root_cause\":{\"type\":\"textbox\",\"value\":null},\"detection_method\":{\"type\":\"dropdown\",\"value\":\"unknown\"},\"services\":{\"type\":\"autocomplete\",\"value\":null},\"teams\":{\"type\":\"autocomplete\",\"value\":null},\"summary\":{\"type\":\"textbox\",\"value\":null}},\"field_analytics\":null,\"severity\":\"UNKNOWN\",\"state\":\"active\",\"non_datadog_creator\":null,\"visibility\":\"organization\",\"case_id\":null},\"relationships\":{\"created_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"last_modified_by_user\":{\"data\":{\"type\":\"users\",\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\"}},\"commander_user\":{\"data\":null},\"user_defined_fields\":{\"data\":[{\"type\":\"user_defined_field\",\"id\":\"ad2b9456-eaec-5bbd-9bae-e502d74e23f8\"},{\"type\":\"user_defined_field\",\"id\":\"299616f7-8acd-5403-886b-991656d6b982\"},{\"type\":\"user_defined_field\",\"id\":\"4148ead2-da45-548e-b6be-8e319bafc425\"},{\"type\":\"user_defined_field\",\"id\":\"66b62f59-48f6-5fee-969a-0886b1db6dcd\"},{\"type\":\"user_defined_field\",\"id\":\"d8a54f16-8b2a-5ab4-87b8-5f0fa575c83e\"},{\"type\":\"user_defined_field\",\"id\":\"623af0a5-f30c-577e-8146-09b8324bdb2d\"},{\"type\":\"user_defined_field\",\"id\":\"ccfc9e6c-f586-58e5-b502-03c466c72e6f\"}]},\"integrations\":{\"data\":[]},\"attachments\":{\"data\":[]},\"responders\":{\"data\":[]},\"impacts\":{\"data\":[]}}}}\n", "headers": { "Content-Type": [ "application/json" diff --git a/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.freeze new file mode 100644 index 00000000000..7a3edc67fda --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.freeze @@ -0,0 +1 @@ +2024-10-24T16:03:10.175Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json new file mode 100644 index 00000000000..ad1bbaee869 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json @@ -0,0 +1,83 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"name\":\"7a71352d63ea9891\"},\"type\":\"incident_types\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/incidents/config/types", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"54ee8a4c-591e-48eb-8207-c12ad57617a9\",\"type\":\"incident_types\",\"attributes\":{\"createdAt\":\"2024-10-24T16:03:10.596580603Z\",\"createdBy\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"description\":\"\",\"is_default\":false,\"lastModifiedBy\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"modifiedAt\":\"2024-10-24T16:03:10.596580603Z\",\"name\":\"7a71352d63ea9891\",\"prefix\":\"IR\"}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 201, + "reasonPhrase": "Created" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "84c914d2-d77d-e516-206f-99d373d1bc19" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"name\":\"7a71352d63ea9891-updated\"},\"id\":\"54ee8a4c-591e-48eb-8207-c12ad57617a9\",\"type\":\"incident_types\"}}" + }, + "headers": {}, + "method": "PATCH", + "path": "/api/v2/incidents/config/types/54ee8a4c-591e-48eb-8207-c12ad57617a9", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"54ee8a4c-591e-48eb-8207-c12ad57617a9\",\"type\":\"incident_types\",\"attributes\":{\"createdAt\":\"2024-10-24T16:03:10.596581Z\",\"createdBy\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"description\":\"\",\"is_default\":false,\"lastModifiedBy\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"modifiedAt\":\"2024-10-24T16:03:10.974980567Z\",\"name\":\"7a71352d63ea9891-updated\",\"prefix\":\"IR\"}}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "6e7b53bc-a3a1-f428-89cf-659d458545f3" + }, + { + "httpRequest": { + "headers": {}, + "method": "DELETE", + "path": "/api/v2/incidents/config/types/54ee8a4c-591e-48eb-8207-c12ad57617a9", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "headers": {}, + "statusCode": 204, + "reasonPhrase": "No Content" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "bb934eb7-ca28-9a4d-269c-345bfc7d9de5" + } +] \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v2/api/given.json b/src/test/resources/com/datadog/api/client/v2/api/given.json index efc7bed91b5..9370b4fc5fc 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/given.json +++ b/src/test/resources/com/datadog/api/client/v2/api/given.json @@ -152,6 +152,18 @@ "tag": "Incidents", "operationId": "CreateIncident" }, + { + "parameters": [ + { + "name": "body", + "value": "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{unique_hash}}\"\n },\n \"type\": \"incident_types\"\n }\n}" + } + ], + "step": "there is a valid \"incident_type\" in the system", + "key": "incident_type", + "tag": "Incidents", + "operationId": "CreateIncidentType" + }, { "parameters": [ { diff --git a/src/test/resources/com/datadog/api/client/v2/api/incidents.feature b/src/test/resources/com/datadog/api/client/v2/api/incidents.feature index c50d4c925d5..110851ca8c0 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/incidents.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/incidents.feature @@ -70,7 +70,7 @@ Feature: Incidents Scenario: Create an incident returns "Bad Request" response Given operation "CreateIncident" enabled And new "CreateIncident" request - And body with value {"data": {"attributes": {"customer_impact_scope": "Example customer impact scope", "customer_impacted": false, "fields": {"severity": {"type": "dropdown", "value": "SEV-5"}}, "initial_cells": [{"cell_type": "markdown", "content": {"content": "An example timeline cell message."}, "important": false}], "notification_handles": [{"display_name": "Jane Doe", "handle": "@user@email.com"}, {"display_name": "Slack Channel", "handle": "@slack-channel"}, {"display_name": "Incident Workflow", "handle": "@workflow-from-incident"}], "title": "A test incident title"}, "relationships": {"commander_user": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "users"}}}, "type": "incidents"}} + And body with value {"data": {"attributes": {"customer_impact_scope": "Example customer impact scope", "customer_impacted": false, "fields": {"severity": {"type": "dropdown", "value": "SEV-5"}}, "incident_type_uuid": "00000000-0000-0000-0000-000000000000", "initial_cells": [{"cell_type": "markdown", "content": {"content": "An example timeline cell message."}, "important": false}], "notification_handles": [{"display_name": "Jane Doe", "handle": "@user@email.com"}, {"display_name": "Slack Channel", "handle": "@slack-channel"}, {"display_name": "Incident Workflow", "handle": "@workflow-from-incident"}], "title": "A test incident title"}, "relationships": {"commander_user": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "users"}}}, "type": "incidents"}} When the request is sent Then the response status is 400 Bad Request @@ -89,7 +89,7 @@ Feature: Incidents Scenario: Create an incident returns "Not Found" response Given operation "CreateIncident" enabled And new "CreateIncident" request - And body with value {"data": {"attributes": {"customer_impact_scope": "Example customer impact scope", "customer_impacted": false, "fields": {"severity": {"type": "dropdown", "value": "SEV-5"}}, "initial_cells": [{"cell_type": "markdown", "content": {"content": "An example timeline cell message."}, "important": false}], "notification_handles": [{"display_name": "Jane Doe", "handle": "@user@email.com"}, {"display_name": "Slack Channel", "handle": "@slack-channel"}, {"display_name": "Incident Workflow", "handle": "@workflow-from-incident"}], "title": "A test incident title"}, "relationships": {"commander_user": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "users"}}}, "type": "incidents"}} + And body with value {"data": {"attributes": {"customer_impact_scope": "Example customer impact scope", "customer_impacted": false, "fields": {"severity": {"type": "dropdown", "value": "SEV-5"}}, "incident_type_uuid": "00000000-0000-0000-0000-000000000000", "initial_cells": [{"cell_type": "markdown", "content": {"content": "An example timeline cell message."}, "important": false}], "notification_handles": [{"display_name": "Jane Doe", "handle": "@user@email.com"}, {"display_name": "Slack Channel", "handle": "@slack-channel"}, {"display_name": "Incident Workflow", "handle": "@workflow-from-incident"}], "title": "A test incident title"}, "relationships": {"commander_user": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "users"}}}, "type": "incidents"}} When the request is sent Then the response status is 404 Not Found @@ -122,6 +122,30 @@ Feature: Incidents When the request is sent Then the response status is 404 Not Found + @generated @skip @team:Datadog/incident-app + Scenario: Create an incident type returns "Bad Request" response + Given operation "CreateIncidentType" enabled + And new "CreateIncidentType" request + And body with value {"data": {"attributes": {"description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.", "is_default": true, "name": "Security Incident"}, "type": "incident_types"}} + When the request is sent + Then the response status is 400 Bad Request + + @skip-validation @team:Datadog/incident-app + Scenario: Create an incident type returns "CREATED" response + Given operation "CreateIncidentType" enabled + And new "CreateIncidentType" request + And body with value {"data": {"attributes": {"description": "{{unique_hash}}", "is_default": true, "name": "{{unique_hash}}"}, "type": "incident_types"}} + When the request is sent + Then the response status is 201 CREATED + + @generated @skip @team:Datadog/incident-app + Scenario: Create an incident type returns "Not Found" response + Given operation "CreateIncidentType" enabled + And new "CreateIncidentType" request + And body with value {"data": {"attributes": {"description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data.", "is_default": true, "name": "Security Incident"}, "type": "incident_types"}} + When the request is sent + Then the response status is 404 Not Found + @generated @skip @team:DataDog/incident-app Scenario: Create, update, and delete incident attachments returns "Bad Request" response Given operation "UpdateIncidentAttachments" enabled @@ -232,6 +256,31 @@ Feature: Incidents When the request is sent Then the response status is 204 OK + @generated @skip @team:Datadog/incident-app + Scenario: Delete an incident type returns "Bad Request" response + Given operation "DeleteIncidentType" enabled + And new "DeleteIncidentType" request + And request contains "incident_type_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:Datadog/incident-app + Scenario: Delete an incident type returns "Not Found" response + Given operation "DeleteIncidentType" enabled + And new "DeleteIncidentType" request + And request contains "incident_type_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @skip-validation @team:Datadog/incident-app + Scenario: Delete an incident type returns "OK" response + Given operation "DeleteIncidentType" enabled + And new "DeleteIncidentType" request + And there is a valid "incident_type" in the system + And request contains "incident_type_id" parameter from "incident_type.data.id" + When the request is sent + Then the response status is 204 OK + @generated @skip @team:DataDog/incident-app Scenario: Get a list of an incident's integration metadata returns "Bad Request" response Given operation "ListIncidentIntegrations" enabled @@ -312,6 +361,20 @@ Feature: Incidents When the request is sent Then the response status is 200 OK + @generated @skip @team:Datadog/incident-app + Scenario: Get a list of incident types returns "Bad Request" response + Given operation "ListIncidentTypes" enabled + And new "ListIncidentTypes" request + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:Datadog/incident-app + Scenario: Get a list of incident types returns "OK" response + Given operation "ListIncidentTypes" enabled + And new "ListIncidentTypes" request + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/incident-app Scenario: Get a list of incidents returns "Bad Request" response Given operation "ListIncidents" enabled @@ -418,6 +481,30 @@ Feature: Incidents And the response "data.attributes.assignees" has length 2 And the response "data.attributes.content" is equal to "Follow up with customer about the impact they saw." + @generated @skip @team:Datadog/incident-app + Scenario: Get incident type details returns "Bad Request" response + Given operation "GetIncidentType" enabled + And new "GetIncidentType" request + And request contains "incident_type_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:Datadog/incident-app + Scenario: Get incident type details returns "Not Found" response + Given operation "GetIncidentType" enabled + And new "GetIncidentType" request + And request contains "incident_type_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:Datadog/incident-app + Scenario: Get incident type details returns "OK" response + Given operation "GetIncidentType" enabled + And new "GetIncidentType" request + And request contains "incident_type_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/incident-app Scenario: Get the details of an incident returns "Bad Request" response Given operation "GetIncident" enabled @@ -587,3 +674,31 @@ Feature: Incidents Then the response status is 200 OK And the response "data.attributes.assignees" has length 1 And the response "data.attributes.content" is equal to "Restore lost data." + + @generated @skip @team:Datadog/incident-app + Scenario: Update an incident type returns "Bad Request" response + Given operation "UpdateIncidentType" enabled + And new "UpdateIncidentType" request + And request contains "incident_type_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data. Note: This will notify the security team.", "is_default": true, "name": "Security Incident"}, "id": "00000000-0000-0000-0000-000000000000", "type": "incident_types"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:Datadog/incident-app + Scenario: Update an incident type returns "Not Found" response + Given operation "UpdateIncidentType" enabled + And new "UpdateIncidentType" request + And request contains "incident_type_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"description": "Any incidents that harm (or have the potential to) the confidentiality, integrity, or availability of our data. Note: This will notify the security team.", "is_default": true, "name": "Security Incident"}, "id": "00000000-0000-0000-0000-000000000000", "type": "incident_types"}} + When the request is sent + Then the response status is 404 Not Found + + @skip-validation @team:Datadog/incident-app + Scenario: Update an incident type returns "OK" response + Given operation "UpdateIncidentType" enabled + And new "UpdateIncidentType" request + And there is a valid "incident_type" in the system + And request contains "incident_type_id" parameter from "incident_type.data.id" + And body with value {"data": {"id": "{{incident_type.data.id}}", "attributes": {"name": "{{incident_type.data.attributes.name}}-updated"}, "type": "incident_types"}} + When the request is sent + Then the response status is 200 OK diff --git a/src/test/resources/com/datadog/api/client/v2/api/undo.json b/src/test/resources/com/datadog/api/client/v2/api/undo.json index 62da7c99ef9..68b64dfc24d 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/undo.json +++ b/src/test/resources/com/datadog/api/client/v2/api/undo.json @@ -627,6 +627,43 @@ "type": "unsafe" } }, + "ListIncidentTypes": { + "tag": "Incidents", + "undo": { + "type": "safe" + } + }, + "CreateIncidentType": { + "tag": "Incidents", + "undo": { + "operationId": "DeleteIncidentType", + "parameters": [ + { + "name": "incident_type_id", + "source": "data.id" + } + ], + "type": "unsafe" + } + }, + "DeleteIncidentType": { + "tag": "Incidents", + "undo": { + "type": "idempotent" + } + }, + "GetIncidentType": { + "tag": "Incidents", + "undo": { + "type": "safe" + } + }, + "UpdateIncidentType": { + "tag": "Incidents", + "undo": { + "type": "idempotent" + } + }, "SearchIncidents": { "tag": "Incidents", "undo": {