Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

341 B
Raw Blame
use crate::api::context::ApiContext;
use axum::Router;
use axum::routing::{delete, get};

pub(crate) mod list;
pub(crate) mod remove;
pub(crate) mod upsert;

pub fn router() -> Router<ApiContext> {
    Router::new().route("/", get(list::handler)).route(
        "/{message_id}",
        delete(remove::handler).put(upsert::handler),
    )
}