Skip to content

Commit 44f326c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 2b850b7 of spec repo (#1173)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 5441552 commit 44f326c

File tree

16 files changed

+1054
-4
lines changed

16 files changed

+1054
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.5.1.dev2",
7-
"regenerated": "2021-11-12 16:34:52.402019",
8-
"spec_repo_commit": "cbb6f12"
7+
"regenerated": "2021-11-12 17:41:39.581734",
8+
"spec_repo_commit": "2b850b7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-11-12 16:34:52.421921",
13-
"spec_repo_commit": "cbb6f12"
12+
"regenerated": "2021-11-12 17:41:39.606008",
13+
"spec_repo_commit": "2b850b7"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11075,6 +11075,17 @@ components:
1107511075
format: double
1107611076
type: number
1107711077
type: object
11078+
SyntheticsTriggerBody:
11079+
description: Object describing the synthetics tests to trigger.
11080+
properties:
11081+
tests:
11082+
description: Individual synthetics test.
11083+
items:
11084+
$ref: '#/components/schemas/SyntheticsTriggerTest'
11085+
type: array
11086+
required:
11087+
- tests
11088+
type: object
1107811089
SyntheticsTriggerCITestLocation:
1107911090
description: Synthetics location.
1108011091
properties:
@@ -11125,6 +11136,18 @@ components:
1112511136
type: string
1112611137
type: array
1112711138
type: object
11139+
SyntheticsTriggerTest:
11140+
description: Test configuration for Synthetics
11141+
properties:
11142+
metadata:
11143+
$ref: '#/components/schemas/SyntheticsCIBatchMetadata'
11144+
public_id:
11145+
description: The public ID of the Synthetics test to trigger.
11146+
example: aaa-aaa-aaa
11147+
type: string
11148+
required:
11149+
- public_id
11150+
type: object
1112811151
SyntheticsUpdateTestPauseStatusPayload:
1112911152
description: Object to start or pause an existing Synthetic test.
1113011153
properties:
@@ -22683,6 +22706,36 @@ paths:
2268322706
x-menu-order: 14
2268422707
x-undo:
2268522708
type: idempotent
22709+
/api/v1/synthetics/tests/trigger:
22710+
post:
22711+
description: Trigger a set of Synthetics tests.
22712+
operationId: TriggerTests
22713+
requestBody:
22714+
content:
22715+
application/json:
22716+
schema:
22717+
$ref: '#/components/schemas/SyntheticsTriggerBody'
22718+
description: The identifiers of the tests to trigger.
22719+
required: true
22720+
responses:
22721+
'200':
22722+
content:
22723+
application/json:
22724+
schema:
22725+
$ref: '#/components/schemas/SyntheticsTriggerCITestsResponse'
22726+
description: OK
22727+
'400':
22728+
content:
22729+
application/json:
22730+
schema:
22731+
$ref: '#/components/schemas/APIErrorResponse'
22732+
description: Bad Request
22733+
summary: Trigger some Synthetics tests
22734+
tags:
22735+
- Synthetics
22736+
x-codegen-request-body-name: body
22737+
x-undo:
22738+
type: safe
2268622739
/api/v1/synthetics/tests/trigger/ci:
2268722740
post:
2268822741
description: Trigger a set of Synthetics tests for continuous integration.

api/v1/datadog/.openapi-generator/FILES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,11 @@ docs/SyntheticsTestRequest.md
532532
docs/SyntheticsTestRequestCertificate.md
533533
docs/SyntheticsTestRequestCertificateItem.md
534534
docs/SyntheticsTiming.md
535+
docs/SyntheticsTriggerBody.md
535536
docs/SyntheticsTriggerCITestLocation.md
536537
docs/SyntheticsTriggerCITestRunResult.md
537538
docs/SyntheticsTriggerCITestsResponse.md
539+
docs/SyntheticsTriggerTest.md
538540
docs/SyntheticsUpdateTestPauseStatusPayload.md
539541
docs/SyntheticsVariableParser.md
540542
docs/SyntheticsWarningType.md
@@ -1178,9 +1180,11 @@ model_synthetics_test_request.go
11781180
model_synthetics_test_request_certificate.go
11791181
model_synthetics_test_request_certificate_item.go
11801182
model_synthetics_timing.go
1183+
model_synthetics_trigger_body.go
11811184
model_synthetics_trigger_ci_test_location.go
11821185
model_synthetics_trigger_ci_test_run_result.go
11831186
model_synthetics_trigger_ci_tests_response.go
1187+
model_synthetics_trigger_test_.go
11841188
model_synthetics_update_test_pause_status_payload.go
11851189
model_synthetics_variable_parser.go
11861190
model_synthetics_warning_type.go

api/v1/datadog/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ Class | Method | HTTP request | Description
228228
*SyntheticsApi* | [**ListLocations**](docs/SyntheticsApi.md#listlocations) | **Get** /api/v1/synthetics/locations | Get all locations (public and private)
229229
*SyntheticsApi* | [**ListTests**](docs/SyntheticsApi.md#listtests) | **Get** /api/v1/synthetics/tests | Get the list of all tests
230230
*SyntheticsApi* | [**TriggerCITests**](docs/SyntheticsApi.md#triggercitests) | **Post** /api/v1/synthetics/tests/trigger/ci | Trigger tests from CI/CD pipelines
231+
*SyntheticsApi* | [**TriggerTests**](docs/SyntheticsApi.md#triggertests) | **Post** /api/v1/synthetics/tests/trigger | Trigger some Synthetics tests
231232
*SyntheticsApi* | [**UpdateAPITest**](docs/SyntheticsApi.md#updateapitest) | **Put** /api/v1/synthetics/tests/api/{public_id} | Edit an API test
232233
*SyntheticsApi* | [**UpdateBrowserTest**](docs/SyntheticsApi.md#updatebrowsertest) | **Put** /api/v1/synthetics/tests/browser/{public_id} | Edit a browser test
233234
*SyntheticsApi* | [**UpdatePrivateLocation**](docs/SyntheticsApi.md#updateprivatelocation) | **Put** /api/v1/synthetics/private-locations/{location_id} | Edit a private location
@@ -760,9 +761,11 @@ Class | Method | HTTP request | Description
760761
- [SyntheticsTestRequestCertificate](docs/SyntheticsTestRequestCertificate.md)
761762
- [SyntheticsTestRequestCertificateItem](docs/SyntheticsTestRequestCertificateItem.md)
762763
- [SyntheticsTiming](docs/SyntheticsTiming.md)
764+
- [SyntheticsTriggerBody](docs/SyntheticsTriggerBody.md)
763765
- [SyntheticsTriggerCITestLocation](docs/SyntheticsTriggerCITestLocation.md)
764766
- [SyntheticsTriggerCITestRunResult](docs/SyntheticsTriggerCITestRunResult.md)
765767
- [SyntheticsTriggerCITestsResponse](docs/SyntheticsTriggerCITestsResponse.md)
768+
- [SyntheticsTriggerTest](docs/SyntheticsTriggerTest.md)
766769
- [SyntheticsUpdateTestPauseStatusPayload](docs/SyntheticsUpdateTestPauseStatusPayload.md)
767770
- [SyntheticsVariableParser](docs/SyntheticsVariableParser.md)
768771
- [SyntheticsWarningType](docs/SyntheticsWarningType.md)

api/v1/datadog/api/openapi.yaml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8078,6 +8078,36 @@ paths:
80788078
x-menu-order: 14
80798079
x-undo:
80808080
type: idempotent
8081+
/api/v1/synthetics/tests/trigger:
8082+
post:
8083+
description: Trigger a set of Synthetics tests.
8084+
operationId: TriggerTests
8085+
requestBody:
8086+
content:
8087+
application/json:
8088+
schema:
8089+
$ref: '#/components/schemas/SyntheticsTriggerBody'
8090+
description: The identifiers of the tests to trigger.
8091+
required: true
8092+
responses:
8093+
"200":
8094+
content:
8095+
application/json:
8096+
schema:
8097+
$ref: '#/components/schemas/SyntheticsTriggerCITestsResponse'
8098+
description: OK
8099+
"400":
8100+
content:
8101+
application/json:
8102+
schema:
8103+
$ref: '#/components/schemas/APIErrorResponse'
8104+
description: Bad Request
8105+
summary: Trigger some Synthetics tests
8106+
tags:
8107+
- Synthetics
8108+
x-codegen-request-body-name: body
8109+
x-undo:
8110+
type: safe
80818111
/api/v1/synthetics/tests/trigger/ci:
80828112
post:
80838113
description: Trigger a set of Synthetics tests for continuous integration.
@@ -25124,6 +25154,39 @@ components:
2512425154
format: double
2512525155
type: number
2512625156
type: object
25157+
SyntheticsTriggerBody:
25158+
description: Object describing the synthetics tests to trigger.
25159+
example:
25160+
tests:
25161+
- metadata:
25162+
git:
25163+
commitSha: commitSha
25164+
branch: branch
25165+
ci:
25166+
pipeline:
25167+
url: url
25168+
provider:
25169+
name: name
25170+
public_id: aaa-aaa-aaa
25171+
- metadata:
25172+
git:
25173+
commitSha: commitSha
25174+
branch: branch
25175+
ci:
25176+
pipeline:
25177+
url: url
25178+
provider:
25179+
name: name
25180+
public_id: aaa-aaa-aaa
25181+
properties:
25182+
tests:
25183+
description: Individual synthetics test.
25184+
items:
25185+
$ref: '#/components/schemas/SyntheticsTriggerTest'
25186+
type: array
25187+
required:
25188+
- tests
25189+
type: object
2512725190
SyntheticsTriggerCITestLocation:
2512825191
description: Synthetics location.
2512925192
example:
@@ -25201,6 +25264,29 @@ components:
2520125264
type: string
2520225265
type: array
2520325266
type: object
25267+
SyntheticsTriggerTest:
25268+
description: Test configuration for Synthetics
25269+
example:
25270+
metadata:
25271+
git:
25272+
commitSha: commitSha
25273+
branch: branch
25274+
ci:
25275+
pipeline:
25276+
url: url
25277+
provider:
25278+
name: name
25279+
public_id: aaa-aaa-aaa
25280+
properties:
25281+
metadata:
25282+
$ref: '#/components/schemas/SyntheticsCIBatchMetadata'
25283+
public_id:
25284+
description: The public ID of the Synthetics test to trigger.
25285+
example: aaa-aaa-aaa
25286+
type: string
25287+
required:
25288+
- public_id
25289+
type: object
2520425290
SyntheticsUpdateTestPauseStatusPayload:
2520525291
description: Object to start or pause an existing Synthetic test.
2520625292
example:

api/v1/datadog/api_synthetics.go

Lines changed: 145 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)