forked from abramhindle/CMPUT404-project-socialdistribution
-
Notifications
You must be signed in to change notification settings - Fork 1
Follower API
Fraser Redford edited this page Apr 15, 2021
·
13 revisions
This will return a list of authors that follow the author specified in the URL.
No Body Required
{
"type": "followers",
"items": [
{
"type": "author",
"id": "https://team6-project-socialdistrib.herokuapp.com/author/21d2d52bf3c34b84a45951d53b472a08",
"host": "https://team6-project-socialdistrib.herokuapp.com/",
"displayName": "Jeff",
"url": "https://team6-project-socialdistrib.herokuapp.com/author/21d2d52bf3c34b84a45951d53b472a08",
"github": "https://github.com/Jeff"
},
{
"type": "author",
"id": "http://team6-project-socialdistrib.herokuapp.com/author/6978b496f79d59fa9aa9648bf88dbaaf",
"host": "https://team6-project-socialdistrib.herokuapp.com/",
"displayName": "Jim",
"url": "https://team6-project-socialdistrib.herokuapp.com/author/6978b496f79d59fa9aa9648bf88dbaaf",
"github": "https://github.com/Jim"
}
]
}
-
200 OKfor a successful return of a list -
400 BAD REQUESTif information is missing in the request -
403 FORBIDDENif the requesting user is not authenticated