mirror of
https://github.com/friendica/friendica
synced 2024-11-18 19:43:46 +00:00
80cb097c13
- Change endpoint label style to monospace - Explicit expected IDs for follow_requests endpoints - Add official documentation link for api/v1/instance/peers - Add unimplemented endpoint api/v1/instance/activity
1.6 KiB
1.6 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
-
- Returned IDs are specific to follow requests
-
POST /api/v1/follow_requests/:id/authorize
:id
is a follow request ID, not a regular account id
-
POST /api/v1/follow_requests/:id/reject
:id
is a follow request ID, not a regular account id
-
POST /api/v1/follow_requests/:id/ignore
- Friendica-specific, hides the follow request from the list and prevents the remote contact from retrying.
:id
is a follow request ID, not a regular account id- Returns a Relationship object.