Skip to content

Commit 4d3b72e

Browse files
Update rest-api-spec (#5644)
Co-authored-by: pquentin <[email protected]>
1 parent 29fdfe0 commit 4d3b72e

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

specification/_json_spec/ml.flush_job.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@
3030
"description": "Calculates interim results for the most recent bucket or all buckets within the latency period"
3131
},
3232
"start": {
33-
"type": "string",
33+
"type": "date",
3434
"description": "When used in conjunction with calc_interim, specifies the range of buckets on which to calculate interim results"
3535
},
3636
"end": {
37-
"type": "string",
37+
"type": "date",
3838
"description": "When used in conjunction with calc_interim, specifies the range of buckets on which to calculate interim results"
3939
},
4040
"advance_time": {
41-
"type": "string",
41+
"type": "date",
4242
"description": "Advances time to the given value generating results and updating the model for the advanced interval"
4343
},
4444
"skip_time": {
45-
"type": "string",
45+
"type": "date",
4646
"description": "Skips time to the given value without generating results or updating the model for the skipped interval"
4747
}
4848
},

specification/_json_spec/ml.get_buckets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@
6060
"description": "specifies a max number of buckets to get"
6161
},
6262
"start": {
63-
"type": "string",
63+
"type": "date",
6464
"default": "-1",
6565
"description": "Start time filter for buckets"
6666
},
6767
"end": {
68-
"type": "string",
68+
"type": "date",
6969
"default": "-1",
7070
"description": "End time filter for buckets"
7171
},

specification/_json_spec/ml.get_calendar_events.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"description": "Get events for the job. When this option is used calendar_id must be '_all'"
3030
},
3131
"start": {
32-
"type": "string",
32+
"type": "date",
3333
"description": "Get events after this time"
3434
},
3535
"end": {

specification/_json_spec/ml.get_influencers.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
"description": "specifies a max number of influencers to get"
4242
},
4343
"start": {
44-
"type": "string",
44+
"type": "date",
4545
"default": "-1",
4646
"description": "start timestamp for the requested influencers"
4747
},
4848
"end": {
49-
"type": "string",
49+
"type": "date",
5050
"default": "-1",
5151
"description": "end timestamp for the requested influencers"
5252
},

specification/_json_spec/ml.get_overall_buckets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
"description": "If true overall buckets that include interim buckets will be excluded"
4545
},
4646
"start": {
47-
"type": "string",
47+
"type": "date",
4848
"description": "Returns overall buckets with timestamps after this time"
4949
},
5050
"end": {
51-
"type": "string",
51+
"type": "date",
5252
"description": "Returns overall buckets with timestamps earlier than this time"
5353
},
5454
"allow_no_match": {

specification/_json_spec/ml.get_records.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
"description": "specifies a max number of records to get"
4242
},
4343
"start": {
44-
"type": "string",
44+
"type": "date",
4545
"default": "-1",
4646
"description": "Start time filter for records"
4747
},
4848
"end": {
49-
"type": "string",
49+
"type": "date",
5050
"default": "-1",
5151
"description": "End time filter for records"
5252
},

specification/_json_spec/ml.post_data.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
},
2727
"params": {
2828
"reset_start": {
29-
"type": "string",
29+
"type": "date",
3030
"description": "Optional parameter to specify the start of the bucket resetting range"
3131
},
3232
"reset_end": {
33-
"type": "string",
33+
"type": "date",
3434
"description": "Optional parameter to specify the end of the bucket resetting range"
3535
}
3636
},

specification/_json_spec/ml.preview_datafeed.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
},
3131
"params": {
3232
"start": {
33-
"type": "string",
33+
"type": "date",
3434
"description": "The start time from where the datafeed preview should begin"
3535
},
3636
"end": {
37-
"type": "string",
37+
"type": "date",
3838
"description": "The end time when the datafeed preview should stop"
3939
}
4040
},

specification/_json_spec/ml.start_datafeed.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
},
2727
"params": {
2828
"start": {
29-
"type": "string",
29+
"type": "date",
3030
"description": "The start time from where the datafeed should begin"
3131
},
3232
"end": {
33-
"type": "string",
33+
"type": "date",
3434
"description": "The end time when the datafeed should stop. When not set, the datafeed continues in real time"
3535
},
3636
"timeout": {

0 commit comments

Comments
 (0)