Skip to content

Commit 835533e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove steps from certain expected synthetics api response (#33656)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 7fa17de commit 835533e

File tree

2 files changed

+57
-53
lines changed

2 files changed

+57
-53
lines changed

content/en/api/v1/synthetics/examples.json

Lines changed: 8 additions & 50 deletions
Large diffs are not rendered by default.

data/api/v1/full_spec.yaml

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16818,7 +16818,7 @@ components:
1681816818
tests:
1681916819
description: Array of Synthetic tests configuration.
1682016820
items:
16821-
$ref: '#/components/schemas/SyntheticsTestDetails'
16821+
$ref: '#/components/schemas/SyntheticsTestDetailsWithoutSteps'
1682216822
type: array
1682316823
type: object
1682416824
SyntheticsLocalVariableParsingOptionsType:
@@ -17849,7 +17849,7 @@ components:
1784917849
status:
1785017850
$ref: '#/components/schemas/SyntheticsTestPauseStatus'
1785117851
steps:
17852-
description: For browser test, the steps of the test.
17852+
description: The steps of the test if they exist.
1785317853
items:
1785417854
$ref: '#/components/schemas/SyntheticsStep'
1785517855
type: array
@@ -17901,6 +17901,52 @@ components:
1790117901
- API
1790217902
- BROWSER
1790317903
- MOBILE
17904+
SyntheticsTestDetailsWithoutSteps:
17905+
description: Object containing details about your Synthetic test, without test
17906+
steps.
17907+
properties:
17908+
config:
17909+
$ref: '#/components/schemas/SyntheticsTestConfig'
17910+
creator:
17911+
$ref: '#/components/schemas/Creator'
17912+
locations:
17913+
description: Array of locations used to run the test.
17914+
example:
17915+
- aws:eu-west-3
17916+
items:
17917+
description: A location from which the test was run.
17918+
type: string
17919+
type: array
17920+
message:
17921+
description: Notification message associated with the test.
17922+
type: string
17923+
monitor_id:
17924+
description: The associated monitor ID.
17925+
format: int64
17926+
readOnly: true
17927+
type: integer
17928+
name:
17929+
description: Name of the test.
17930+
type: string
17931+
options:
17932+
$ref: '#/components/schemas/SyntheticsTestOptions'
17933+
public_id:
17934+
description: The test public ID.
17935+
readOnly: true
17936+
type: string
17937+
status:
17938+
$ref: '#/components/schemas/SyntheticsTestPauseStatus'
17939+
subtype:
17940+
$ref: '#/components/schemas/SyntheticsTestDetailsSubType'
17941+
tags:
17942+
description: Array of tags attached to the test.
17943+
items:
17944+
description: A tag attached to the test.
17945+
type: string
17946+
type: array
17947+
type:
17948+
$ref: '#/components/schemas/SyntheticsTestDetailsType'
17949+
type: object
1790417950
SyntheticsTestExecutionRule:
1790517951
description: Execution rule for a Synthetic test.
1790617952
enum:
@@ -36335,7 +36381,7 @@ paths:
3633536381
content:
3633636382
application/json:
3633736383
schema:
36338-
$ref: '#/components/schemas/SyntheticsTestDetails'
36384+
$ref: '#/components/schemas/SyntheticsTestDetailsWithoutSteps'
3633936385
description: OK
3634036386
'403':
3634136387
content:

0 commit comments

Comments
 (0)