Ghost/core/server/api/canary
naz 071bf8edb5
Extracted Admin API JSON schemas into @tryghost/admin-api-schema (#12237)
closes https://github.com/TryGhost/Ghost/issues/10628

- JSON Schemas were extracted into a separate module to allow other clients to reuse them (for example documentation). Having them in a separate package also slims down the amount of code needed to be maintained in the core.
- Updated canary API input validators to use admin-api-schema module
- Removed canary schemas that moved into admin-api-schema package
- Updated v2 API input validators to use admin-api-schema package
- Removed v2 schemas that moved into admin-api-schema package
- Updated tests to contain needed information in apiConfig to pick up correct validation
- Added @tryghost/admin-api-schema package dependency
2020-09-30 16:25:12 +13:00
..
utils Extracted Admin API JSON schemas into @tryghost/admin-api-schema (#12237) 2020-09-30 16:25:12 +13:00
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
authors-public.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
config.js Added new portal config flag 2020-09-17 19:40:34 +05:30
db.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
email-preview.js Refactor mega service to use stored email content and batch/recipient records 2020-09-29 17:17:54 +01:00
email.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
identities.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
images.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
index.js Added membersStripeConnect controller auth method 2020-06-02 15:28:42 +02:00
integrations.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
invites.js Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
labels.js Added more specific error handling when adding duplicate labels 2020-06-05 00:23:10 +12:00
mail.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
members.js Extracted Admin API JSON schemas into @tryghost/admin-api-schema (#12237) 2020-09-30 16:25:12 +13:00
memberSigninUrls.js Updated getMagicLink call to handle Promise return 2020-09-18 10:49:18 +01:00
membersStripeConnect.js Supported test mode in members_stripe_connect API 2020-06-10 14:06:57 +02:00
notifications.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
oembed.js 🐛 Fixed embed/bookmark retrieval for sites that require cookies during redirects 2020-06-17 10:03:36 +01:00
pages-public.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
pages.js Allowed ?formats param in Admin API post+page create/edit requests 2020-06-18 13:59:01 +01:00
posts-public.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
posts.js Changed member limit to be DRY & use raw query 2020-07-26 20:49:30 +01:00
preview.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
redirects.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
roles.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
schedules.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
session.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
settings-public.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
settings.js 🐛 Fixed email verification mails not sent 2020-09-24 23:39:25 +05:30
site.js Renamed settings key brand.primaryColor to accent_color 2020-06-24 14:18:13 +12:00
slack.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
slugs.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
tags-public.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
tags.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
themes.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
users.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00
webhooks.js Added check for parent integration_id when creating a webhook 2020-09-24 15:09:51 +12:00