On Tue, Feb 08, 2022 at 09:39:14AM +0800, Wei Jihui wrote:
On Mon, Feb 07, 2022 at 11:22:13AM +0800, Lu Weitao wrote:
Signed-off-by: Lu Weitao luweitaobe@163.com
container/data-api/data-api | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/container/data-api/data-api b/container/data-api/data-api index 2bd6e527..c1c8af8f 100755 --- a/container/data-api/data-api +++ b/container/data-api/data-api @@ -17,7 +17,7 @@ set :environment, :production
# POST # eg1: -# curl -X POST localhost:10005/es_find -H 'Content-Type: application/json' -d '{ +# curl -X POST localhost:10005/data_api/es_find -H 'Content-Type: application/json' -d '{
we will define new api name for data_api.
ok
--------- Thanks, Lu Weitao
Thanks, Jihui
# "query": {"size":10, "sort": [{"start_time": {"order": "desc"}}]}, # "index": "jobs", # "my_token": "16132550-...", @@ -25,7 +25,7 @@ set :environment, :production # "query_type": "eql" # can be omitted in this scenario # }' # eg2: -# curl -X POST localhost:10005/es_find -H 'Content-Type: application/json' -d '{ +# curl -X POST localhost:10005/data_api/es_find -H 'Content-Type: application/json' -d '{ # "query": "SELECT * FROM jobs WHERE ...", # "index": "jobs",
# "my_token": "16132550-...",
2.23.0