From a5454af7a3d18c6773a42e563cbc86c9119a7d26 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 15 Apr 2024 01:56:54 +0200 Subject: [PATCH] chore: skeleton routes for likes&co and context --- src/routes/activitypub/mod.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/routes/activitypub/mod.rs b/src/routes/activitypub/mod.rs index 680660d2..995cefcf 100644 --- a/src/routes/activitypub/mod.rs +++ b/src/routes/activitypub/mod.rs @@ -49,9 +49,19 @@ impl ActivityPubRouter for Router { .route("/users/:id/followers/page", get(ap::user::following::page::)) .route("/users/:id/following", get(ap::user::following::get::)) .route("/users/:id/following/page", get(ap::user::following::page::)) - // specific object routes + // activities .route("/activities/:id", get(ap::activity::view)) + // context + //.route("/context/:id", get(ap::context::get)) + //.route("/context/:id/page", get(ap::context::page)) + // specific object routes .route("/objects/:id", get(ap::object::view)) + //.route("/objects/:id/likes", get(ap::object::likes::get)) + //.route("/objects/:id/likes/page", get(ap::object::likes::page)) + //.route("/objects/:id/announces", get(ap::object::announces::get)) + //.route("/objects/:id/announces/page", get(ap::object::announces::page)) + //.route("/objects/:id/replies", get(ap::object::replies::get)) + //.route("/objects/:id/replies/page", get(ap::object::replies::page)) } }