Skip to content

Author API

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

Endpoints

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

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