Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,728 changes: 2,073 additions & 655 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-06-04T18:34:02.931Z
45 changes: 45 additions & 0 deletions cassettes/features/v2/forms/Create-a-form-returns-OK-response.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-06-04T18:34:04.703Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-06-04T18:34:05.786Z
62 changes: 62 additions & 0 deletions cassettes/features/v2/forms/Delete-a-form-returns-OK-response.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-06-04T18:34:06.925Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-06-04T18:34:07.294Z
63 changes: 63 additions & 0 deletions cassettes/features/v2/forms/Get-a-form-returns-OK-response.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2026-06-04T18:34:08.479Z
67 changes: 67 additions & 0 deletions cassettes/features/v2/forms/List-forms-returns-OK-response.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions examples/v2/csm-ownership/CreateOwnershipFeedback.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Submit feedback on an ownership inference returns "Created" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.create_ownership_feedback".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CSMOwnershipAPI.new

body = DatadogAPIClient::V2::OwnershipFeedbackRequest.new({
data: DatadogAPIClient::V2::OwnershipFeedbackRequestData.new({
attributes: DatadogAPIClient::V2::OwnershipFeedbackRequestAttributes.new({
action: DatadogAPIClient::V2::OwnershipFeedbackAction::CONFIRM,
actor_handle: "user@example.com",
actor_type: "user",
corrected_owner_handle: "team-b",
corrected_owner_type: "team",
inference_checksum: "abc123",
reason: "Confirmed by team lead.",
}),
type: DatadogAPIClient::V2::OwnershipFeedbackType::OWNERSHIP_FEEDBACK,
}),
})
p api_instance.create_ownership_feedback("res-1", OwnershipOwnerType::TEAM, body)
8 changes: 8 additions & 0 deletions examples/v2/csm-ownership/GetOwnershipEvidence.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Get the evidence for an ownership inference returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.get_ownership_evidence".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CSMOwnershipAPI.new
p api_instance.get_ownership_evidence("test-resource", OwnershipOwnerType::TEAM)
8 changes: 8 additions & 0 deletions examples/v2/csm-ownership/GetOwnershipInference.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Get an ownership inference by owner type returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.get_ownership_inference".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CSMOwnershipAPI.new
p api_instance.get_ownership_inference("test-resource", OwnershipOwnerType::TEAM)
8 changes: 8 additions & 0 deletions examples/v2/csm-ownership/ListOwnershipHistory.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# List ownership inference history for a resource returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.list_ownership_history".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CSMOwnershipAPI.new
p api_instance.list_ownership_history("res-1")
Loading
Loading