forked from abramhindle/CMPUT404-project-socialdistribution
-
Notifications
You must be signed in to change notification settings - Fork 1
Posts API
Mustafa Khairullah edited this page Mar 28, 2021
·
20 revisions
GET: author/<str:author_id>/posts/
Will perform an update on a specific author ID supplied in the path
GET: api/<str:id>
Will retrieve the specific author ID supplied in the path
GET: api/authors
Will return a list of all authors registered with the server
{
"displayName": "Jon Snow",
"github": "https://github.com/jonsnow"
}
- On update and if a user is authorized
200 OKis returned - If unauthorized
403 FORBIDDENis returned