forked from abramhindle/CMPUT404-project-socialdistribution
-
Notifications
You must be signed in to change notification settings - Fork 1
Author API
Mustafa Khairullah edited this page Mar 29, 2021
·
21 revisions
POST: api/<str:id>/ : author_object
Will perform an update on a specific author ID supplied in the path
GET: api/authors : author_list
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