Skip to content

Commit fc52706

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 33da7e2 of spec repo
1 parent 80e17dc commit fc52706

File tree

29 files changed

+342
-336
lines changed

29 files changed

+342
-336
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 216 additions & 216 deletions
Large diffs are not rendered by default.

src/datadog_api_client/configuration.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,12 @@ def __init__(
357357
"v2.update_monitor_user_template": False,
358358
"v2.validate_existing_monitor_user_template": False,
359359
"v2.validate_monitor_user_template": False,
360+
"v2.create_pipeline": False,
361+
"v2.delete_pipeline": False,
362+
"v2.get_pipeline": False,
363+
"v2.list_pipelines": False,
364+
"v2.update_pipeline": False,
365+
"v2.validate_pipeline": False,
360366
"v2.list_role_templates": False,
361367
"v2.create_connection": False,
362368
"v2.delete_connection": False,
@@ -368,12 +374,6 @@ def __init__(
368374
"v2.query_event_filtered_users": False,
369375
"v2.query_users": False,
370376
"v2.update_connection": False,
371-
"v2.create_pipeline": False,
372-
"v2.delete_pipeline": False,
373-
"v2.get_pipeline": False,
374-
"v2.list_pipelines": False,
375-
"v2.update_pipeline": False,
376-
"v2.validate_pipeline": False,
377377
"v2.create_scorecard_outcomes_batch": False,
378378
"v2.create_scorecard_rule": False,
379379
"v2.delete_scorecard_rule": False,

src/datadog_api_client/v2/api/observability_pipelines_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, api_client=None):
3131
settings={
3232
"response_type": (ObservabilityPipeline,),
3333
"auth": ["apiKeyAuth", "appKeyAuth"],
34-
"endpoint_path": "/api/v2/remote_config/products/obs_pipelines/pipelines",
34+
"endpoint_path": "/api/v2/obs-pipelines/pipelines",
3535
"operation_id": "create_pipeline",
3636
"http_method": "POST",
3737
"version": "v2",
@@ -51,7 +51,7 @@ def __init__(self, api_client=None):
5151
settings={
5252
"response_type": None,
5353
"auth": ["apiKeyAuth", "appKeyAuth"],
54-
"endpoint_path": "/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}",
54+
"endpoint_path": "/api/v2/obs-pipelines/pipelines/{pipeline_id}",
5555
"operation_id": "delete_pipeline",
5656
"http_method": "DELETE",
5757
"version": "v2",
@@ -74,7 +74,7 @@ def __init__(self, api_client=None):
7474
settings={
7575
"response_type": (ObservabilityPipeline,),
7676
"auth": ["apiKeyAuth", "appKeyAuth"],
77-
"endpoint_path": "/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}",
77+
"endpoint_path": "/api/v2/obs-pipelines/pipelines/{pipeline_id}",
7878
"operation_id": "get_pipeline",
7979
"http_method": "GET",
8080
"version": "v2",
@@ -97,7 +97,7 @@ def __init__(self, api_client=None):
9797
settings={
9898
"response_type": (ListPipelinesResponse,),
9999
"auth": ["apiKeyAuth", "appKeyAuth"],
100-
"endpoint_path": "/api/v2/remote_config/products/obs_pipelines/pipelines",
100+
"endpoint_path": "/api/v2/obs-pipelines/pipelines",
101101
"operation_id": "list_pipelines",
102102
"http_method": "GET",
103103
"version": "v2",
@@ -124,7 +124,7 @@ def __init__(self, api_client=None):
124124
settings={
125125
"response_type": (ObservabilityPipeline,),
126126
"auth": ["apiKeyAuth", "appKeyAuth"],
127-
"endpoint_path": "/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}",
127+
"endpoint_path": "/api/v2/obs-pipelines/pipelines/{pipeline_id}",
128128
"operation_id": "update_pipeline",
129129
"http_method": "PUT",
130130
"version": "v2",
@@ -150,7 +150,7 @@ def __init__(self, api_client=None):
150150
settings={
151151
"response_type": (ValidationResponse,),
152152
"auth": ["apiKeyAuth", "appKeyAuth"],
153-
"endpoint_path": "/api/v2/remote_config/products/obs_pipelines/pipelines/validate",
153+
"endpoint_path": "/api/v2/obs-pipelines/pipelines/validate",
154154
"operation_id": "validate_pipeline",
155155
"http_method": "POST",
156156
"version": "v2",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-12-12T12:01:38.830Z
1+
2025-12-18T12:40:33.433Z

tests/v2/cassettes/test_scenarios/test_create_a_new_pipeline_returns_bad_request_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interactions:
88
content-type:
99
- application/json
1010
method: POST
11-
uri: https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines
11+
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines
1212
response:
1313
body:
1414
string: '{"errors":[{"title":"Component with ID my-processor-group is an unknown
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-12-12T12:01:39.315Z
1+
2025-12-18T12:40:33.865Z

tests/v2/cassettes/test_scenarios/test_create_a_new_pipeline_returns_ok_response.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ interactions:
88
content-type:
99
- application/json
1010
method: POST
11-
uri: https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines
11+
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines
1212
response:
1313
body:
14-
string: '{"data":{"id":"512fbd46-d752-11f0-b25a-da7ad0900002","type":"pipelines","attributes":{"name":"Main
14+
string: '{"data":{"id":"bf212248-dc0e-11f0-b693-da7ad0900002","type":"pipelines","attributes":{"name":"Main
1515
Observability Pipeline","config":{"destinations":[{"id":"datadog-logs-destination","inputs":["my-processor-group"],"type":"datadog_logs"}],"processors":[{"enabled":true,"id":"my-processor-group","include":"service:my-service","inputs":["datadog-agent-source"],"processors":[{"enabled":true,"id":"filter-processor","include":"status:error","type":"filter"}]}],"sources":[{"id":"datadog-agent-source","type":"datadog_agent"}]}}}}
1616
1717
'
1818
headers:
1919
content-type:
20-
- application/json
20+
- application/vnd.api+json
2121
status:
2222
code: 201
2323
message: Created
@@ -27,7 +27,7 @@ interactions:
2727
accept:
2828
- '*/*'
2929
method: DELETE
30-
uri: https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/512fbd46-d752-11f0-b25a-da7ad0900002
30+
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/bf212248-dc0e-11f0-b693-da7ad0900002
3131
response:
3232
body:
3333
string: ''
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-12-12T12:01:40.725Z
1+
2025-12-18T12:40:35.020Z

tests/v2/cassettes/test_scenarios/test_delete_a_pipeline_returns_not_found_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ interactions:
55
accept:
66
- '*/*'
77
method: DELETE
8-
uri: https://api.datadoghq.com/api/v2/remote_config/products/obs_pipelines/pipelines/3fa85f64-5717-4562-b3fc-2c963f66afa6
8+
uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/3fa85f64-5717-4562-b3fc-2c963f66afa6
99
response:
1010
body:
1111
string: '{"errors":[{"title":"Resource Not Found"}]}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-12-12T12:01:41.308Z
1+
2025-12-18T12:40:35.481Z

0 commit comments

Comments
 (0)