Closed peterbe closed 4 years ago
I'm thinking we keep POST /api/v1/subscriptions/
to do what it does today, but add GET /api/v1/subscriptions/
and PUT /api/v1/subscriptions/:id
to cancel it.
Would you be able to do https://github.com/mdn/kuma/issues/6703#issuecomment-614246571, along with this work? Or should it be a separate issue?
Would you be able to do #6703 (comment), along with this work? Or should it be a separate issue?
Separate issue, since this issue is all and only about the v1 api. But sure, the user story can have 3 tasks. Please create that one and feel free to assign it to me. Tancs!
The backend pieces needed for https://github.com/mdn/kuma/issues/6703
That way we, can Reactify the subscription management page.
What we need is to endpoints: