Skip to content

Commit 0cd7e3e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9156f68 of spec repo
1 parent ffd64b7 commit 0cd7e3e

File tree

13 files changed

+830
-4
lines changed

13 files changed

+830
-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-04 17:32:19.940846",
8-
"spec_repo_commit": "2a03497"
7+
"regenerated": "2021-11-05 08:48:06.329447",
8+
"spec_repo_commit": "9156f68"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-11-04 17:32:19.962917",
13-
"spec_repo_commit": "2a03497"
12+
"regenerated": "2021-11-05 08:48:06.351070",
13+
"spec_repo_commit": "9156f68"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11052,6 +11052,17 @@ components:
1105211052
format: double
1105311053
type: number
1105411054
type: object
11055+
SyntheticsTriggerBody:
11056+
description: Object describing the synthetics tests to trigger.
11057+
properties:
11058+
tests:
11059+
description: Individual synthetics test.
11060+
items:
11061+
$ref: '#/components/schemas/SyntheticsTriggerTest'
11062+
type: array
11063+
required:
11064+
- tests
11065+
type: object
1105511066
SyntheticsTriggerCITestLocation:
1105611067
description: Synthetics location.
1105711068
properties:
@@ -11102,6 +11113,18 @@ components:
1110211113
type: string
1110311114
type: array
1110411115
type: object
11116+
SyntheticsTriggerTest:
11117+
description: Test configuration for Synthetics
11118+
properties:
11119+
metadata:
11120+
$ref: '#/components/schemas/SyntheticsCIBatchMetadata'
11121+
public_id:
11122+
description: The public ID of the Synthetics test to trigger.
11123+
example: aaa-aaa-aaa
11124+
type: string
11125+
required:
11126+
- public_id
11127+
type: object
1110511128
SyntheticsUpdateTestPauseStatusPayload:
1110611129
description: Object to start or pause an existing Synthetic test.
1110711130
properties:
@@ -22524,6 +22547,36 @@ paths:
2252422547
x-menu-order: 14
2252522548
x-undo:
2252622549
type: idempotent
22550+
/api/v1/synthetics/tests/trigger:
22551+
post:
22552+
description: Trigger a set of Synthetics tests.
22553+
operationId: TriggerTests
22554+
requestBody:
22555+
content:
22556+
application/json:
22557+
schema:
22558+
$ref: '#/components/schemas/SyntheticsTriggerBody'
22559+
description: The identifiers of the tests to trigger.
22560+
required: true
22561+
responses:
22562+
'200':
22563+
content:
22564+
application/json:
22565+
schema:
22566+
$ref: '#/components/schemas/SyntheticsTriggerCITestsResponse'
22567+
description: OK
22568+
'400':
22569+
content:
22570+
application/json:
22571+
schema:
22572+
$ref: '#/components/schemas/APIErrorResponse'
22573+
description: Bad Request
22574+
summary: Trigger some Synthetics tests
22575+
tags:
22576+
- Synthetics
22577+
x-codegen-request-body-name: body
22578+
x-undo:
22579+
type: safe
2252722580
/api/v1/synthetics/tests/trigger/ci:
2252822581
post:
2252922582
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
@@ -1176,9 +1178,11 @@ model_synthetics_test_request.go
11761178
model_synthetics_test_request_certificate.go
11771179
model_synthetics_test_request_certificate_item.go
11781180
model_synthetics_timing.go
1181+
model_synthetics_trigger_body.go
11791182
model_synthetics_trigger_ci_test_location.go
11801183
model_synthetics_trigger_ci_test_run_result.go
11811184
model_synthetics_trigger_ci_tests_response.go
1185+
model_synthetics_trigger_test_.go
11821186
model_synthetics_update_test_pause_status_payload.go
11831187
model_synthetics_variable_parser.go
11841188
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
@@ -759,9 +760,11 @@ Class | Method | HTTP request | Description
759760
- [SyntheticsTestRequestCertificate](docs/SyntheticsTestRequestCertificate.md)
760761
- [SyntheticsTestRequestCertificateItem](docs/SyntheticsTestRequestCertificateItem.md)
761762
- [SyntheticsTiming](docs/SyntheticsTiming.md)
763+
- [SyntheticsTriggerBody](docs/SyntheticsTriggerBody.md)
762764
- [SyntheticsTriggerCITestLocation](docs/SyntheticsTriggerCITestLocation.md)
763765
- [SyntheticsTriggerCITestRunResult](docs/SyntheticsTriggerCITestRunResult.md)
764766
- [SyntheticsTriggerCITestsResponse](docs/SyntheticsTriggerCITestsResponse.md)
767+
- [SyntheticsTriggerTest](docs/SyntheticsTriggerTest.md)
765768
- [SyntheticsUpdateTestPauseStatusPayload](docs/SyntheticsUpdateTestPauseStatusPayload.md)
766769
- [SyntheticsVariableParser](docs/SyntheticsVariableParser.md)
767770
- [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.
@@ -25044,6 +25074,39 @@ components:
2504425074
format: double
2504525075
type: number
2504625076
type: object
25077+
SyntheticsTriggerBody:
25078+
description: Object describing the synthetics tests to trigger.
25079+
example:
25080+
tests:
25081+
- metadata:
25082+
git:
25083+
commitSha: commitSha
25084+
branch: branch
25085+
ci:
25086+
pipeline:
25087+
url: url
25088+
provider:
25089+
name: name
25090+
public_id: aaa-aaa-aaa
25091+
- metadata:
25092+
git:
25093+
commitSha: commitSha
25094+
branch: branch
25095+
ci:
25096+
pipeline:
25097+
url: url
25098+
provider:
25099+
name: name
25100+
public_id: aaa-aaa-aaa
25101+
properties:
25102+
tests:
25103+
description: Individual synthetics test.
25104+
items:
25105+
$ref: '#/components/schemas/SyntheticsTriggerTest'
25106+
type: array
25107+
required:
25108+
- tests
25109+
type: object
2504725110
SyntheticsTriggerCITestLocation:
2504825111
description: Synthetics location.
2504925112
example:
@@ -25121,6 +25184,29 @@ components:
2512125184
type: string
2512225185
type: array
2512325186
type: object
25187+
SyntheticsTriggerTest:
25188+
description: Test configuration for Synthetics
25189+
example:
25190+
metadata:
25191+
git:
25192+
commitSha: commitSha
25193+
branch: branch
25194+
ci:
25195+
pipeline:
25196+
url: url
25197+
provider:
25198+
name: name
25199+
public_id: aaa-aaa-aaa
25200+
properties:
25201+
metadata:
25202+
$ref: '#/components/schemas/SyntheticsCIBatchMetadata'
25203+
public_id:
25204+
description: The public ID of the Synthetics test to trigger.
25205+
example: aaa-aaa-aaa
25206+
type: string
25207+
required:
25208+
- public_id
25209+
type: object
2512425210
SyntheticsUpdateTestPauseStatusPayload:
2512525211
description: Object to start or pause an existing Synthetic test.
2512625212
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)