Skip to content

Commit 304e86d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5022dff of spec repo
1 parent 8881355 commit 304e86d

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-03 12:24:02.094236",
8-
"spec_repo_commit": "5a8a968"
7+
"regenerated": "2021-11-03 12:58:47.371375",
8+
"spec_repo_commit": "5022dff"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-11-03 12:24:02.115806",
13-
"spec_repo_commit": "5a8a968"
12+
"regenerated": "2021-11-03 12:58:47.388958",
13+
"spec_repo_commit": "5022dff"
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:
@@ -22405,6 +22428,36 @@ paths:
2240522428
x-menu-order: 14
2240622429
x-undo:
2240722430
type: idempotent
22431+
/api/v1/synthetics/tests/trigger:
22432+
post:
22433+
description: Trigger a set of Synthetics tests.
22434+
operationId: TriggerTests
22435+
requestBody:
22436+
content:
22437+
application/json:
22438+
schema:
22439+
$ref: '#/components/schemas/SyntheticsTriggerBody'
22440+
description: The identifiers of the tests to trigger.
22441+
required: true
22442+
responses:
22443+
'200':
22444+
content:
22445+
application/json:
22446+
schema:
22447+
$ref: '#/components/schemas/SyntheticsTriggerCITestsResponse'
22448+
description: OK
22449+
'400':
22450+
content:
22451+
application/json:
22452+
schema:
22453+
$ref: '#/components/schemas/APIErrorResponse'
22454+
description: Bad Request
22455+
summary: Trigger some Synthetics tests
22456+
tags:
22457+
- Synthetics
22458+
x-codegen-request-body-name: body
22459+
x-undo:
22460+
type: safe
2240822461
/api/v1/synthetics/tests/trigger/ci:
2240922462
post:
2241022463
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
@@ -7955,6 +7955,36 @@ paths:
79557955
x-menu-order: 14
79567956
x-undo:
79577957
type: idempotent
7958+
/api/v1/synthetics/tests/trigger:
7959+
post:
7960+
description: Trigger a set of Synthetics tests.
7961+
operationId: TriggerTests
7962+
requestBody:
7963+
content:
7964+
application/json:
7965+
schema:
7966+
$ref: '#/components/schemas/SyntheticsTriggerBody'
7967+
description: The identifiers of the tests to trigger.
7968+
required: true
7969+
responses:
7970+
"200":
7971+
content:
7972+
application/json:
7973+
schema:
7974+
$ref: '#/components/schemas/SyntheticsTriggerCITestsResponse'
7975+
description: OK
7976+
"400":
7977+
content:
7978+
application/json:
7979+
schema:
7980+
$ref: '#/components/schemas/APIErrorResponse'
7981+
description: Bad Request
7982+
summary: Trigger some Synthetics tests
7983+
tags:
7984+
- Synthetics
7985+
x-codegen-request-body-name: body
7986+
x-undo:
7987+
type: safe
79587988
/api/v1/synthetics/tests/trigger/ci:
79597989
post:
79607990
description: Trigger a set of Synthetics tests for continuous integration.
@@ -24920,6 +24950,39 @@ components:
2492024950
format: double
2492124951
type: number
2492224952
type: object
24953+
SyntheticsTriggerBody:
24954+
description: Object describing the synthetics tests to trigger.
24955+
example:
24956+
tests:
24957+
- metadata:
24958+
git:
24959+
commitSha: commitSha
24960+
branch: branch
24961+
ci:
24962+
pipeline:
24963+
url: url
24964+
provider:
24965+
name: name
24966+
public_id: aaa-aaa-aaa
24967+
- metadata:
24968+
git:
24969+
commitSha: commitSha
24970+
branch: branch
24971+
ci:
24972+
pipeline:
24973+
url: url
24974+
provider:
24975+
name: name
24976+
public_id: aaa-aaa-aaa
24977+
properties:
24978+
tests:
24979+
description: Individual synthetics test.
24980+
items:
24981+
$ref: '#/components/schemas/SyntheticsTriggerTest'
24982+
type: array
24983+
required:
24984+
- tests
24985+
type: object
2492324986
SyntheticsTriggerCITestLocation:
2492424987
description: Synthetics location.
2492524988
example:
@@ -24997,6 +25060,29 @@ components:
2499725060
type: string
2499825061
type: array
2499925062
type: object
25063+
SyntheticsTriggerTest:
25064+
description: Test configuration for Synthetics
25065+
example:
25066+
metadata:
25067+
git:
25068+
commitSha: commitSha
25069+
branch: branch
25070+
ci:
25071+
pipeline:
25072+
url: url
25073+
provider:
25074+
name: name
25075+
public_id: aaa-aaa-aaa
25076+
properties:
25077+
metadata:
25078+
$ref: '#/components/schemas/SyntheticsCIBatchMetadata'
25079+
public_id:
25080+
description: The public ID of the Synthetics test to trigger.
25081+
example: aaa-aaa-aaa
25082+
type: string
25083+
required:
25084+
- public_id
25085+
type: object
2500025086
SyntheticsUpdateTestPauseStatusPayload:
2500125087
description: Object to start or pause an existing Synthetic test.
2500225088
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)