MCPcopy Create free account
hub / github.com/cosdata/cosdata / version_module

Function version_module

src/api/vectordb/versions/mod.rs:8–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6mod service;
7
8pub(crate) fn version_module() -> Scope {
9 web::scope("/collections/{collection_id}/versions")
10 .route("", web::get().to(controller::list_versions))
11 .route("/current", web::get().to(controller::get_current_version))
12 // .route("/current", web::put().to(controller::set_current_version))
13}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected