mirror of
https://github.com/friendica/friendica
synced 2024-11-19 02:23:41 +00:00
1.4 KiB
1.4 KiB
Mastodon API
Overview
Friendica provides the following endpoints defined in the official Mastodon API reference.
Authentication is the same as described in Using the APIs.
Entities
These endpoints use the Mastodon API entities.
Implemented endpoints
-
POST /api/v1/follow_requests/:id/authorize
- Returns a Relationship object.
-
POST /api/v1/follow_requests/:id/reject
- Returns a Relationship object.
-
POST /api/v1/follow_requests/:id/ignore
- Friendica-specific, hides the follow request from the list and prevents the remote contact from retrying.
- Returns a Relationship object.
-
GET /api/v1/instance/peers - undocumented, but implemented by Mastodon and Pleroma