Files
molly-multi-tenant/server/REST API/ESAPI.http
Wang Chen Chen 0b8f64853a 添加 ES
2023-04-26 18:39:40 +08:00

52 lines
817 B
HTTP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
###
GET {{esUrl}}/_cat/indices?v
Content-Type: application/json
###
GET {{esUrl}}/_cat/indices/master_*?v&s=docs.count:desc
Content-Type: application/json
###
GET {{esUrl}}/google_dms_device_log
Content-Type: application/json
###
DELETE {{esUrl}}/master_lms_login_log
Content-Type: application/json
###
POST {{esUrl}}/_template/default_template
Content-Type: application/json
{
"index_patterns": [
"*"
],
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
}
}
###
GET {{esUrl}}/google_lms_oper_log/_search
Content-Type: application/json
{
"query": {
"match_all": {}
},
"sort": [
{
"createTime": {
"order": "desc"
}
}
]
}