mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +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
|
router
|
||||||
.at("/")
|
.at("/")
|
||||||
.get(index::get_index_schema)
|
.get(index::get_index)
|
||||||
.put(index::update_schema)
|
|
||||||
.delete(index::delete_index);
|
.delete(index::delete_index);
|
||||||
|
|
||||||
|
router
|
||||||
|
.at("/schema")
|
||||||
|
.get(index::get_index_schema)
|
||||||
|
.put(index::update_schema);
|
||||||
|
|
||||||
router.at("/documents").nest(|router| {
|
router.at("/documents").nest(|router| {
|
||||||
router
|
router
|
||||||
.at("/")
|
.at("/")
|
||||||
|
Loading…
Reference in New Issue
Block a user