add missing es doc api path (#170)
Reviewed-on: https://git.infini.ltd:64443/infini/console/pulls/170 Co-authored-by: liugq <silenceqi@hotmail.com> Co-committed-by: liugq <silenceqi@hotmail.com>
This commit is contained in:
parent
7311547c54
commit
4356ac4ddf
|
@ -293,9 +293,15 @@
|
|||
{"name": "doc.update", "methods": ["put"],
|
||||
"path": "/:index_name/:doctype/:doc_id"
|
||||
},
|
||||
{"name": "doc.update", "methods": ["post"],
|
||||
"path": "/:index_name/_update/:doc_id"
|
||||
},
|
||||
{"name": "doc.create", "methods": ["post"],
|
||||
"path": "/:index_name/:doctype"
|
||||
},
|
||||
{"name": "doc.create", "methods": ["post", "put"],
|
||||
"path": "/:index_name/_create/:doc_id"
|
||||
},
|
||||
|
||||
{"name": "doc.delete", "methods": ["delete"],
|
||||
"path": "/:index_name/:doctype/:doc_id"
|
||||
|
@ -303,6 +309,9 @@
|
|||
{"name": "doc.get", "methods": ["get"],
|
||||
"path": "/:index_name/:doctype/:doc_id"
|
||||
},
|
||||
{"name": "doc.get", "methods": ["get"],
|
||||
"path": "/:index_name/_source/:doc_id"
|
||||
},
|
||||
{"name": "doc.exists", "methods": ["head"],
|
||||
"path": "/:index_name/:doctype/:doc_id"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue