0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/api/canary
Daniel Lockyer f82ff87177
Changed /email_previews/posts/<post id> endpoint to return 204 upon success
refs https://github.com/TryGhost/Toolbox/issues/308

- this endpoint is currently used to send a test email with the post
- it currently returns a 200 with whatever the response of the mail
  service is
- this body isn't used in Admin nor is useful generally because it just
  contains the ID of the mailgun response
- it's better than we change it to 204 and no response
- this commit does that and updates the tests
2022-04-28 15:37:13 +01:00
..
utils Changed /email_previews/posts/<post id> endpoint to return 204 upon success 2022-04-28 15:37:13 +01: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 Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
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 Added missing e2e emails API browse & retry tests 2022-03-28 17:32:58 +01:00
files.js
identities.js Removed extraneous permission flag in identities 2022-03-15 14:58:29 +00:00
images.js
index.js Renamed email-preview file to email-previews 2022-04-28 15:37:12 +01:00
integrations.js
invites.js
labels.js
mail.js
media.js
member-signin-urls.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
members-stripe-connect.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
members.js Added newsletters to subscribe events (#14579) 2022-04-26 12:31:34 +01:00
newsletters.js Added cache invalidation on updating newsletters (#14587) 2022-04-26 18:06:41 +05:30
notifications.js
oembed.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
offers.js
pages-public.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
pages.js Removed API versioning from email serialization 2022-04-28 15:37:06 +01:00
posts-public.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
posts.js Removed API versioning from email serialization 2022-04-28 15:37:06 +01:00
preview.js
products-public.js Included benefits with theme product data (#14051) 2022-01-24 13:55:25 +02:00
products.js Updated to always invalidate cache on tier edit (#14267) 2022-03-04 15:47:30 +00:00
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 Change response code of special settings API endpoints to 204 2022-04-28 15:37:11 +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 Added /tiers endpoint to Content API 2022-03-03 15:15:43 +02:00
tiers.js Support tier visibility editing Allowed Tiers Admin API to set visibility 2022-03-07 14:46:42 +00:00
users.js
webhooks.js