Skip to content

Commit 1602b4b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5e5441f of spec repo
1 parent 40b3b6e commit 1602b4b

37 files changed

Lines changed: 4791 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 789 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Get replay analysis issue returns "OK" response
2+
3+
require "datadog_api_client"
4+
DatadogAPIClient.configure do |config|
5+
config.unstable_operations["v2.get_replay_analysis_issue".to_sym] = true
6+
end
7+
api_instance = DatadogAPIClient::V2::RumReplayAnalysisAPI.new
8+
p api_instance.get_replay_analysis_issue("00000000-0000-0000-0000-000000000001")
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# List replay analysis issue sessions returns "OK" response
2+
3+
require "datadog_api_client"
4+
DatadogAPIClient.configure do |config|
5+
config.unstable_operations["v2.list_replay_analysis_issue_sessions".to_sym] = true
6+
end
7+
api_instance = DatadogAPIClient::V2::RumReplayAnalysisAPI.new
8+
p api_instance.list_replay_analysis_issue_sessions("00000000-0000-0000-0000-000000000001")
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# List replay analysis issues returns "OK" response
2+
3+
require "datadog_api_client"
4+
DatadogAPIClient.configure do |config|
5+
config.unstable_operations["v2.list_replay_analysis_issues".to_sym] = true
6+
end
7+
api_instance = DatadogAPIClient::V2::RumReplayAnalysisAPI.new
8+
p api_instance.list_replay_analysis_issues()
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Generate replay summary returns "OK" response
2+
3+
require "datadog_api_client"
4+
DatadogAPIClient.configure do |config|
5+
config.unstable_operations["v2.generate_replay_summary".to_sym] = true
6+
end
7+
api_instance = DatadogAPIClient::V2::RumReplayAPI.new
8+
9+
body = DatadogAPIClient::V2::ReplaySummaryRequest.new({
10+
data: DatadogAPIClient::V2::ReplaySummaryDataRequest.new({
11+
type: DatadogAPIClient::V2::ReplaySummaryRequestType::REPLAY_SUMMARY_REQUEST,
12+
}),
13+
})
14+
p api_instance.generate_replay_summary("00000000-0000-0000-0000-000000000001", "rum", body)

features/scenarios_model_mapping.rb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3765,6 +3765,24 @@
37653765
"agent_rule_id" => "String",
37663766
"body" => "CloudWorkloadSecurityAgentRuleUpdateRequest",
37673767
},
3768+
"v2.ListReplayAnalysisIssues" => {
3769+
"filter_application_id" => "String",
3770+
"filter_severity" => "String",
3771+
"filter_view_name" => "String",
3772+
"filter_issue_category" => "String",
3773+
"sort" => "String",
3774+
"page_number" => "Integer",
3775+
"page_size" => "Integer",
3776+
},
3777+
"v2.GetReplayAnalysisIssue" => {
3778+
"issue_id" => "String",
3779+
},
3780+
"v2.ListReplayAnalysisIssueSessions" => {
3781+
"issue_id" => "String",
3782+
"sort" => "String",
3783+
"page_number" => "Integer",
3784+
"page_size" => "Integer",
3785+
},
37683786
"v2.ListReplayHeatmapSnapshots" => {
37693787
"filter_device_type" => "String",
37703788
"filter_view_name" => "String",
@@ -3781,6 +3799,12 @@
37813799
"snapshot_id" => "String",
37823800
"body" => "SnapshotUpdateRequest",
37833801
},
3802+
"v2.GenerateReplaySummary" => {
3803+
"session_id" => "String",
3804+
"data_source" => "String",
3805+
"ts" => "Integer",
3806+
"body" => "ReplaySummaryRequest",
3807+
},
37843808
"v2.DeleteRestrictionPolicy" => {
37853809
"resource_id" => "String",
37863810
},

features/v2/rum_replay.feature

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@endpoint(rum-replay) @endpoint(rum-replay-v2)
2+
Feature: Rum Replay
3+
Generate and retrieve AI-powered summaries of RUM replay sessions.
4+
5+
Background:
6+
Given a valid "apiKeyAuth" key in the system
7+
And a valid "appKeyAuth" key in the system
8+
And an instance of "RumReplay" API
9+
And operation "GenerateReplaySummary" enabled
10+
And new "GenerateReplaySummary" request
11+
And body with value {"data": {"type": "replay_summary_request"}}
12+
13+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
14+
Scenario: Generate replay summary returns "Bad Request" response
15+
Given request contains "session_id" parameter from "REPLACE.ME"
16+
And request contains "data_source" parameter from "REPLACE.ME"
17+
When the request is sent
18+
Then the response status is 400 Bad Request
19+
20+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
21+
Scenario: Generate replay summary returns "Not Found" response
22+
Given request contains "session_id" parameter from "REPLACE.ME"
23+
And request contains "data_source" parameter from "REPLACE.ME"
24+
When the request is sent
25+
Then the response status is 404 Not Found
26+
27+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
28+
Scenario: Generate replay summary returns "OK" response
29+
Given request contains "session_id" parameter from "REPLACE.ME"
30+
And request contains "data_source" parameter from "REPLACE.ME"
31+
When the request is sent
32+
Then the response status is 200 OK
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
@endpoint(rum-replay-analysis) @endpoint(rum-replay-analysis-v2)
2+
Feature: Rum Replay Analysis
3+
Analyze RUM replay sessions to identify and investigate user-facing
4+
issues. Retrieve issues detected by AI analysis, get details for
5+
individual issues, and explore the sessions associated with each issue.
6+
7+
Background:
8+
Given a valid "apiKeyAuth" key in the system
9+
And a valid "appKeyAuth" key in the system
10+
And an instance of "RumReplayAnalysis" API
11+
12+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
13+
Scenario: Get replay analysis issue returns "Bad Request" response
14+
Given operation "GetReplayAnalysisIssue" enabled
15+
And new "GetReplayAnalysisIssue" request
16+
And request contains "issue_id" parameter from "REPLACE.ME"
17+
When the request is sent
18+
Then the response status is 400 Bad Request
19+
20+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
21+
Scenario: Get replay analysis issue returns "Not Found" response
22+
Given operation "GetReplayAnalysisIssue" enabled
23+
And new "GetReplayAnalysisIssue" request
24+
And request contains "issue_id" parameter from "REPLACE.ME"
25+
When the request is sent
26+
Then the response status is 404 Not Found
27+
28+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
29+
Scenario: Get replay analysis issue returns "OK" response
30+
Given operation "GetReplayAnalysisIssue" enabled
31+
And new "GetReplayAnalysisIssue" request
32+
And request contains "issue_id" parameter from "REPLACE.ME"
33+
When the request is sent
34+
Then the response status is 200 OK
35+
36+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
37+
Scenario: List replay analysis issue sessions returns "Bad Request" response
38+
Given operation "ListReplayAnalysisIssueSessions" enabled
39+
And new "ListReplayAnalysisIssueSessions" request
40+
And request contains "issue_id" parameter from "REPLACE.ME"
41+
When the request is sent
42+
Then the response status is 400 Bad Request
43+
44+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
45+
Scenario: List replay analysis issue sessions returns "Not Found" response
46+
Given operation "ListReplayAnalysisIssueSessions" enabled
47+
And new "ListReplayAnalysisIssueSessions" request
48+
And request contains "issue_id" parameter from "REPLACE.ME"
49+
When the request is sent
50+
Then the response status is 404 Not Found
51+
52+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
53+
Scenario: List replay analysis issue sessions returns "OK" response
54+
Given operation "ListReplayAnalysisIssueSessions" enabled
55+
And new "ListReplayAnalysisIssueSessions" request
56+
And request contains "issue_id" parameter from "REPLACE.ME"
57+
When the request is sent
58+
Then the response status is 200 OK
59+
60+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
61+
Scenario: List replay analysis issues returns "Bad Request" response
62+
Given operation "ListReplayAnalysisIssues" enabled
63+
And new "ListReplayAnalysisIssues" request
64+
When the request is sent
65+
Then the response status is 400 Bad Request
66+
67+
@generated @skip @team:DataDog/product-analytics-backend @team:DataDog/rum-backend @team:DataDog/session-replay-backend
68+
Scenario: List replay analysis issues returns "OK" response
69+
Given operation "ListReplayAnalysisIssues" enabled
70+
And new "ListReplayAnalysisIssues" request
71+
When the request is sent
72+
Then the response status is 200 OK

features/v2/undo.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4786,6 +4786,24 @@
47864786
"type": "idempotent"
47874787
}
47884788
},
4789+
"ListReplayAnalysisIssues": {
4790+
"tag": "Rum Replay Analysis",
4791+
"undo": {
4792+
"type": "safe"
4793+
}
4794+
},
4795+
"GetReplayAnalysisIssue": {
4796+
"tag": "Rum Replay Analysis",
4797+
"undo": {
4798+
"type": "safe"
4799+
}
4800+
},
4801+
"ListReplayAnalysisIssueSessions": {
4802+
"tag": "Rum Replay Analysis",
4803+
"undo": {
4804+
"type": "safe"
4805+
}
4806+
},
47894807
"ListReplayHeatmapSnapshots": {
47904808
"tag": "Rum Replay Heatmaps",
47914809
"undo": {
@@ -4817,6 +4835,12 @@
48174835
"type": "idempotent"
48184836
}
48194837
},
4838+
"GenerateReplaySummary": {
4839+
"tag": "Rum Replay",
4840+
"undo": {
4841+
"type": "idempotent"
4842+
}
4843+
},
48204844
"DeleteRestrictionPolicy": {
48214845
"tag": "Restriction Policies",
48224846
"undo": {

lib/datadog_api_client/configuration.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,10 @@ def initialize
434434
"v2.query_event_filtered_users": false,
435435
"v2.query_users": false,
436436
"v2.update_connection": false,
437+
"v2.get_replay_analysis_issue": false,
438+
"v2.list_replay_analysis_issues": false,
439+
"v2.list_replay_analysis_issue_sessions": false,
440+
"v2.generate_replay_summary": false,
437441
"v2.create_scorecard_outcomes_batch": false,
438442
"v2.list_entity_risk_scores": false,
439443
"v2.create_incident_service": false,

0 commit comments

Comments
 (0)