0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/web/api
Rishabh Garg c7f3837c54
Added admin endpoint for editing member subscription (#12145)
refs #12127

- Adds new `editSubscription` endpoint for members admin API which allows updating individual subscription for a member - `PUT /members/:id/subscriptions/:subscription_id/`
- `editSubscription` has same permissions as member's `edit` endpoint
- Currently allows toggling of cancellation at period end for an active subscription
2020-08-20 17:28:11 +05:30
..
canary Added admin endpoint for editing member subscription (#12145) 2020-08-20 17:28:11 +05:30
middleware Replaced constants file with @tryghost/constants 2020-08-11 12:51:16 +01:00
v2 Updated stability index comments around Admin API v2 endpoints 2020-08-03 23:46:23 +12:00
app.js Added a server testmode to help test behaviour 2020-08-10 16:38:49 +01:00
index.js Renamed app related files+variables for clarity 2020-04-27 17:50:08 +01:00
testmode.js Added job-manager & wired up shutdown and testmode 2020-08-11 21:31:34 +01:00