In order to get full usage of the new Multitenancy Feature, API access was implemented to allow easier management of Tenants without having to rely on SSH access to access Rake tasks.
New API endpoints implemented:
api/v1/tenants/ => api/v1/tenants_controller
GET api/v1/tenants/
GET api/v1/tenants/:id
POST api/v1/tenants/:id?name=xxx&secrets=xxx
DELETE api/v1/tenants/:id
PUT api/v1/tenants/:id?name=xxx || PUT api/v1/tenants/:id?secrets=xxx
Testing Steps
Run the associated spec file, or make the API requests using cURL or another tool.
Description
In order to get full usage of the new Multitenancy Feature, API access was implemented to allow easier management of Tenants without having to rely on SSH access to access Rake tasks.
New API endpoints implemented: api/v1/tenants/ => api/v1/tenants_controller
Testing Steps
Run the associated spec file, or make the API requests using cURL or another tool.
Screenshots (if appropriate):