Skip to content

API Documentation

Fraser Redford edited this page Mar 29, 2021 · 43 revisions

The following API endpoints can be used to access the Konnect server.

Register API

  1. POST will handle creating a user: api/auth/register

Login API

  1. POST will handle a user login: api/auth/login

Author API

  1. GET an author's profile by ID: author/<str:id>/
  2. POST update an author's profile: author/<str:id>/
  3. GET all author's on the server: authors

Post API

  1. GET will return all posts by a given author: author/<str:author_id>/posts/

Clone this wiki locally