Skip to content

API Doc: Friends List Access

Carson McLean edited this page Nov 30, 2016 · 5 revisions

GET /api/friends/{authorid}

With HTTP GET it is used to get a list of friends to the specified {authorid}.

It returns a JSON object that contains the query and the list of author friends.

Here is an example of a response that contains 2 author friends:
GET /api/friends/eh305354-25b4-430b-a1b2-eb6c8e546a22 HTTP/1.1
Header: Value

200 Ok ...

{
	"query":"friends",
	# Array of Author UUIDs
	"authors":[
		"de305d54-75b4-431b-adb2-eb6b9e546013",
		"ae345d54-75b4-431b-adb2-fb6b9e547891"
	]
}

Clone this wiki locally