Ghost/core/server/api/v2
Kevin Ansfield 3b366dc55d
Fixed max-api-complexity linting warnings for site and config APIs (#12982)
no issue

- moved `config` and `site` API output generation to a `public-config` service allowing all API versions to use `publicConfig.config` or `publicConfig.site` in their query methods
- updated `config` and `site` API output serializers to use an allow-list that limits the data returned for each API version
2021-05-26 12:10:19 +01:00
..
utils Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
actions.js Added v2 actions endpoint 2019-02-06 21:36:09 +01:00
authentication.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
authors-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
config.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
db.js Refactored exporter to use "allowlist" table filtering 2021-03-25 16:46:56 +13:00
images.js 🐛 Added missing Bluebird require in v2 API 2020-11-19 13:36:15 +00:00
index.js Merge branch 'master' into v3 2019-10-11 11:31:31 +01:00
integrations.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
invites.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
mail.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
notifications.js Fixed update check tests 2021-01-14 18:30:09 +13:00
oembed.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
pages-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
pages.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
posts-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
posts.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
preview.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
redirects.js Extracted frontend code from redirects API controllers (#10798) 2019-06-21 16:50:16 +02:00
roles.js Migrated roles controller to API v2 2018-10-10 16:48:22 +02:00
schedules.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
session.js Moved i18n to shared 2021-05-04 13:03:38 +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 Moved i18n to shared 2021-05-04 13:03:38 +01:00
site.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
slack.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
slugs.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
tags-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
tags.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
themes.js Added the customThemes limits to all api versions 2021-05-21 09:56:22 +02:00
users.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
webhooks.js Moved i18n to shared 2021-05-04 13:03:38 +01:00