Ghost/core/server/api/canary
Kevin Ansfield 5fd2b7fed1 Added send_email_when_published query param to posts endpoint
no issue

- having a `send_email_when_published` property on the Post resource that only has an effect at certain times was confusing and was causing issues with clients that needed to know details of how that toggle worked
- makes `post.send_email_when_published` a fully read-only property in the API
- adds support for `?send_email_when_published=true` query param that can be passed in POST/PUT requests to the posts endpoint when scheduling or publishing a post - this is the only way to set `post.send_email_when_published` to `true`
- adds handling to ensure that `post.send_email_when_published` is always reset to `false` when reverting a post back to a draft _unless_ an email has already been sent
2019-11-14 17:29:03 +00:00
..
utils Added send_email_when_published query param to posts endpoint 2019-11-14 17:29:03 +00:00
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
authors-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
config.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
db.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
email-preview.js Fixed post not showing authors in email 2019-11-14 10:45:05 +05:30
email.js Implemented GET /emails/:id endpoint 2019-11-06 15:56:56 +07:00
images.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
index.js Implemented GET /emails/:id endpoint 2019-11-06 15:56:56 +07:00
integrations.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
invites.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
mail.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
members.js 🐛 Fixed members export limiting to 15 members only (#11299) 2019-10-29 10:20:32 +05:30
notifications.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
oembed.js 🐛 Fixed wrong icon being pulled into bookmark cards for some sites (#11055) 2019-08-27 19:32:26 +01:00
pages-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
pages.js Permission restrictions for post.visibility modifications (#11213) 2019-10-08 15:44:27 +02:00
posts-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
posts.js Added send_email_when_published query param to posts endpoint 2019-11-14 17:29:03 +00:00
preview.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
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 🏗 Migrated scheduler to work with v2 API (#11142) 2019-09-23 21:42:53 +05:30
session.js 💡Migrated session controllers for compatibility with "frame" (#11101) 2019-09-11 11:28:55 +02:00
settings-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
settings.js Added permission restrictions to editing members flag (#11217) 2019-10-09 10:26:54 +02:00
site.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
slack.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
slugs.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
tags-public.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
tags.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
themes.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
users.js Removed all accesstokens and refreshtokens related code 2019-09-12 15:45:27 +01:00
webhooks.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30