Ghost/core/server/api/canary
Simon Backx 21d9d20e3e
Included newsletter relation by default in posts (#14723)
refs https://github.com/TryGhost/Team/issues/1569

**Changes in admin-api-schema:**
- https://github.com/TryGhost/SDK/compare/%40tryghost/admin-api-schema%402.14.1...%40tryghost/admin-api-schema%402.15.0
- Ignore `newsletter` when used in input

**Changes**
- Added the `newsletter` relation as a default include for posts
- Removed the newsletter_id from the API output

**Tests**
- Test the newsletter relation is always loaded for browse, read, add and edit, unless the include option is added explicitly

Co-authored-by: Matt Hanley <git@matthanley.co.uk>
2022-05-09 11:06:59 +02:00
..
utils Included newsletter relation by default in posts (#14723) 2022-05-09 11:06:59 +02:00
actions.js
authentication.js Changed /authentication/reset_all_passwords to return 204 response code 2022-04-28 15:37:11 +01:00
authors-public.js
config.js
custom-theme-settings.js
db.js
email-post.js
email-previews.js Changed /email_previews/posts/<post id> endpoint to return 204 upon success 2022-04-28 15:37:13 +01:00
emails.js
files.js
identities.js
images.js
index.js Renamed preview files to previews 2022-04-28 15:37:14 +01:00
integrations.js
invites.js
labels.js
mail.js
media.js
member-signin-urls.js
members-stripe-connect.js
members.js Removed hasActiveStripeSubscriptions endpoint (#14689) 2022-05-04 17:25:21 +01:00
newsletters.js Fixed newsletter includes when adding or editing (#14696) 2022-05-05 11:20:15 +02:00
notifications.js
oembed.js
offers.js
pages-public.js
pages.js Removed API versioning from email serialization 2022-04-28 15:37:06 +01:00
posts-public.js
posts.js Included newsletter relation by default in posts (#14723) 2022-05-09 11:06:59 +02:00
previews.js Renamed preview files to previews 2022-04-28 15:37:14 +01:00
products-public.js
products.js
redirects.js
roles.js
schedules.js Removed API versioning from post scheduling service 2022-04-28 15:37:09 +01:00
session.js Renamed passwordreset body object to password_reset 2022-04-28 15:37:11 +01:00
settings-public.js
settings.js Removed hasActiveStripeSubscriptions endpoint (#14689) 2022-05-04 17:25:21 +01:00
site.js
slack.js
slugs.js
snippets.js
stats.js Added /stats/subscriptions API (#14547) 2022-04-27 14:53:32 +01:00
tags-public.js
tags.js
themes.js
tiers-public.js
tiers.js
users.js
webhooks.js