oxen-server 0.50.7

Oxen is a fast, unstructured data version control, to help version large machine learning datasets written in Rust.
use actix_web::Scope;
use actix_web::web;

use crate::controllers;

pub fn embeddings() -> Scope {
    web::scope("/embeddings")
        .route(
            "/columns/{path:.*}",
            web::get().to(controllers::workspaces::data_frames::embeddings::get),
        )
        .route(
            "/columns/{path:.*}",
            web::post().to(controllers::workspaces::data_frames::embeddings::post),
        )
        .route(
            "/neighbors/{path:.*}",
            web::post().to(controllers::workspaces::data_frames::embeddings::neighbors),
        )
}