You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To work with the new UI we need to implement new RESTful API endpoints that provide CRUD functionality for renewable clusters within a given study's area. The endpoints will be nested under each area, allowing for direct manipulation of the renewable clusters related to that specific area.
Proposed Solution
Add API endpoints so users can:
Users can create new renewable clusters within an area.
Users can retrieve all renewable clusters within an area.
Users can update information for an existing renewable cluster.
Users can delete a renewable cluster within an area.
The desired outcome
API Endpoints to Implement: POST /studies/{uuid}/areas/{area_id}/clusters/renewable - Create a new renewable cluster. GET /studies/{uuid}/areas/{area_id}/clusters/renewable - Retrieve all renewable clusters in an area. GET /studies/{uuid}/areas/{area_id}/clusters/renewable/{cluster_id}- Retrieve a specific renewable cluster. PUT /studies/{uuid}/areas/{area_id}/clusters/renewable/{cluster_id} - Update a specific renewable cluster. DELETE /studies/{uuid}/areas/{area_id}/clusters/renewable/{cluster_id} - Delete a specific renewable cluster.
Problem Statement
To work with the new UI we need to implement new RESTful API endpoints that provide CRUD functionality for renewable clusters within a given study's area. The endpoints will be nested under each area, allowing for direct manipulation of the renewable clusters related to that specific area.
Proposed Solution
Add API endpoints so users can:
Users can create new renewable clusters within an area.
Users can retrieve all renewable clusters within an area.
Users can update information for an existing renewable cluster.
Users can delete a renewable cluster within an area.
API Endpoints to Implement:
POST
/studies/{uuid}/areas/{area_id}/clusters/renewable - Create a new renewable cluster.GET
/studies/{uuid}/areas/{area_id}/clusters/renewable - Retrieve all renewable clusters in an area.GET
/studies/{uuid}/areas/{area_id}/clusters/renewable/{cluster_id}- Retrieve a specific renewable cluster.PUT
/studies/{uuid}/areas/{area_id}/clusters/renewable/{cluster_id} - Update a specific renewable cluster.DELETE
/studies/{uuid}/areas/{area_id}/clusters/renewable/{cluster_id} - Delete a specific renewable cluster.Related to: #1640
The text was updated successfully, but these errors were encountered: