new community-related APIs needed: update community details, delete community #5123
Labels
1.topic backend
This issue relates to the python backend
2.has feature (new)
Implementation of a feature
3.skill good second issue
Milestone
Problems:
We do not have an api to update the community details (such as name, description, parent_node_id, and geojson values).
We also do not have an api to delete a community if one is created by accident or is no longer relevant (eg. one community is absorbed into another due to a population shift).
We do currently have the api
admin.CreateCommunityReq
that creates communities, but it does not allow for editing communities or deleting communities.Solution
A new api
admin.ChangeCommunityReq
should be created that allows for updating one or more of these values simultaneously.Once created, the https://console.couchers.org/admin/ page should be updated to include the new api. This could be a new issue.
Note: If desired, this issue may be split into two issues since there are technically 2 APIs that need to be created (Create vs Delete).
The text was updated successfully, but these errors were encountered: