mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-08 17:26:27 -05:00
Updated API (markdown)
25
API.md
25
API.md
@@ -1,3 +1,20 @@
|
||||
# Contents
|
||||
|
||||
- Available libraries
|
||||
- Notes
|
||||
- Methods
|
||||
- Posting a status
|
||||
- Uploading media
|
||||
- Retrieving a timeline
|
||||
- Retrieving notifications
|
||||
- Following a remote user
|
||||
- Fetching data
|
||||
- Creating OAuth apps
|
||||
- Entities
|
||||
- Status
|
||||
- Account
|
||||
- Pagination
|
||||
|
||||
# Available libraries
|
||||
|
||||
- [For Ruby](https://github.com/Gargron/mastodon-api)
|
||||
@@ -105,6 +122,14 @@ Query parameters:
|
||||
- `q`: what to search for
|
||||
- `limit`: maximum number of matching accounts to return
|
||||
|
||||
**GET /api/v1/blocks**
|
||||
|
||||
Returns accounts blocked by authenticated user.
|
||||
|
||||
**GET /api/v1/favourites**
|
||||
|
||||
Returns statuses favourited by authenticated user.
|
||||
|
||||
## Deleting a status
|
||||
|
||||
**DELETE /api/v1/statuses/:id**
|
||||
|
||||
Reference in New Issue
Block a user