mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-29 22:43:09 +08: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…
x
Reference in New Issue
Block a user