mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Introduce a new add or update documents PUT route
This commit is contained in:
parent
69832e8c70
commit
df066f4321
2 changed files with 16 additions and 3 deletions
|
@ -37,7 +37,8 @@ pub fn load_routes(app: &mut tide::App<Data>) {
|
|||
router
|
||||
.at("/")
|
||||
.get(document::browse_documents)
|
||||
.post(document::add_or_update_multiple_documents)
|
||||
.post(document::add_or_replace_multiple_documents)
|
||||
.put(document::add_or_update_multiple_documents)
|
||||
.delete(document::clear_all_documents);
|
||||
|
||||
router.at("/:identifier").nest(|router| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue