Skip to content

Commit 74c0d74

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Sync OpenAPI specification with backend (#1672)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent b102eb8 commit 74c0d74

File tree

5 files changed

+48
-12
lines changed

5 files changed

+48
-12
lines changed

.apigentools-info

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"info_version": "2",
44
"spec_versions": {
55
"v1": {
6-
"apigentools_version": "1.6.5",
7-
"regenerated": "2023-09-19 15:38:29.693348",
8-
"spec_repo_commit": "30c5293b"
6+
"apigentools_version": "1.6.6",
7+
"regenerated": "2023-09-21 17:08:23.707353",
8+
"spec_repo_commit": "bcba1c72"
99
},
1010
"v2": {
11-
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-09-19 15:38:29.707115",
13-
"spec_repo_commit": "30c5293b"
11+
"apigentools_version": "1.6.6",
12+
"regenerated": "2023-09-21 17:08:23.720744",
13+
"spec_repo_commit": "bcba1c72"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20312,6 +20312,9 @@ components:
2031220312
apm_service_catalog_read: View service catalog and service definitions.
2031320313
apm_service_catalog_write: Add, modify, and delete service catalog definitions
2031420314
when those definitions are maintained by Datadog.
20315+
ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
20316+
the API.
20317+
ci_visibility_read: View CI Visibility.
2031520318
create_webhooks: Create webhooks integrations.
2031620319
dashboards_public_share: Generate public and authenticated links to share
2031720320
dashboards or embeddable graphs externally.

.generator/schemas/v2/openapi.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17218,6 +17218,9 @@ components:
1721817218
apm_service_catalog_read: View service catalog and service definitions.
1721917219
apm_service_catalog_write: Add, modify, and delete service catalog definitions
1722017220
when those definitions are maintained by Datadog.
17221+
ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
17222+
the API.
17223+
ci_visibility_read: View CI Visibility.
1722117224
create_webhooks: Create webhooks integrations.
1722217225
dashboards_public_share: Generate public and authenticated links to share
1722317226
dashboards or embeddable graphs externally.
@@ -18169,6 +18172,11 @@ paths:
1816918172
$ref: '#/components/responses/NotAuthorizedResponse'
1817018173
'429':
1817118174
$ref: '#/components/responses/TooManyRequestsResponse'
18175+
security:
18176+
- apiKeyAuth: []
18177+
appKeyAuth: []
18178+
- AuthZ:
18179+
- ci_visibility_read
1817218180
summary: Aggregate pipelines events
1817318181
tags:
1817418182
- CI Visibility Pipelines
@@ -18244,6 +18252,11 @@ paths:
1824418252
$ref: '#/components/responses/NotAuthorizedResponse'
1824518253
'429':
1824618254
$ref: '#/components/responses/TooManyRequestsResponse'
18255+
security:
18256+
- apiKeyAuth: []
18257+
appKeyAuth: []
18258+
- AuthZ:
18259+
- ci_visibility_read
1824718260
summary: Get a list of pipelines events
1824818261
tags:
1824918262
- CI Visibility Pipelines
@@ -18281,6 +18294,11 @@ paths:
1828118294
$ref: '#/components/responses/NotAuthorizedResponse'
1828218295
'429':
1828318296
$ref: '#/components/responses/TooManyRequestsResponse'
18297+
security:
18298+
- apiKeyAuth: []
18299+
appKeyAuth: []
18300+
- AuthZ:
18301+
- ci_visibility_read
1828418302
summary: Search pipelines events
1828518303
tags:
1828618304
- CI Visibility Pipelines
@@ -18314,6 +18332,11 @@ paths:
1831418332
$ref: '#/components/responses/NotAuthorizedResponse'
1831518333
'429':
1831618334
$ref: '#/components/responses/TooManyRequestsResponse'
18335+
security:
18336+
- apiKeyAuth: []
18337+
appKeyAuth: []
18338+
- AuthZ:
18339+
- ci_visibility_read
1831718340
summary: Aggregate tests events
1831818341
tags:
1831918342
- CI Visibility Tests
@@ -18389,6 +18412,11 @@ paths:
1838918412
$ref: '#/components/responses/NotAuthorizedResponse'
1839018413
'429':
1839118414
$ref: '#/components/responses/TooManyRequestsResponse'
18415+
security:
18416+
- apiKeyAuth: []
18417+
appKeyAuth: []
18418+
- AuthZ:
18419+
- ci_visibility_read
1839218420
summary: Get a list of tests events
1839318421
tags:
1839418422
- CI Visibility Tests
@@ -18426,6 +18454,11 @@ paths:
1842618454
$ref: '#/components/responses/NotAuthorizedResponse'
1842718455
'429':
1842818456
$ref: '#/components/responses/TooManyRequestsResponse'
18457+
security:
18458+
- apiKeyAuth: []
18459+
appKeyAuth: []
18460+
- AuthZ:
18461+
- ci_visibility_read
1842918462
summary: Search tests events
1843018463
tags:
1843118464
- CI Visibility Tests

src/datadog_api_client/v2/api/ci_visibility_pipelines_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, api_client=None):
3939
self._aggregate_ci_app_pipeline_events_endpoint = _Endpoint(
4040
settings={
4141
"response_type": (CIAppPipelinesAnalyticsAggregateResponse,),
42-
"auth": ["apiKeyAuth", "appKeyAuth"],
42+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
4343
"endpoint_path": "/api/v2/ci/pipelines/analytics/aggregate",
4444
"operation_id": "aggregate_ci_app_pipeline_events",
4545
"http_method": "POST",
@@ -79,7 +79,7 @@ def __init__(self, api_client=None):
7979
self._list_ci_app_pipeline_events_endpoint = _Endpoint(
8080
settings={
8181
"response_type": (CIAppPipelineEventsResponse,),
82-
"auth": ["apiKeyAuth", "appKeyAuth"],
82+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
8383
"endpoint_path": "/api/v2/ci/pipelines/events",
8484
"operation_id": "list_ci_app_pipeline_events",
8585
"http_method": "GET",
@@ -129,7 +129,7 @@ def __init__(self, api_client=None):
129129
self._search_ci_app_pipeline_events_endpoint = _Endpoint(
130130
settings={
131131
"response_type": (CIAppPipelineEventsResponse,),
132-
"auth": ["apiKeyAuth", "appKeyAuth"],
132+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
133133
"endpoint_path": "/api/v2/ci/pipelines/events/search",
134134
"operation_id": "search_ci_app_pipeline_events",
135135
"http_method": "POST",

src/datadog_api_client/v2/api/ci_visibility_tests_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, api_client=None):
3636
self._aggregate_ci_app_test_events_endpoint = _Endpoint(
3737
settings={
3838
"response_type": (CIAppTestsAnalyticsAggregateResponse,),
39-
"auth": ["apiKeyAuth", "appKeyAuth"],
39+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
4040
"endpoint_path": "/api/v2/ci/tests/analytics/aggregate",
4141
"operation_id": "aggregate_ci_app_test_events",
4242
"http_method": "POST",
@@ -56,7 +56,7 @@ def __init__(self, api_client=None):
5656
self._list_ci_app_test_events_endpoint = _Endpoint(
5757
settings={
5858
"response_type": (CIAppTestEventsResponse,),
59-
"auth": ["apiKeyAuth", "appKeyAuth"],
59+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
6060
"endpoint_path": "/api/v2/ci/tests/events",
6161
"operation_id": "list_ci_app_test_events",
6262
"http_method": "GET",
@@ -106,7 +106,7 @@ def __init__(self, api_client=None):
106106
self._search_ci_app_test_events_endpoint = _Endpoint(
107107
settings={
108108
"response_type": (CIAppTestEventsResponse,),
109-
"auth": ["apiKeyAuth", "appKeyAuth"],
109+
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
110110
"endpoint_path": "/api/v2/ci/tests/events/search",
111111
"operation_id": "search_ci_app_test_events",
112112
"http_method": "POST",

0 commit comments

Comments
 (0)