Ghost/core/server/api/v2
Rishabh 3e9a23355f Handled visibility filter in post/page API
refs https://github.com/TryGhost/Team/issues/849

As part of work for segmented post access with multiple products, the custom filter for post access is stored in `visibility` field on posts but passed with `visibility_filter` property on API. This change -

- updates input serializer of posts to transform `visibility` and `visibility_filter` properties correctly
- updates output serializer for canary to transform and send `visibility_filter` attribute with filter value
- updates output serializer for v3 to ignore any custom filter on visibility and return `paid` instead as v3 didn't have a concept of custom filter
2021-07-05 17:10:45 +05:30
..
utils Handled visibility filter in post/page API 2021-07-05 17:10:45 +05:30
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 error being saved in notification settings 2021-06-03 12:54:09 +04: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 settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
settings.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +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