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 apps
For supported apps please have a look at the FAQ
Unsupported apps
Android
iOS
- Mast Doesn’t accept the entered instance name. Claims that it is invalid (Message is: “Not a valid instance (may be closed or dead)”)
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
-
:id
is a follow request ID, not a regular account id
-
: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.
GET /api/v1/instance/rules
Undocumented, returns Terms of Service-
- Additionally to the static values
public
,unlisted
andprivate
, thevisibility
parameter can contain a numeric value with a group id.
Currently unimplemented endpoints
These emdpoints are planned to be implemented somewhere in the future.
Dummy endpoints
These endpoints are returning empty data to avoid error messages when using third party clients. They refer to features that don’t exist in Friendica yet.
Non supportable endpoints
These endpoints won’t be implemented at the moment. They refer to features or data that don’t exist in Friendica yet.
POST /api/meta
Misskey API endpoint.