Skip to content

Commit bd5cfd6

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit dd9ce0c of spec repo
1 parent 0656135 commit bd5cfd6

File tree

13 files changed

+695
-4
lines changed

13 files changed

+695
-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-10-28 15:04:17.108642",
8-
"spec_repo_commit": "f510509"
7+
"regenerated": "2021-11-02 09:29:41.802815",
8+
"spec_repo_commit": "dd9ce0c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-10-28 15:04:17.124268",
13-
"spec_repo_commit": "f510509"
12+
"regenerated": "2021-11-02 09:29:41.820633",
13+
"spec_repo_commit": "dd9ce0c"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11089,6 +11089,25 @@ components:
1108911089
type: string
1109011090
type: array
1109111091
type: object
11092+
SyntheticsTriggerPublicIdentifiers:
11093+
description: A list of identifiers of Synthetics tests to trigger.
11094+
properties:
11095+
tests:
11096+
description: An array of IDs of Synthetics tests to trigger.
11097+
example: []
11098+
items:
11099+
description: The ID of a Synthetics test to trigger.
11100+
example: abc-def-123
11101+
type: string
11102+
type: array
11103+
type: object
11104+
SyntheticsTriggerTestBody:
11105+
description: Either an object describing the Synthetics tests to trigger, or
11106+
a list of Synthetics test IDs.
11107+
oneOf:
11108+
- $ref: '#/components/schemas/SyntheticsTriggerPublicIdentifiers'
11109+
- $ref: '#/components/schemas/SyntheticsCITestBody'
11110+
type: object
1109211111
SyntheticsUpdateTestPauseStatusPayload:
1109311112
description: Object to start or pause an existing Synthetic test.
1109411113
properties:
@@ -22388,6 +22407,36 @@ paths:
2238822407
x-menu-order: 14
2238922408
x-undo:
2239022409
type: idempotent
22410+
/api/v1/synthetics/tests/trigger:
22411+
post:
22412+
description: Trigger a set of Synthetics tests.
22413+
operationId: TriggerTests
22414+
requestBody:
22415+
content:
22416+
application/json:
22417+
schema:
22418+
$ref: '#/components/schemas/SyntheticsTriggerTestBody'
22419+
description: The identifiers of the tests to trigger.
22420+
required: true
22421+
responses:
22422+
'200':
22423+
content:
22424+
application/json:
22425+
schema:
22426+
$ref: '#/components/schemas/SyntheticsTriggerCITestsResponse'
22427+
description: OK
22428+
'400':
22429+
content:
22430+
application/json:
22431+
schema:
22432+
$ref: '#/components/schemas/APIErrorResponse'
22433+
description: Bad Request
22434+
summary: Trigger some Synthetics tests
22435+
tags:
22436+
- Synthetics
22437+
x-codegen-request-body-name: body
22438+
x-undo:
22439+
type: safe
2239122440
/api/v1/synthetics/tests/trigger/ci:
2239222441
post:
2239322442
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
@@ -533,6 +533,8 @@ docs/SyntheticsTiming.md
533533
docs/SyntheticsTriggerCITestLocation.md
534534
docs/SyntheticsTriggerCITestRunResult.md
535535
docs/SyntheticsTriggerCITestsResponse.md
536+
docs/SyntheticsTriggerPublicIdentifiers.md
537+
docs/SyntheticsTriggerTestBody.md
536538
docs/SyntheticsUpdateTestPauseStatusPayload.md
537539
docs/SyntheticsVariableParser.md
538540
docs/SyntheticsWarningType.md
@@ -1175,6 +1177,8 @@ model_synthetics_timing.go
11751177
model_synthetics_trigger_ci_test_location.go
11761178
model_synthetics_trigger_ci_test_run_result.go
11771179
model_synthetics_trigger_ci_tests_response.go
1180+
model_synthetics_trigger_public_identifiers.go
1181+
model_synthetics_trigger_test_body.go
11781182
model_synthetics_update_test_pause_status_payload.go
11791183
model_synthetics_variable_parser.go
11801184
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,6 +761,8 @@ Class | Method | HTTP request | Description
760761
- [SyntheticsTriggerCITestLocation](docs/SyntheticsTriggerCITestLocation.md)
761762
- [SyntheticsTriggerCITestRunResult](docs/SyntheticsTriggerCITestRunResult.md)
762763
- [SyntheticsTriggerCITestsResponse](docs/SyntheticsTriggerCITestsResponse.md)
764+
- [SyntheticsTriggerPublicIdentifiers](docs/SyntheticsTriggerPublicIdentifiers.md)
765+
- [SyntheticsTriggerTestBody](docs/SyntheticsTriggerTestBody.md)
763766
- [SyntheticsUpdateTestPauseStatusPayload](docs/SyntheticsUpdateTestPauseStatusPayload.md)
764767
- [SyntheticsVariableParser](docs/SyntheticsVariableParser.md)
765768
- [SyntheticsWarningType](docs/SyntheticsWarningType.md)

api/v1/datadog/api/openapi.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7953,6 +7953,36 @@ paths:
79537953
x-menu-order: 14
79547954
x-undo:
79557955
type: idempotent
7956+
/api/v1/synthetics/tests/trigger:
7957+
post:
7958+
description: Trigger a set of Synthetics tests.
7959+
operationId: TriggerTests
7960+
requestBody:
7961+
content:
7962+
application/json:
7963+
schema:
7964+
$ref: '#/components/schemas/SyntheticsTriggerTestBody'
7965+
description: The identifiers of the tests to trigger.
7966+
required: true
7967+
responses:
7968+
"200":
7969+
content:
7970+
application/json:
7971+
schema:
7972+
$ref: '#/components/schemas/SyntheticsTriggerCITestsResponse'
7973+
description: OK
7974+
"400":
7975+
content:
7976+
application/json:
7977+
schema:
7978+
$ref: '#/components/schemas/APIErrorResponse'
7979+
description: Bad Request
7980+
summary: Trigger some Synthetics tests
7981+
tags:
7982+
- Synthetics
7983+
x-codegen-request-body-name: body
7984+
x-undo:
7985+
type: safe
79567986
/api/v1/synthetics/tests/trigger/ci:
79577987
post:
79587988
description: Trigger a set of Synthetics tests for continuous integration.
@@ -24964,6 +24994,25 @@ components:
2496424994
type: string
2496524995
type: array
2496624996
type: object
24997+
SyntheticsTriggerPublicIdentifiers:
24998+
description: A list of identifiers of Synthetics tests to trigger.
24999+
properties:
25000+
tests:
25001+
description: An array of IDs of Synthetics tests to trigger.
25002+
example: []
25003+
items:
25004+
description: The ID of a Synthetics test to trigger.
25005+
example: abc-def-123
25006+
type: string
25007+
type: array
25008+
type: object
25009+
SyntheticsTriggerTestBody:
25010+
description: Either an object describing the Synthetics tests to trigger, or
25011+
a list of Synthetics test IDs.
25012+
oneOf:
25013+
- $ref: '#/components/schemas/SyntheticsTriggerPublicIdentifiers'
25014+
- $ref: '#/components/schemas/SyntheticsCITestBody'
25015+
type: object
2496725016
SyntheticsUpdateTestPauseStatusPayload:
2496825017
description: Object to start or pause an existing Synthetic test.
2496925018
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)