Skip to content

Author API

Mustafa Khairullah edited this page Mar 29, 2021 · 21 revisions

Endpoints

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

Response

{
    "displayName": "Jon Snow",
    "github": "https://github.com/jonsnow" 
}

Response Code

  • On update and if a user is authorized 200 OK is returned
  • If unauthorized 403 FORBIDDEN is returned

Clone this wiki locally