From 79d3333c6d5d85c3b00fa192bd8b846f51fee803 Mon Sep 17 00:00:00 2001 From: Quentin Calvez Date: Sun, 14 Oct 2012 22:30:39 +0200 Subject: [PATCH] Fixed some details on the App-Server doc page. * The URL parameters for the pagination of the followings were at the wrong location. * The formating was inconsistent between some of the paragraphs. --- content/docs/app-server.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/content/docs/app-server.md b/content/docs/app-server.md index cccaf5d..28532f1 100644 --- a/content/docs/app-server.md +++ b/content/docs/app-server.md @@ -26,6 +26,13 @@ Apps can tell a server to follow another entity. {create_following example} + +### GET /followings + +Apps can also retrieve a list of the entities currently being followed. + +{get_followings example} + #### URL Parameters GET parameters can be used to filter and paginate the returned followings. @@ -36,12 +43,6 @@ GET parameters can be used to filter and paginate the returned followings. | `since_id` | Followings since a specific entity identifier. | | `limit` | The number of followings to return (defaults to the maximum of 50). | -### GET /followings - -Apps can also retrieve a list of the entities currently being followed. - -{get_followings example} - ### GET /followings/:id @@ -73,6 +74,7 @@ GET parameters can be used to filter and paginate the returned followers. | `since_id` | Followers since a specific entity identifier. | | `limit` | The number of followers to return (defaults to the maximum of 50). | + ### GET /followers/:id Apps can request information on a specific follower. @@ -87,12 +89,14 @@ the follower of the user's new posts. The follower will still be able to get th {delete_follower example} + ### POST /posts Apps can create posts by sending them to the server. The server will then send notifications to any entities with permission to see the post and who either requested the post type in their following request or who were mentioned in the post. {create_post example} + ### GET /posts Apps can retrieve posts. If the request is not authenticated this will return the user's own public posts. @@ -125,6 +129,7 @@ Apps can retrieve a specific post. {get_post example} + ### Post Attachments Apps can create a new post with an attachment and send both to the server. Files and binary data are usually transferred as attachments to posts.