-
Notifications
You must be signed in to change notification settings - Fork 0
API Doc: Check Friendship Access
Carson McLean edited this page Nov 30, 2016
·
4 revisions
With HTTP GET it is used to checked whether {authorid1} and {authorid2} are friends.
It returns a JSON object that contains the query, the specified authors, and a boolean of whether the authors are friends.
GET /api/friends/de305d54-75b4-431b-adb2-eb6b9e546013/ae345d54-75b4-431b-adb2-fb6b9e547891 HTTP/1.1
Header: Value
200 Ok ...
{ "query":"friends",
"authors":[
"de305d54-75b4-431b-adb2-eb6b9e546013",
"ae345d54-75b4-431b-adb2-fb6b9e547891"
],
"friends": true
}