mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Create a new specific route for schema
This commit is contained in:
parent
2b3c91aabd
commit
e6465f4ea1
@ -30,10 +30,14 @@ pub fn load_routes(app: &mut tide::App<Data>) {
|
||||
|
||||
router
|
||||
.at("/")
|
||||
.get(index::get_index_schema)
|
||||
.put(index::update_schema)
|
||||
.get(index::get_index)
|
||||
.delete(index::delete_index);
|
||||
|
||||
router
|
||||
.at("/schema")
|
||||
.get(index::get_index_schema)
|
||||
.put(index::update_schema);
|
||||
|
||||
router.at("/documents").nest(|router| {
|
||||
router
|
||||
.at("/")
|
||||
|
Loading…
Reference in New Issue
Block a user