Scoped api wip - #2735
Ticket(s) / Related Merge Requests
Summary of Changes
Introduces personal api tokens that can be used with scoped api endpoints.
Also introduces an API that will allow a tenant admin to update site membership details.
Testing Considerations
POST api/v3/payments/site-memberships/batch
[
{
"id_type": "EMAIL",
"id": "mark@minds.coo",
"membership_guid": 1602691758972473355,
"valid_from": "2023-01-01",
"valid_to": "2023-12-01"
},
{
"id_type": "OIDC",
"id": "1::241849093897463702",
"membership_guid": 1602691758972473355,
"valid_from": "2023-01-01",
"valid_to": "2025-12-01"
},
{
"id_type": "GUID",
"id": "1594995688901447692",
"membership_guid": 1602691758972473355,
"valid_from": "2023-01-01",
"valid_to": "2025-12-01"
}
]
Deployment Considerations
Regression Scope
We have added the ALL scope to all APIs. This should only be applied if a user is logged in.
Platform Affected (web, mobile, etc)
Developer Testing Completed
Screenshots / Screen Recording
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out
Edited by Mark Harding