From 89a3c607e893439adb0c17b799798165159cb1da Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Fri, 14 Nov 2025 04:08:39 +0000 Subject: [PATCH] Update rest-api-spec --- specification/_json_spec/ml.flush_job.json | 8 ++++---- specification/_json_spec/ml.get_buckets.json | 4 ++-- specification/_json_spec/ml.get_calendar_events.json | 2 +- specification/_json_spec/ml.get_influencers.json | 4 ++-- specification/_json_spec/ml.get_overall_buckets.json | 4 ++-- specification/_json_spec/ml.get_records.json | 4 ++-- specification/_json_spec/ml.post_data.json | 4 ++-- specification/_json_spec/ml.preview_datafeed.json | 4 ++-- specification/_json_spec/ml.start_datafeed.json | 4 ++-- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/specification/_json_spec/ml.flush_job.json b/specification/_json_spec/ml.flush_job.json index 4b52e4a7cb..b8af126810 100644 --- a/specification/_json_spec/ml.flush_job.json +++ b/specification/_json_spec/ml.flush_job.json @@ -30,19 +30,19 @@ "description": "Calculates interim results for the most recent bucket or all buckets within the latency period" }, "start": { - "type": "string", + "type": "date", "description": "When used in conjunction with calc_interim, specifies the range of buckets on which to calculate interim results" }, "end": { - "type": "string", + "type": "date", "description": "When used in conjunction with calc_interim, specifies the range of buckets on which to calculate interim results" }, "advance_time": { - "type": "string", + "type": "date", "description": "Advances time to the given value generating results and updating the model for the advanced interval" }, "skip_time": { - "type": "string", + "type": "date", "description": "Skips time to the given value without generating results or updating the model for the skipped interval" } }, diff --git a/specification/_json_spec/ml.get_buckets.json b/specification/_json_spec/ml.get_buckets.json index f5b2fbd52f..673a0b5f1e 100644 --- a/specification/_json_spec/ml.get_buckets.json +++ b/specification/_json_spec/ml.get_buckets.json @@ -60,12 +60,12 @@ "description": "specifies a max number of buckets to get" }, "start": { - "type": "string", + "type": "date", "default": "-1", "description": "Start time filter for buckets" }, "end": { - "type": "string", + "type": "date", "default": "-1", "description": "End time filter for buckets" }, diff --git a/specification/_json_spec/ml.get_calendar_events.json b/specification/_json_spec/ml.get_calendar_events.json index 59219a8466..6f5ef2a538 100644 --- a/specification/_json_spec/ml.get_calendar_events.json +++ b/specification/_json_spec/ml.get_calendar_events.json @@ -29,7 +29,7 @@ "description": "Get events for the job. When this option is used calendar_id must be '_all'" }, "start": { - "type": "string", + "type": "date", "description": "Get events after this time" }, "end": { diff --git a/specification/_json_spec/ml.get_influencers.json b/specification/_json_spec/ml.get_influencers.json index a0750c3379..8fc0066462 100644 --- a/specification/_json_spec/ml.get_influencers.json +++ b/specification/_json_spec/ml.get_influencers.json @@ -41,12 +41,12 @@ "description": "specifies a max number of influencers to get" }, "start": { - "type": "string", + "type": "date", "default": "-1", "description": "start timestamp for the requested influencers" }, "end": { - "type": "string", + "type": "date", "default": "-1", "description": "end timestamp for the requested influencers" }, diff --git a/specification/_json_spec/ml.get_overall_buckets.json b/specification/_json_spec/ml.get_overall_buckets.json index 94f93aead2..a6cdc0fd36 100644 --- a/specification/_json_spec/ml.get_overall_buckets.json +++ b/specification/_json_spec/ml.get_overall_buckets.json @@ -44,11 +44,11 @@ "description": "If true overall buckets that include interim buckets will be excluded" }, "start": { - "type": "string", + "type": "date", "description": "Returns overall buckets with timestamps after this time" }, "end": { - "type": "string", + "type": "date", "description": "Returns overall buckets with timestamps earlier than this time" }, "allow_no_match": { diff --git a/specification/_json_spec/ml.get_records.json b/specification/_json_spec/ml.get_records.json index 41c176efab..3bc24b684a 100644 --- a/specification/_json_spec/ml.get_records.json +++ b/specification/_json_spec/ml.get_records.json @@ -41,12 +41,12 @@ "description": "specifies a max number of records to get" }, "start": { - "type": "string", + "type": "date", "default": "-1", "description": "Start time filter for records" }, "end": { - "type": "string", + "type": "date", "default": "-1", "description": "End time filter for records" }, diff --git a/specification/_json_spec/ml.post_data.json b/specification/_json_spec/ml.post_data.json index 78dea90d28..be7ec1df8f 100644 --- a/specification/_json_spec/ml.post_data.json +++ b/specification/_json_spec/ml.post_data.json @@ -26,11 +26,11 @@ }, "params": { "reset_start": { - "type": "string", + "type": "date", "description": "Optional parameter to specify the start of the bucket resetting range" }, "reset_end": { - "type": "string", + "type": "date", "description": "Optional parameter to specify the end of the bucket resetting range" } }, diff --git a/specification/_json_spec/ml.preview_datafeed.json b/specification/_json_spec/ml.preview_datafeed.json index ab56407fc2..4572f2dd27 100644 --- a/specification/_json_spec/ml.preview_datafeed.json +++ b/specification/_json_spec/ml.preview_datafeed.json @@ -30,11 +30,11 @@ }, "params": { "start": { - "type": "string", + "type": "date", "description": "The start time from where the datafeed preview should begin" }, "end": { - "type": "string", + "type": "date", "description": "The end time when the datafeed preview should stop" } }, diff --git a/specification/_json_spec/ml.start_datafeed.json b/specification/_json_spec/ml.start_datafeed.json index 3762132513..4f49f71d9a 100644 --- a/specification/_json_spec/ml.start_datafeed.json +++ b/specification/_json_spec/ml.start_datafeed.json @@ -26,11 +26,11 @@ }, "params": { "start": { - "type": "string", + "type": "date", "description": "The start time from where the datafeed should begin" }, "end": { - "type": "string", + "type": "date", "description": "The end time when the datafeed should stop. When not set, the datafeed continues in real time" }, "timeout": {