From 33f7c709a7338dfbc80e1589269a1a97bc1fba24 Mon Sep 17 00:00:00 2001 From: silverpill Date: Sun, 14 Nov 2021 20:09:46 +0000 Subject: [PATCH] Update README.md --- README.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b1efe57..700ca28 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,30 @@ cargo test cargo build --release ``` -## API +## Federation + +The following activities are supported: + +- Accept(Follow) +- Reject(Follow) +- Create(Note) +- Delete(Tombstone) +- Like(Note) +- Follow(Person) +- Undo(Follow) +- Update(Person) + +And these additional standards: + +- [Http Signatures](https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures) +- [NodeInfo](https://nodeinfo.diaspora.software/) +- [WebFinger](https://webfinger.net/) + +## Client API ### Mastodon API -Endpoints are similar to Mastodon API: +Most methods are similar to Mastodon API: ``` POST /api/v1/accounts @@ -101,7 +120,7 @@ POST /api/v1/statuses/{status_id}/unfavourite GET /api/v1/timelines/home ``` -Extra APIs: +Additional methods: ``` POST /api/v1/statuses/{status_id}/make_permanent