diff options
author | Eugen <eugen@zeonfederated.com> | 2017-03-31 21:25:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 21:25:31 +0200 |
commit | 7ddda65269cd5258deba530cfb4efc3343bb62ae (patch) | |
tree | 63ae7a6530728685e53c20a2d16bb5a3166ef64a /docs/Using-the-API | |
parent | b4046c5957f16437910cdfe1ab45ee818118e7d7 (diff) | |
parent | d835647ec03cedff1ab39b62d974694470fbd102 (diff) |
Merge pull request #706 from alexgleason/patch-3
Put line breaks between API methods in docs
Diffstat (limited to 'docs/Using-the-API')
-rw-r--r-- | docs/Using-the-API/API.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/Using-the-API/API.md b/docs/Using-the-API/API.md index 4db634a60..54de0c0c0 100644 --- a/docs/Using-the-API/API.md +++ b/docs/Using-the-API/API.md @@ -65,8 +65,8 @@ Returns a media object with an ID that can be attached when creating a status (s ### Retrieving a timeline -**GET /api/v1/timelines/home** -**GET /api/v1/timelines/public** +**GET /api/v1/timelines/home** +**GET /api/v1/timelines/public** **GET /api/v1/timelines/tag/:hashtag** Returns statuses, most recent ones first. Home timeline is statuses from people you follow, mentions timeline is all statuses that mention you. Public timeline is "whole known network", and the last is the hashtag timeline. @@ -208,21 +208,21 @@ Returns `ancestors` and `descendants` of the status. ### Who reblogged/favourited a status -**GET /api/v1/statuses/:id/reblogged_by** +**GET /api/v1/statuses/:id/reblogged_by** **GET /api/v1/statuses/:id/favourited_by** Returns list of accounts. ### Following and unfollowing users -**POST /api/v1/accounts/:id/follow** +**POST /api/v1/accounts/:id/follow** **POST /api/v1/accounts/:id/unfollow** Returns the updated relationship to the user. ### Blocking and unblocking users -**POST /api/v1/accounts/:id/block** +**POST /api/v1/accounts/:id/block** **POST /api/v1/accounts/:id/unblock** Returns the updated relationship to the user. @@ -235,7 +235,7 @@ Returns an object containing the `title`, `description`, `email` and `uri` of th # Muting and unmuting users -**POST /api/v1/accounts/:id/mute** +**POST /api/v1/accounts/:id/mute** **POST /api/v1/accounts/:id/unmute** Returns the updated relationship to the user. |