mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-02 09:35:45 +01:00
Update the /indexes/{indexUid} verb from PUT to PATCH
This commit is contained in:
parent
7e3d5ebc8e
commit
bb405aa729
@ -27,7 +27,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
|
|||||||
.service(
|
.service(
|
||||||
web::resource("")
|
web::resource("")
|
||||||
.route(web::get().to(SeqHandler(get_index)))
|
.route(web::get().to(SeqHandler(get_index)))
|
||||||
.route(web::put().to(SeqHandler(update_index)))
|
.route(web::patch().to(SeqHandler(update_index)))
|
||||||
.route(web::delete().to(SeqHandler(delete_index))),
|
.route(web::delete().to(SeqHandler(delete_index))),
|
||||||
)
|
)
|
||||||
.service(web::resource("/stats").route(web::get().to(SeqHandler(get_index_stats))))
|
.service(web::resource("/stats").route(web::get().to(SeqHandler(get_index_stats))))
|
||||||
|
Loading…
Reference in New Issue
Block a user