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 28, 2021
·
21 revisions
POST: api/<str:id>/
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