Ghost/core/server/api/shared
Hannah Wolfe 3bd4d0989a Added default serializer + handling
refs: https://github.com/TryGhost/Toolbox/issues/245

- Added a serializer called default to the canary API
  - Ideally, this would be part of the shared framework, but this would change v2/v3 and we're about to get rid of them
  - Therefore, we change just canary for now, and we can refactor again later.
- Added wiring to handler that uses the default serializer, if there is a default, and isn't an explicit serializer for the endpoint
- Removed the invites serializer, so that one endpoint now uses the default

Note: previous commits have added explicit serializers to every endpoint, this is the first step towards paring
that back so that we have less serializers overall, not more!
2022-03-22 13:52:32 +00:00
..
serializers Added default serializer + handling 2022-03-22 13:52:32 +00:00
utils Added comments for Ghost API 2019-05-06 14:49:25 +02:00
validators Replaced i18n.t w/ tpl helper in validators/input/ (#13460) 2021-10-06 10:17:42 +01:00
frame.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
headers.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
http.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
index.js Added tiny framework to support multiple API versions (#9933) 2018-10-05 00:50:45 +02:00
pipeline.js Fixed JSDoc apiType in the frame pipeline 2021-08-13 10:08:50 +04:00