diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 6a3211a545..fe47cca66c 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -92477,7 +92477,7 @@ components: example: Checkout completed type: string feature_ids: - description: The list of feature IDs associated with the RUM operation. + description: The list of journey IDs associated with the RUM operation. items: type: string type: array @@ -92535,7 +92535,7 @@ components: example: Checkout completed type: string feature_ids: - description: The list of feature IDs associated with the RUM operation. + description: The list of journey IDs associated with the RUM operation. items: type: string type: array @@ -92588,7 +92588,7 @@ components: - attributes type: object RUMOperationStrongLinkCreateRequest: - description: The request body for creating a RUM operation strong link. + description: The request body for creating a RUM operation link. properties: data: $ref: "#/components/schemas/RUMOperationStrongLinkCreateRequestData" @@ -92596,19 +92596,19 @@ components: - data type: object RUMOperationStrongLinkCreateRequestAttributes: - description: Attributes for creating a RUM operation strong link. + description: Attributes for creating a RUM operation link. properties: application_id: description: The RUM application ID used when creating a stub operation from `operation_name`. format: uuid type: string description: - description: A description of the strong link. + description: A description of the link. nullable: true type: string feature_id: - description: The unique identifier of the feature to link. - example: "feature-123" + description: The unique identifier of the journey to link. + example: "journey-123" type: string operation_id: description: |- @@ -92624,7 +92624,7 @@ components: status: $ref: "#/components/schemas/RUMOperationStrongLinkStatus" tags: - description: A list of tags associated with the strong link. + description: A list of tags associated with the link. items: type: string type: array @@ -92632,7 +92632,7 @@ components: - feature_id type: object RUMOperationStrongLinkCreateRequestData: - description: The data object for creating a RUM operation strong link. + description: The data object for creating a RUM operation link. properties: attributes: $ref: "#/components/schemas/RUMOperationStrongLinkCreateRequestAttributes" @@ -92643,7 +92643,7 @@ components: - attributes type: object RUMOperationStrongLinkResponse: - description: The response for a single RUM operation strong link. + description: The response for a single RUM operation link. properties: data: $ref: "#/components/schemas/RUMOperationStrongLinkResponseData" @@ -92651,20 +92651,20 @@ components: - data type: object RUMOperationStrongLinkResponseAttributes: - description: Attributes of a RUM operation strong link response. + description: Attributes of a RUM operation link response. properties: created_at: - description: The timestamp when the strong link was created. + description: The timestamp when the link was created. format: date-time readOnly: true type: string description: - description: A description of the strong link. + description: A description of the link. nullable: true type: string feature_id: - description: The unique identifier of the linked feature. - example: "feature-123" + description: The unique identifier of the linked journey. + example: "journey-123" readOnly: true type: string operation_id: @@ -92675,12 +92675,12 @@ components: status: $ref: "#/components/schemas/RUMOperationStrongLinkStatus" tags: - description: A list of tags associated with the strong link. + description: A list of tags associated with the link. items: type: string type: array updated_at: - description: The timestamp when the strong link was last updated. + description: The timestamp when the link was last updated. format: date-time nullable: true readOnly: true @@ -92691,13 +92691,13 @@ components: - status type: object RUMOperationStrongLinkResponseData: - description: The data object in a RUM operation strong link response. + description: The data object in a RUM operation link response. properties: attributes: $ref: "#/components/schemas/RUMOperationStrongLinkResponseAttributes" id: - description: The unique identifier of the strong link, formatted as `:`. - example: "abc12345-1234-5678-abcd-ef1234567890:feature-123" + description: The unique identifier of the link, formatted as `:`. + example: "abc12345-1234-5678-abcd-ef1234567890:journey-123" readOnly: true type: string type: @@ -92708,7 +92708,7 @@ components: - attributes type: object RUMOperationStrongLinkStatus: - description: The status of a RUM operation strong link. + description: The status of a RUM operation link. enum: - DRAFT - CONFIRMED @@ -92720,7 +92720,7 @@ components: - CONFIRMED - REJECTED RUMOperationStrongLinkType: - description: The JSON:API type for RUM operation strong link resources. + description: The JSON:API type for RUM operation link resources. enum: - strong_links example: strong_links @@ -92728,7 +92728,7 @@ components: x-enum-varnames: - STRONG_LINKS RUMOperationStrongLinkUpdateRequest: - description: The request body for updating a RUM operation strong link. + description: The request body for updating a RUM operation link. properties: data: $ref: "#/components/schemas/RUMOperationStrongLinkUpdateRequestData" @@ -92736,7 +92736,7 @@ components: - data type: object RUMOperationStrongLinkUpdateRequestAttributes: - description: Attributes for updating a RUM operation strong link. + description: Attributes for updating a RUM operation link. properties: status: $ref: "#/components/schemas/RUMOperationStrongLinkUpdateStatus" @@ -92744,7 +92744,7 @@ components: - status type: object RUMOperationStrongLinkUpdateRequestData: - description: The data object for updating a RUM operation strong link. + description: The data object for updating a RUM operation link. properties: attributes: $ref: "#/components/schemas/RUMOperationStrongLinkUpdateRequestAttributes" @@ -92755,7 +92755,7 @@ components: - attributes type: object RUMOperationStrongLinkUpdateStatus: - description: The status of a RUM operation strong link. Can only be set to `CONFIRMED` or `REJECTED`. + description: The status of a RUM operation link. Can only be set to `CONFIRMED` or `REJECTED`. enum: - CONFIRMED - REJECTED @@ -92765,7 +92765,7 @@ components: - CONFIRMED - REJECTED RUMOperationStrongLinksListResponse: - description: The response for a list of RUM operation strong links. + description: The response for a list of RUM operation links. properties: data: items: @@ -92777,7 +92777,7 @@ components: - data type: object RUMOperationStrongLinksListResponseMeta: - description: Metadata for a list of RUM operation strong links. + description: Metadata for a list of RUM operation links. properties: limit: description: The pagination limit. @@ -92788,7 +92788,7 @@ components: format: int64 type: integer total: - description: The total number of strong links matching the request. + description: The total number of links matching the request. format: int64 type: integer type: object @@ -201594,7 +201594,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -201667,7 +201667,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -201711,7 +201711,9 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/rum/operations/search: get: - description: Search RUM operations for your organization. Supports filtering by query, creator, team, feature, and application. + description: |- + Search RUM operations for your organization. Supports filtering by query, creator, team, + journey, and application. operationId: ListRUMOperations parameters: - description: A search query to filter operations by name. @@ -201754,7 +201756,7 @@ paths: schema: example: "frontend,checkout" type: string - - description: Filter operations by feature ID. Accepts a comma-separated list of feature IDs. + - description: Filter operations by journey ID. Accepts a comma-separated list of journey IDs. in: query name: feature_id required: false @@ -201788,7 +201790,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -201837,18 +201839,18 @@ paths: /api/v2/rum/operations/strong_links: get: description: |- - List strong links between RUM operations and features. A strong link confirms that a feature - belongs to an operation. Provide `operation_id`, `feature_id`, or both to filter results; + List links between RUM operations and journeys. A link confirms that a journey + belongs to an operation. Provide `operation_id`, `feature_id` (journey ID), or both to filter results; at least one is required. operationId: ListRUMOperationStrongLinks parameters: - - description: Filter strong links by RUM operation ID. + - description: Filter links by RUM operation ID. in: query name: operation_id required: false schema: type: string - - description: Filter strong links by feature ID. + - description: Filter links by journey (feature) ID. in: query name: feature_id required: false @@ -201883,14 +201885,14 @@ paths: data: - attributes: created_at: "2024-01-15T10:30:00Z" - description: "Confirmed link between checkout_completed and feature-123." - feature_id: "feature-123" + description: "Confirmed link between checkout_completed and journey-123." + feature_id: "journey-123" operation_id: "abc12345-1234-5678-abcd-ef1234567890" status: CONFIRMED tags: - "team:checkout" updated_at: - id: "abc12345-1234-5678-abcd-ef1234567890:feature-123" + id: "abc12345-1234-5678-abcd-ef1234567890:journey-123" type: strong_links meta: limit: 50 @@ -201907,12 +201909,12 @@ paths: description: Bad Request "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: List RUM operation strong links + summary: List RUM operation links tags: - RUM Operations post: description: |- - Create a strong link between a RUM operation and a feature, confirming that the feature + Create a link between a RUM operation and a journey, confirming that the journey belongs to the operation. The operation can be identified by `operation_id` or `operation_name`; if `operation_name` does not match an existing operation, a stub operation is created. operationId: CreateRUMOperationStrongLink @@ -201932,14 +201934,14 @@ paths: data: attributes: created_at: "2024-01-15T10:30:00Z" - description: "Confirmed link between checkout_completed and feature-123." - feature_id: "feature-123" + description: "Confirmed link between checkout_completed and journey-123." + feature_id: "journey-123" operation_id: "abc12345-1234-5678-abcd-ef1234567890" status: CONFIRMED tags: - "team:checkout" updated_at: - id: "abc12345-1234-5678-abcd-ef1234567890:feature-123" + id: "abc12345-1234-5678-abcd-ef1234567890:journey-123" type: strong_links schema: $ref: "#/components/schemas/RUMOperationStrongLinkResponse" @@ -201961,10 +201963,10 @@ paths: application/json: schema: $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Conflict. A strong link between this operation and feature already exists. + description: Conflict. A link between this operation and journey already exists. "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Create a RUM operation strong link + summary: Create a RUM operation link tags: - RUM Operations x-unstable: |- @@ -201972,7 +201974,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/rum/operations/strong_links/{rum_operation_id}/{feature_id}: delete: - description: Delete the strong link between a RUM operation and a feature. + description: Delete the link between a RUM operation and a journey. operationId: DeleteRUMOperationStrongLink parameters: - description: The unique identifier of the RUM operation. @@ -201981,7 +201983,7 @@ paths: required: true schema: type: string - - description: The unique identifier of the feature. + - description: The unique identifier of the journey. in: path name: feature_id required: true @@ -201998,14 +202000,14 @@ paths: description: Not Found "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Delete a RUM operation strong link + summary: Delete a RUM operation link tags: - RUM Operations x-unstable: |- **Note**: This endpoint is in Preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: - description: Update the status of a strong link between a RUM operation and a feature. + description: Update the status of a link between a RUM operation and a journey. operationId: UpdateRUMOperationStrongLink parameters: - description: The unique identifier of the RUM operation. @@ -202014,7 +202016,7 @@ paths: required: true schema: type: string - - description: The unique identifier of the feature. + - description: The unique identifier of the journey. in: path name: feature_id required: true @@ -202036,14 +202038,14 @@ paths: data: attributes: created_at: "2024-01-15T10:30:00Z" - description: "Confirmed link between checkout_completed and feature-123." - feature_id: "feature-123" + description: "Confirmed link between checkout_completed and journey-123." + feature_id: "journey-123" operation_id: "abc12345-1234-5678-abcd-ef1234567890" status: CONFIRMED tags: - "team:checkout" updated_at: "2024-01-16T09:00:00Z" - id: "abc12345-1234-5678-abcd-ef1234567890:feature-123" + id: "abc12345-1234-5678-abcd-ef1234567890:journey-123" type: strong_links schema: $ref: "#/components/schemas/RUMOperationStrongLinkResponse" @@ -202062,7 +202064,7 @@ paths: description: Not Found "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Update a RUM operation strong link + summary: Update a RUM operation link tags: - RUM Operations x-unstable: |- @@ -202126,7 +202128,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -202200,7 +202202,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -233371,8 +233373,8 @@ tags: name: RUM Insights - description: |- Manage [RUM Operations](https://docs.datadoghq.com/real_user_monitoring/), business - transactions detected from RUM events through a configurable journey, and their strong links - to features. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/) + transactions detected from RUM events through a configurable journey, and their links + to journeys. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/) for more information. name: RUM Operations - description: |- diff --git a/examples/v2/rum-operations/CreateRUMOperationStrongLink.py b/examples/v2/rum-operations/CreateRUMOperationStrongLink.py index 68f11b7297..a485f90063 100644 --- a/examples/v2/rum-operations/CreateRUMOperationStrongLink.py +++ b/examples/v2/rum-operations/CreateRUMOperationStrongLink.py @@ -1,5 +1,5 @@ """ -Create a RUM operation strong link returns "Created" response +Create a RUM operation link returns "Created" response """ from os import environ @@ -19,7 +19,7 @@ data=RUMOperationStrongLinkCreateRequestData( attributes=RUMOperationStrongLinkCreateRequestAttributes( description=None, - feature_id="feature-123", + feature_id="journey-123", operation_id="abc12345-1234-5678-abcd-ef1234567890", status=RUMOperationStrongLinkStatus.CONFIRMED, tags=[], diff --git a/examples/v2/rum-operations/DeleteRUMOperationStrongLink.py b/examples/v2/rum-operations/DeleteRUMOperationStrongLink.py index d69d8e74aa..92867ff811 100644 --- a/examples/v2/rum-operations/DeleteRUMOperationStrongLink.py +++ b/examples/v2/rum-operations/DeleteRUMOperationStrongLink.py @@ -1,5 +1,5 @@ """ -Delete a RUM operation strong link returns "No Content" response +Delete a RUM operation link returns "No Content" response """ from os import environ diff --git a/examples/v2/rum-operations/ListRUMOperationStrongLinks.py b/examples/v2/rum-operations/ListRUMOperationStrongLinks.py index d36eeacc63..cb3f49993b 100644 --- a/examples/v2/rum-operations/ListRUMOperationStrongLinks.py +++ b/examples/v2/rum-operations/ListRUMOperationStrongLinks.py @@ -1,5 +1,5 @@ """ -List RUM operation strong links returns "OK" response +List RUM operation links returns "OK" response """ from os import environ diff --git a/examples/v2/rum-operations/UpdateRUMOperationStrongLink.py b/examples/v2/rum-operations/UpdateRUMOperationStrongLink.py index 2250a33851..a710383733 100644 --- a/examples/v2/rum-operations/UpdateRUMOperationStrongLink.py +++ b/examples/v2/rum-operations/UpdateRUMOperationStrongLink.py @@ -1,5 +1,5 @@ """ -Update a RUM operation strong link returns "OK" response +Update a RUM operation link returns "OK" response """ from os import environ diff --git a/src/datadog_api_client/v2/api/rum_operations_api.py b/src/datadog_api_client/v2/api/rum_operations_api.py index 7d8abfc288..a3ea430cb2 100644 --- a/src/datadog_api_client/v2/api/rum_operations_api.py +++ b/src/datadog_api_client/v2/api/rum_operations_api.py @@ -25,8 +25,8 @@ class RUMOperationsApi: """ Manage `RUM Operations `_ , business - transactions detected from RUM events through a configurable journey, and their strong links - to features. See the `RUM & Session Replay page `_ + transactions detected from RUM events through a configurable journey, and their links + to journeys. See the `RUM & Session Replay page `_ for more information. """ @@ -354,9 +354,9 @@ def create_rum_operation_strong_link( self, body: RUMOperationStrongLinkCreateRequest, ) -> RUMOperationStrongLinkResponse: - """Create a RUM operation strong link. + """Create a RUM operation link. - Create a strong link between a RUM operation and a feature, confirming that the feature + Create a link between a RUM operation and a journey, confirming that the journey belongs to the operation. The operation can be identified by ``operation_id`` or ``operation_name`` ; if ``operation_name`` does not match an existing operation, a stub operation is created. @@ -390,13 +390,13 @@ def delete_rum_operation_strong_link( rum_operation_id: str, feature_id: str, ) -> None: - """Delete a RUM operation strong link. + """Delete a RUM operation link. - Delete the strong link between a RUM operation and a feature. + Delete the link between a RUM operation and a journey. :param rum_operation_id: The unique identifier of the RUM operation. :type rum_operation_id: str - :param feature_id: The unique identifier of the feature. + :param feature_id: The unique identifier of the journey. :type feature_id: str :rtype: None """ @@ -454,7 +454,8 @@ def list_rum_operations( ) -> RUMOperationsListResponse: """Search RUM operations. - Search RUM operations for your organization. Supports filtering by query, creator, team, feature, and application. + Search RUM operations for your organization. Supports filtering by query, creator, team, + journey, and application. :param query: A search query to filter operations by name. :type query: str, optional @@ -466,7 +467,7 @@ def list_rum_operations( :type creator: str, optional :param team: Filter operations by team. Accepts a comma-separated list of teams. :type team: str, optional - :param feature_id: Filter operations by feature ID. Accepts a comma-separated list of feature IDs. + :param feature_id: Filter operations by journey ID. Accepts a comma-separated list of journey IDs. :type feature_id: str, optional :param application_id: Filter operations by RUM application ID. :type application_id: UUID, optional @@ -504,15 +505,15 @@ def list_rum_operation_strong_links( page_offset: Union[int, UnsetType] = unset, page_limit: Union[int, UnsetType] = unset, ) -> RUMOperationStrongLinksListResponse: - """List RUM operation strong links. + """List RUM operation links. - List strong links between RUM operations and features. A strong link confirms that a feature - belongs to an operation. Provide ``operation_id`` , ``feature_id`` , or both to filter results; + List links between RUM operations and journeys. A link confirms that a journey + belongs to an operation. Provide ``operation_id`` , ``feature_id`` (journey ID), or both to filter results; at least one is required. - :param operation_id: Filter strong links by RUM operation ID. + :param operation_id: Filter links by RUM operation ID. :type operation_id: str, optional - :param feature_id: Filter strong links by feature ID. + :param feature_id: Filter links by journey (feature) ID. :type feature_id: str, optional :param page_offset: Offset for pagination. :type page_offset: int, optional @@ -563,13 +564,13 @@ def update_rum_operation_strong_link( feature_id: str, body: RUMOperationStrongLinkUpdateRequest, ) -> RUMOperationStrongLinkResponse: - """Update a RUM operation strong link. + """Update a RUM operation link. - Update the status of a strong link between a RUM operation and a feature. + Update the status of a link between a RUM operation and a journey. :param rum_operation_id: The unique identifier of the RUM operation. :type rum_operation_id: str - :param feature_id: The unique identifier of the feature. + :param feature_id: The unique identifier of the journey. :type feature_id: str :type body: RUMOperationStrongLinkUpdateRequest :rtype: RUMOperationStrongLinkResponse diff --git a/src/datadog_api_client/v2/model/rum_operation_request_attributes.py b/src/datadog_api_client/v2/model/rum_operation_request_attributes.py index 1cd4da449c..45432165f0 100644 --- a/src/datadog_api_client/v2/model/rum_operation_request_attributes.py +++ b/src/datadog_api_client/v2/model/rum_operation_request_attributes.py @@ -73,7 +73,7 @@ def __init__( :param display_name: A human-readable display name for the RUM operation. :type display_name: str, optional - :param feature_ids: The list of feature IDs associated with the RUM operation. + :param feature_ids: The list of journey IDs associated with the RUM operation. :type feature_ids: [str], optional :param journey_rum: The definition of a RUM operation's journey, used to detect it from RUM events. diff --git a/src/datadog_api_client/v2/model/rum_operation_response_attributes.py b/src/datadog_api_client/v2/model/rum_operation_response_attributes.py index 9157578fdd..ce9665e3a8 100644 --- a/src/datadog_api_client/v2/model/rum_operation_response_attributes.py +++ b/src/datadog_api_client/v2/model/rum_operation_response_attributes.py @@ -102,7 +102,7 @@ def __init__( :param display_name: A human-readable display name for the RUM operation. :type display_name: str, optional - :param feature_ids: The list of feature IDs associated with the RUM operation. + :param feature_ids: The list of journey IDs associated with the RUM operation. :type feature_ids: [str], optional :param journey_rum: The definition of a RUM operation's journey, used to detect it from RUM events. diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request.py index 7aac589608..988018b715 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request.py @@ -34,9 +34,9 @@ def openapi_types(_): def __init__(self_, data: RUMOperationStrongLinkCreateRequestData, **kwargs): """ - The request body for creating a RUM operation strong link. + The request body for creating a RUM operation link. - :param data: The data object for creating a RUM operation strong link. + :param data: The data object for creating a RUM operation link. :type data: RUMOperationStrongLinkCreateRequestData """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_attributes.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_attributes.py index 51a3810a53..4f383560c3 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_attributes.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_attributes.py @@ -56,15 +56,15 @@ def __init__( **kwargs, ): """ - Attributes for creating a RUM operation strong link. + Attributes for creating a RUM operation link. :param application_id: The RUM application ID used when creating a stub operation from ``operation_name``. :type application_id: UUID, optional - :param description: A description of the strong link. + :param description: A description of the link. :type description: str, none_type, optional - :param feature_id: The unique identifier of the feature to link. + :param feature_id: The unique identifier of the journey to link. :type feature_id: str :param operation_id: The unique identifier of the RUM operation to link. Either ``operation_id`` or @@ -75,10 +75,10 @@ def __init__( required. If no operation with this name exists, a stub operation is created. :type operation_name: str, optional - :param status: The status of a RUM operation strong link. + :param status: The status of a RUM operation link. :type status: RUMOperationStrongLinkStatus, optional - :param tags: A list of tags associated with the strong link. + :param tags: A list of tags associated with the link. :type tags: [str], optional """ if application_id is not unset: diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_data.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_data.py index 762420a0c1..77f45ae3b7 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_data.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_data.py @@ -40,12 +40,12 @@ def __init__( self_, attributes: RUMOperationStrongLinkCreateRequestAttributes, type: RUMOperationStrongLinkType, **kwargs ): """ - The data object for creating a RUM operation strong link. + The data object for creating a RUM operation link. - :param attributes: Attributes for creating a RUM operation strong link. + :param attributes: Attributes for creating a RUM operation link. :type attributes: RUMOperationStrongLinkCreateRequestAttributes - :param type: The JSON:API type for RUM operation strong link resources. + :param type: The JSON:API type for RUM operation link resources. :type type: RUMOperationStrongLinkType """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_response.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_response.py index d3ed9f3153..2a8a1ae144 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_response.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_response.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: RUMOperationStrongLinkResponseData, **kwargs): """ - The response for a single RUM operation strong link. + The response for a single RUM operation link. - :param data: The data object in a RUM operation strong link response. + :param data: The data object in a RUM operation link response. :type data: RUMOperationStrongLinkResponseData """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_response_attributes.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_response_attributes.py index 7a6e7cc149..33af33ba20 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_response_attributes.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_response_attributes.py @@ -62,27 +62,27 @@ def __init__( **kwargs, ): """ - Attributes of a RUM operation strong link response. + Attributes of a RUM operation link response. - :param created_at: The timestamp when the strong link was created. + :param created_at: The timestamp when the link was created. :type created_at: datetime, optional - :param description: A description of the strong link. + :param description: A description of the link. :type description: str, none_type, optional - :param feature_id: The unique identifier of the linked feature. + :param feature_id: The unique identifier of the linked journey. :type feature_id: str :param operation_id: The unique identifier of the linked RUM operation. :type operation_id: str - :param status: The status of a RUM operation strong link. + :param status: The status of a RUM operation link. :type status: RUMOperationStrongLinkStatus - :param tags: A list of tags associated with the strong link. + :param tags: A list of tags associated with the link. :type tags: [str], optional - :param updated_at: The timestamp when the strong link was last updated. + :param updated_at: The timestamp when the link was last updated. :type updated_at: datetime, none_type, optional """ if created_at is not unset: diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_response_data.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_response_data.py index 38d31ca502..e3075de191 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_response_data.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_response_data.py @@ -45,15 +45,15 @@ def __init__( self_, attributes: RUMOperationStrongLinkResponseAttributes, id: str, type: RUMOperationStrongLinkType, **kwargs ): """ - The data object in a RUM operation strong link response. + The data object in a RUM operation link response. - :param attributes: Attributes of a RUM operation strong link response. + :param attributes: Attributes of a RUM operation link response. :type attributes: RUMOperationStrongLinkResponseAttributes - :param id: The unique identifier of the strong link, formatted as ``:``. + :param id: The unique identifier of the link, formatted as ``:``. :type id: str - :param type: The JSON:API type for RUM operation strong link resources. + :param type: The JSON:API type for RUM operation link resources. :type type: RUMOperationStrongLinkType """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_status.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_status.py index 8efef91b2a..11b57e5497 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_status.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_status.py @@ -14,7 +14,7 @@ class RUMOperationStrongLinkStatus(ModelSimple): """ - The status of a RUM operation strong link. + The status of a RUM operation link. :param value: Must be one of ["DRAFT", "CONFIRMED", "REJECTED"]. :type value: str diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_type.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_type.py index 2b4f8d588d..e4b765da57 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_type.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_type.py @@ -14,7 +14,7 @@ class RUMOperationStrongLinkType(ModelSimple): """ - The JSON:API type for RUM operation strong link resources. + The JSON:API type for RUM operation link resources. :param value: If omitted defaults to "strong_links". Must be one of ["strong_links"]. :type value: str diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request.py index 7d668bb0f3..70a38b1c33 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request.py @@ -34,9 +34,9 @@ def openapi_types(_): def __init__(self_, data: RUMOperationStrongLinkUpdateRequestData, **kwargs): """ - The request body for updating a RUM operation strong link. + The request body for updating a RUM operation link. - :param data: The data object for updating a RUM operation strong link. + :param data: The data object for updating a RUM operation link. :type data: RUMOperationStrongLinkUpdateRequestData """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request_attributes.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request_attributes.py index 0b1263e906..bbd606d230 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request_attributes.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request_attributes.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, status: RUMOperationStrongLinkUpdateStatus, **kwargs): """ - Attributes for updating a RUM operation strong link. + Attributes for updating a RUM operation link. - :param status: The status of a RUM operation strong link. Can only be set to ``CONFIRMED`` or ``REJECTED``. + :param status: The status of a RUM operation link. Can only be set to ``CONFIRMED`` or ``REJECTED``. :type status: RUMOperationStrongLinkUpdateStatus """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request_data.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request_data.py index 3b3f552f8e..185ae0c90d 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request_data.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_update_request_data.py @@ -40,12 +40,12 @@ def __init__( self_, attributes: RUMOperationStrongLinkUpdateRequestAttributes, type: RUMOperationStrongLinkType, **kwargs ): """ - The data object for updating a RUM operation strong link. + The data object for updating a RUM operation link. - :param attributes: Attributes for updating a RUM operation strong link. + :param attributes: Attributes for updating a RUM operation link. :type attributes: RUMOperationStrongLinkUpdateRequestAttributes - :param type: The JSON:API type for RUM operation strong link resources. + :param type: The JSON:API type for RUM operation link resources. :type type: RUMOperationStrongLinkType """ super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_link_update_status.py b/src/datadog_api_client/v2/model/rum_operation_strong_link_update_status.py index ccae31c450..120e39472d 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_link_update_status.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_link_update_status.py @@ -14,7 +14,7 @@ class RUMOperationStrongLinkUpdateStatus(ModelSimple): """ - The status of a RUM operation strong link. Can only be set to `CONFIRMED` or `REJECTED`. + The status of a RUM operation link. Can only be set to `CONFIRMED` or `REJECTED`. :param value: Must be one of ["CONFIRMED", "REJECTED"]. :type value: str diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_links_list_response.py b/src/datadog_api_client/v2/model/rum_operation_strong_links_list_response.py index 3c963bf67b..2d1add08c7 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_links_list_response.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_links_list_response.py @@ -47,12 +47,12 @@ def __init__( **kwargs, ): """ - The response for a list of RUM operation strong links. + The response for a list of RUM operation links. :param data: :type data: [RUMOperationStrongLinkResponseData] - :param meta: Metadata for a list of RUM operation strong links. + :param meta: Metadata for a list of RUM operation links. :type meta: RUMOperationStrongLinksListResponseMeta, optional """ if meta is not unset: diff --git a/src/datadog_api_client/v2/model/rum_operation_strong_links_list_response_meta.py b/src/datadog_api_client/v2/model/rum_operation_strong_links_list_response_meta.py index 0dede54842..484ead3b89 100644 --- a/src/datadog_api_client/v2/model/rum_operation_strong_links_list_response_meta.py +++ b/src/datadog_api_client/v2/model/rum_operation_strong_links_list_response_meta.py @@ -36,7 +36,7 @@ def __init__( **kwargs, ): """ - Metadata for a list of RUM operation strong links. + Metadata for a list of RUM operation links. :param limit: The pagination limit. :type limit: int, optional @@ -44,7 +44,7 @@ def __init__( :param offset: The current offset. :type offset: int, optional - :param total: The total number of strong links matching the request. + :param total: The total number of links matching the request. :type total: int, optional """ if limit is not unset: diff --git a/tests/v2/features/rum_operations.feature b/tests/v2/features/rum_operations.feature index e2e2043ed7..ad0b554d90 100644 --- a/tests/v2/features/rum_operations.feature +++ b/tests/v2/features/rum_operations.feature @@ -2,7 +2,7 @@ Feature: RUM Operations Manage [RUM Operations](https://docs.datadoghq.com/real_user_monitoring/), business transactions detected from RUM events through a configurable - journey, and their strong links to features. See the [RUM & Session Replay + journey, and their links to journeys. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/) for more information. @@ -11,6 +11,38 @@ Feature: RUM Operations And a valid "appKeyAuth" key in the system And an instance of "RUMOperations" API + @generated @skip @team:DataDog/rum-backend + Scenario: Create a RUM operation link returns "Bad Request" response + Given operation "CreateRUMOperationStrongLink" enabled + And new "CreateRUMOperationStrongLink" request + And body with value {"data": {"attributes": {"description": null, "feature_id": "journey-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/rum-backend + Scenario: Create a RUM operation link returns "Conflict. A link between this operation and journey already exists." response + Given operation "CreateRUMOperationStrongLink" enabled + And new "CreateRUMOperationStrongLink" request + And body with value {"data": {"attributes": {"description": null, "feature_id": "journey-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + When the request is sent + Then the response status is 409 Conflict. A link between this operation and journey already exists. + + @generated @skip @team:DataDog/rum-backend + Scenario: Create a RUM operation link returns "Created" response + Given operation "CreateRUMOperationStrongLink" enabled + And new "CreateRUMOperationStrongLink" request + And body with value {"data": {"attributes": {"description": null, "feature_id": "journey-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + When the request is sent + Then the response status is 201 Created + + @generated @skip @team:DataDog/rum-backend + Scenario: Create a RUM operation link returns "Not Found. The referenced `operation_id` does not exist." response + Given operation "CreateRUMOperationStrongLink" enabled + And new "CreateRUMOperationStrongLink" request + And body with value {"data": {"attributes": {"description": null, "feature_id": "journey-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + When the request is sent + Then the response status is 404 Not Found. The referenced `operation_id` does not exist. + @generated @skip @team:DataDog/rum-backend Scenario: Create a RUM operation returns "Bad Request" response Given operation "CreateRUMOperation" enabled @@ -36,36 +68,22 @@ Feature: RUM Operations Then the response status is 200 OK @generated @skip @team:DataDog/rum-backend - Scenario: Create a RUM operation strong link returns "Bad Request" response - Given operation "CreateRUMOperationStrongLink" enabled - And new "CreateRUMOperationStrongLink" request - And body with value {"data": {"attributes": {"description": null, "feature_id": "feature-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/rum-backend - Scenario: Create a RUM operation strong link returns "Conflict. A strong link between this operation and feature already exists." response - Given operation "CreateRUMOperationStrongLink" enabled - And new "CreateRUMOperationStrongLink" request - And body with value {"data": {"attributes": {"description": null, "feature_id": "feature-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} - When the request is sent - Then the response status is 409 Conflict. A strong link between this operation and feature already exists. - - @generated @skip @team:DataDog/rum-backend - Scenario: Create a RUM operation strong link returns "Created" response - Given operation "CreateRUMOperationStrongLink" enabled - And new "CreateRUMOperationStrongLink" request - And body with value {"data": {"attributes": {"description": null, "feature_id": "feature-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + Scenario: Delete a RUM operation link returns "No Content" response + Given operation "DeleteRUMOperationStrongLink" enabled + And new "DeleteRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" When the request is sent - Then the response status is 201 Created + Then the response status is 204 No Content @generated @skip @team:DataDog/rum-backend - Scenario: Create a RUM operation strong link returns "Not Found. The referenced `operation_id` does not exist." response - Given operation "CreateRUMOperationStrongLink" enabled - And new "CreateRUMOperationStrongLink" request - And body with value {"data": {"attributes": {"description": null, "feature_id": "feature-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + Scenario: Delete a RUM operation link returns "Not Found" response + Given operation "DeleteRUMOperationStrongLink" enabled + And new "DeleteRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" When the request is sent - Then the response status is 404 Not Found. The referenced `operation_id` does not exist. + Then the response status is 404 Not Found @generated @skip @team:DataDog/rum-backend Scenario: Delete a RUM operation returns "No Content" response @@ -83,24 +101,6 @@ Feature: RUM Operations When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/rum-backend - Scenario: Delete a RUM operation strong link returns "No Content" response - Given operation "DeleteRUMOperationStrongLink" enabled - And new "DeleteRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 204 No Content - - @generated @skip @team:DataDog/rum-backend - Scenario: Delete a RUM operation strong link returns "Not Found" response - Given operation "DeleteRUMOperationStrongLink" enabled - And new "DeleteRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 404 Not Found - @generated @skip @team:DataDog/rum-backend Scenario: Get a RUM operation by name returns "Bad Request" response Given operation "GetRUMOperationByName" enabled @@ -142,13 +142,13 @@ Feature: RUM Operations Then the response status is 200 OK @generated @skip @team:DataDog/rum-backend - Scenario: List RUM operation strong links returns "Bad Request" response + Scenario: List RUM operation links returns "Bad Request" response Given new "ListRUMOperationStrongLinks" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/rum-backend - Scenario: List RUM operation strong links returns "OK" response + Scenario: List RUM operation links returns "OK" response Given new "ListRUMOperationStrongLinks" request When the request is sent Then the response status is 200 OK @@ -167,6 +167,36 @@ Feature: RUM Operations When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/rum-backend + Scenario: Update a RUM operation link returns "Bad Request" response + Given operation "UpdateRUMOperationStrongLink" enabled + And new "UpdateRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/rum-backend + Scenario: Update a RUM operation link returns "Not Found" response + Given operation "UpdateRUMOperationStrongLink" enabled + And new "UpdateRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/rum-backend + Scenario: Update a RUM operation link returns "OK" response + Given operation "UpdateRUMOperationStrongLink" enabled + And new "UpdateRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/rum-backend Scenario: Update a RUM operation returns "Bad Request" response Given operation "UpdateRUMOperation" enabled @@ -202,33 +232,3 @@ Feature: RUM Operations And body with value {"data": {"attributes": {"application_id": "abc12345-1234-5678-abcd-ef1234567890", "category": null, "description": null, "display_name": "Checkout completed", "feature_ids": [], "journey_rum": {"rum_steps": [{"composite": {"kind": "all_of", "max_window_ms": 30000, "predicates": [{"query": "@type:action @action.type:click"}]}, "nodes": [{"query": "@type:action @action.type:click"}], "type": "start"}]}, "name": "checkout_completed", "tags": ["team:checkout"]}, "id": "abc12345-1234-5678-abcd-ef1234567890", "type": "operations"}} When the request is sent Then the response status is 200 OK - - @generated @skip @team:DataDog/rum-backend - Scenario: Update a RUM operation strong link returns "Bad Request" response - Given operation "UpdateRUMOperationStrongLink" enabled - And new "UpdateRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/rum-backend - Scenario: Update a RUM operation strong link returns "Not Found" response - Given operation "UpdateRUMOperationStrongLink" enabled - And new "UpdateRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} - When the request is sent - Then the response status is 404 Not Found - - @generated @skip @team:DataDog/rum-backend - Scenario: Update a RUM operation strong link returns "OK" response - Given operation "UpdateRUMOperationStrongLink" enabled - And new "UpdateRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} - When the request is sent - Then the response status is 200 OK