0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
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 Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
api Oembed meta tag fallback for unknown providers (#9827) 2018-08-27 15:02:03 +01:00
apps Removed usage of res.isAdmin from private blogging app 2018-09-15 08:58:53 +02:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Updated fixture post content 2018-08-16 12:13:24 +02:00
helpers 🎨 Added additional parameters to subscribe_form and input_email helpers (#9820) 2018-08-30 17:17:27 +01:00
lib Fixed mobiledoc-converter test 2018-08-31 12:03:08 +01:00
models 🎨Added absolute_url flag to public api (#9833) 2018-08-31 11:02:39 +01:00
public Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
services 🎨Added absolute_url flag to public api (#9833) 2018-08-31 11:02:39 +01:00
web Added v2 api endpoints (#9874) 2018-09-18 15:59:06 +02:00
filters_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00