- HTTP Method: PUT
- URL Address:
- Insert: elastic/insert
- Update: elastic/update
- Input Body:
{
"database": "iran",
"table": "application",
"key": "123",
"fields": {
"key": "value"
}
}
- HTTP Method: GET
- URL Format: elastic/select/database/table/Key
- HTTP Method: DELETE
- URL Format: elastic/deletedocument/database/table/Key
- HTTP Method: GET
- URL Format: elastic/search/database/table/offset/limit/?word
- HTTP Method: PUT
- URL Format: elastic/import
- Input Body:
[
{
"key1": "value1",
"key2": "value2"
},
{
"key1": "value1",
"key2": "value2"
}
]
- http method : DELETE
- URL : elastic/deletedatabase/database
- http method : GET
- URL : elastic/reset
- http method : GET
- URL : elastic/currentdb