personal-gallery-node/packages/server/docs/api
Maksim Karasev 7da5465d56 Initial commit 2021-03-23 17:12:51 +03:00
..
images Initial commit 2021-03-23 17:12:51 +03:00
login Initial commit 2021-03-23 17:12:51 +03:00
meta Initial commit 2021-03-23 17:12:51 +03:00
thumbnails Initial commit 2021-03-23 17:12:51 +03:00
user Initial commit 2021-03-23 17:12:51 +03:00
README.md Initial commit 2021-03-23 17:12:51 +03:00

README.md

REST API Documentation

Where full URLs are provided in responses they will be rendered as if service is running on 'http://testserver/'.

Open Endpoints

Open endpoints require no Authentication.

  • Login : POST /api/login/
  • Register : POST /api/login/register/
  • Logout : POST /api/login/logout/

Endpoints that require Authentication

Auth options

  • Token in cookie personal-gallery_auth, can be set via the login endpoint.
  • Bearer token in Authorization header, can be aquiered via the getApiKey endpoint.