4.9 KiB
4.9 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.
Clients
Supported mobile apps:
- Tusky
- Husky
- twitlatte
- AndStatus
- Twidere
Unsupported mobile apps:
- Subway Tooter Uses the wrong grant_type when requesting a token, possibly a problem in the server type detection of the app. See issue https://github.com/tateisu/SubwayTooter/issues/156
- Mammut States that the instance doesn't exist. Most likely an issue in the vitality check of the app, see issue https://github.com/jamiesanson/Mammut/issues/19
- Fedilab Automatically uses the legacy API, see issue: https://framagit.org/tom79/fedilab/-/issues/520
Entities
These endpoints use the Mastodon API entities.
Implemented endpoints
-
- Doesn't return unicode emojis since they aren't using an image URL
-
- 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.