Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ANT-706] Add renewables clusters API endpoints #1792

Closed
hdinia opened this issue Nov 3, 2023 · 0 comments · Fixed by #1798
Closed

[ANT-706] Add renewables clusters API endpoints #1792

hdinia opened this issue Nov 3, 2023 · 0 comments · Fixed by #1798
Assignees

Comments

@hdinia
Copy link
Member

hdinia commented Nov 3, 2023

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.

  • 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.

Related to: #1640

@hdinia hdinia self-assigned this Nov 3, 2023
@laurent-laporte-pro laurent-laporte-pro changed the title Add renewables clusters API endpoints [ANT-706] Add renewables clusters API endpoints Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant