0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server
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
..
adapters ES6 migration: server/adapters/storage (#9700) 2018-09-10 13:40:32 +02:00
api Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
apps Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
config 🔧 Add the 'compress' and 'preloadHeaders' options to defaults.json config (#9863) 2018-09-17 21:36:52 +02:00
data Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
helpers Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
lib Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
models Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
public 🐛Disallowed indexing of preview pages (#9762) 2018-09-17 11:29:47 +02:00
services Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
translations Changed maintenance messages 2018-08-16 12:13:24 +02:00
views
web Added v2 api endpoints (#9874) 2018-09-18 15:59:06 +02:00
analytics-events.js
filters.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
ghost-server.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
index.js Added timeout before exiting the process 2018-08-16 12:13:24 +02:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Updated docs links 2018-08-16 12:13:24 +02:00