Ghost/core/server/web
Nazar Gargol 57271127f4 Added v2 api endpoints (#9874)
refs #9866

- Registered Content API under /ghost/api/v2/content/
- Registered Admin API under /ghost/api/v2/admin/
- Moved API v0.1 implementation to web/api/v0.1
- Created web/api/v2 for the new api endpoints
- Started with reducing the implementation for the new Content API (the Content api does not serve admin api endpoints, that's why it was reducible)
- Covered parent-app module with basic test checking correct applications/routes are being mounted
- Added a readme file, which contains a warning using v2, because it's under active development!
- This PR does only make the new endpoints available, we have not:
  - optimised the web folder (e.g. res.isAdmin)
  - started with different API controllers
  - reason: we want to do more preparation tasks before we copy the api controllers
2018-09-18 15:59:06 +02:00
..
admin ES6 migration: server/web (#9729) 2018-07-12 15:35:35 +02:00
api Added v2 api endpoints (#9874) 2018-09-18 15:59:06 +02:00
middleware Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
site Fixed express router reference after routes.yaml refresh 2018-08-16 12:13:24 +02:00
parent-app.js Added v2 api endpoints (#9874) 2018-09-18 15:59:06 +02:00
utils.js Added ability to resize and compress images on upload (#9837) 2018-08-30 17:30:36 +01:00