Skip to content

Commit 000ef62

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5d07320 of spec repo
1 parent a12da75 commit 000ef62

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
@@ -3768,6 +3768,24 @@
37683768
"agent_rule_id" => "String",
37693769
"body" => "CloudWorkloadSecurityAgentRuleUpdateRequest",
37703770
},
3771+
"v2.ListReplayAnalysisIssues" => {
3772+
"filter_application_id" => "String",
3773+
"filter_severity" => "String",
3774+
"filter_view_name" => "String",
3775+
"filter_issue_category" => "String",
3776+
"sort" => "String",
3777+
"page_number" => "Integer",
3778+
"page_size" => "Integer",
3779+
},
3780+
"v2.GetReplayAnalysisIssue" => {
3781+
"issue_id" => "String",
3782+
},
3783+
"v2.ListReplayAnalysisIssueSessions" => {
3784+
"issue_id" => "String",
3785+
"sort" => "String",
3786+
"page_number" => "Integer",
3787+
"page_size" => "Integer",
3788+
},
37713789
"v2.ListReplayHeatmapSnapshots" => {
37723790
"filter_device_type" => "String",
37733791
"filter_view_name" => "String",
@@ -3784,6 +3802,12 @@
37843802
"snapshot_id" => "String",
37853803
"body" => "SnapshotUpdateRequest",
37863804
},
3805+
"v2.GenerateReplaySummary" => {
3806+
"session_id" => "String",
3807+
"data_source" => "String",
3808+
"ts" => "Integer",
3809+
"body" => "ReplaySummaryRequest",
3810+
},
37873811
"v2.DeleteRestrictionPolicy" => {
37883812
"resource_id" => "String",
37893813
},

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
@@ -4792,6 +4792,24 @@
47924792
"type": "idempotent"
47934793
}
47944794
},
4795+
"ListReplayAnalysisIssues": {
4796+
"tag": "Rum Replay Analysis",
4797+
"undo": {
4798+
"type": "safe"
4799+
}
4800+
},
4801+
"GetReplayAnalysisIssue": {
4802+
"tag": "Rum Replay Analysis",
4803+
"undo": {
4804+
"type": "safe"
4805+
}
4806+
},
4807+
"ListReplayAnalysisIssueSessions": {
4808+
"tag": "Rum Replay Analysis",
4809+
"undo": {
4810+
"type": "safe"
4811+
}
4812+
},
47954813
"ListReplayHeatmapSnapshots": {
47964814
"tag": "Rum Replay Heatmaps",
47974815
"undo": {
@@ -4823,6 +4841,12 @@
48234841
"type": "idempotent"
48244842
}
48254843
},
4844+
"GenerateReplaySummary": {
4845+
"tag": "Rum Replay",
4846+
"undo": {
4847+
"type": "idempotent"
4848+
}
4849+
},
48264850
"DeleteRestrictionPolicy": {
48274851
"tag": "Restriction Policies",
48284852
"undo": {

lib/datadog_api_client/configuration.rb

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

0 commit comments

Comments
 (0)