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 Removed empty class attribute from emails (#13906) 2021-12-16 16:58:33 +02:00
importer Integrated @tryghost/members-importer 2021-07-21 19:34:30 +04:00
stats Renamed index.js file to a service 2021-08-18 11:48:16 +04:00
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 Renamed index.js -> service.js for lint reasons 2021-05-20 12:08:45 +01:00
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 Updated support email address redirect (#14075) 2022-01-27 12:43:01 +01:00
SingleUseTokenProvider.js Updated magic links to use shorter, single us, longer lived tokens (#12218) 2020-09-18 17:32:18 +01:00
stripe-connect.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
utils.js Added newsletters to Portal site data 2022-04-05 22:23:39 +05:30