Updated API (markdown)

Eugen
2016-12-29 20:44:13 +01:00
parent 4ba8116e23
commit c9bf2baeb1

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**