0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/services/members
Rishabh Garg c7b247a079
Added member endpoints for managing newsletter subscriptions (#14624)
refs TryGhost/Team#1495

With multiple newsletters, members are allowed to manage their newsletter pref via email unsubscribe link with member uuid. Since Portal needs to manage member's newsletter pref via their UUID, we need new endpoints on members that allow fetch/update of newsletter subscriptions via only uuid. The endpoints return only limited data for a member that are needed for the UI.

- adds endpoint to fetch newsletter subscriptions for member via uuid
- adds endpoint to update newsletter subscriptions for member via uuid
2022-04-28 17:14:17 +05:30
..
emails
importer
stats
api.js Added newsletter from address verification (#14491) 2022-04-26 12:31:34 +01:00
config.js 🐛 Fixed Stripe checkout session urls being invalid 2022-02-15 12:50:07 +02:00
content-gating.js Added "contains" operator support to ?filter= query params (#14286) 2022-03-09 13:02:17 +00:00
index.js
middleware.js Added member endpoints for managing newsletter subscriptions (#14624) 2022-04-28 17:14:17 +05:30
service.js Set importer context for members importer 2022-04-28 12:10:44 +01:00
settings.js
SingleUseTokenProvider.js
stripe-connect.js
utils.js Added newsletters to Portal site data 2022-04-05 22:23:39 +05:30