File tree 3 files changed +19
-6
lines changed
3 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,14 @@ components:
75
75
" packets " : 6
76
76
}
77
77
}
78
+ createMeasurementPingLocationsMeasurementId :
79
+ summary : ' ping: previous measurement id'
80
+ value :
81
+ {
82
+ " type " : " ping" ,
83
+ " target " : " cdn.jsdelivr.net" ,
84
+ " locations " : " 1wzMrzLBZfaPoT1c"
85
+ }
78
86
createMeasurementResponse :
79
87
value :
80
88
{
Original file line number Diff line number Diff line change @@ -76,12 +76,14 @@ components:
76
76
maximum : 200
77
77
default : 1
78
78
MeasurementLocations :
79
- type : array
80
- description : |
81
- An array of locations from which to run the measurement.
82
- Each object specifies a location using one or multiple keys.
83
- items :
84
- $ref : ' schemas.yaml#/components/schemas/MeasurementLocationOption'
79
+ oneOf :
80
+ - type : array
81
+ description : |
82
+ An array of locations from which to run the measurement. Each object specifies a location using one or multiple keys.
83
+ items :
84
+ $ref : ' schemas.yaml#/components/schemas/MeasurementLocationOption'
85
+ - type : string
86
+ description : Id of a previous measurement. Probes of that measurement in the same order are used to create a new measurement. Only probes are copied, measurement type and options may be any and should still be specified in request.
85
87
MeasurementOptions :
86
88
anyOf :
87
89
- $ref : ' schemas.yaml#/components/schemas/MeasurementPingOptions'
Original file line number Diff line number Diff line change 47
47
48
48
- Set the `inProgressUpdates` option to `true` if the application is running in interactive mode so that the user sees the results right away.
49
49
- If the application is interactive by default but also implements a "CI" mode to be used in scripts, do not set the flag in the CI mode.
50
+ - To use the same probes in different measurements pass id of the first measurement to the `locations` option.
50
51
requestBody :
51
52
content :
52
53
application/json :
61
62
$ref : ' components/examples.yaml#/components/examples/createMeasurementPingLocationsMagic'
62
63
pingCustom :
63
64
$ref : ' components/examples.yaml#/components/examples/createMeasurementPingCustom'
65
+ pingLocationsMeasurementId :
66
+ $ref : ' components/examples.yaml#/components/examples/createMeasurementPingLocationsMeasurementId'
64
67
responses :
65
68
' 202 ' :
66
69
$ref : ' components/responses.yaml#/components/responses/measurements202'
You can’t perform that action at this time.
0 commit comments