From e458c6b7620d6c2031d8e34968c45aaa61bc7632 Mon Sep 17 00:00:00 2001 From: Stuart Cam Date: Wed, 20 Dec 2017 10:43:21 +1100 Subject: [PATCH] timestamp and ttl in index requests (#27888) timestamp and ttl are not accepted anymore as parameters of index/update requests. --- .../src/main/resources/rest-api-spec/api/create.json | 8 -------- .../src/main/resources/rest-api-spec/api/index.json | 8 -------- .../src/main/resources/rest-api-spec/api/update.json | 8 -------- 3 files changed, 24 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json index 31c9d51f673..9b4e09a174a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json @@ -44,14 +44,6 @@ "type" : "time", "description" : "Explicit operation timeout" }, - "timestamp": { - "type" : "time", - "description" : "Explicit timestamp for the document" - }, - "ttl": { - "type" : "time", - "description" : "Expiration time for the document" - }, "version" : { "type" : "number", "description" : "Explicit version number for concurrency control" diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json index 814a53c1141..a58598b3bb3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json @@ -49,14 +49,6 @@ "type" : "time", "description" : "Explicit operation timeout" }, - "timestamp": { - "type" : "time", - "description" : "Explicit timestamp for the document" - }, - "ttl": { - "type" : "time", - "description" : "Expiration time for the document" - }, "version" : { "type" : "number", "description" : "Explicit version number for concurrency control" diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json index 97725917e1e..5e1dcf72e95 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json @@ -68,14 +68,6 @@ "type": "time", "description": "Explicit operation timeout" }, - "timestamp": { - "type": "time", - "description": "Explicit timestamp for the document" - }, - "ttl": { - "type": "time", - "description": "Expiration time for the document" - }, "version": { "type": "number", "description": "Explicit version number for concurrency control"