0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/web/api
Fabien O'Carroll 9be9531ef8
Wired up {GET,POST,DELETE} /session to v2 admin api
* Added admin specific auth{enticate,orize} middleware

refs #9865

This middleware will be used by the admin api to authenticate and
authorize requests

* Update v2/admin to use authAdminApi middleware

refs #9865

This changes thh auth middleware to use the adminApi authenticate and
authorize middlewares underneath, it also renames the middleware to be
consistent with the naming of the api.

* Removed oauth specific endpoints from /v2/admin

refs #9865

These are not to be used in v2/admin

* Wired up the session controller to the admin api

refs #9865

These endpoints will be used by ghost admin to login, confirm logged in status and logout
2018-10-05 17:45:17 +07:00
..
v0.1 Optimised web/ debug logs 2018-10-04 17:43:08 +02:00
v2 Wired up {GET,POST,DELETE} /session to v2 admin api 2018-10-05 17:45:17 +07:00
README.md Added v2 api endpoints (#9874) 2018-09-18 15:59:06 +02:00

Ghost APIs

Ghost is moving towards providing more robust APIs in the future. A plan and decisions can be found here.

WARNING!

The v2 API (/ghost/api/v2/* endpoints) is to be considered under active development until this message is removed. Please use with caution and don't rely too heavy on it just yet :)