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

new community-related APIs needed: update community details, delete community #5123

Open
jesseallhands opened this issue Nov 9, 2024 · 1 comment · May be fixed by #5373
Open

new community-related APIs needed: update community details, delete community #5123

jesseallhands opened this issue Nov 9, 2024 · 1 comment · May be fixed by #5373
Assignees
Labels
1.topic backend This issue relates to the python backend 2.has feature (new) Implementation of a feature 3.skill good second issue

Comments

@jesseallhands
Copy link
Contributor

jesseallhands commented Nov 9, 2024

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

@jesseallhands
Copy link
Contributor Author

closes #3761

@jasonwvh jasonwvh self-assigned this Dec 15, 2024
@jasonwvh jasonwvh moved this from Ready to In Progress in Couchers Engineering 💻 Dec 15, 2024
@jasonwvh jasonwvh linked a pull request Dec 20, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.topic backend This issue relates to the python backend 2.has feature (new) Implementation of a feature 3.skill good second issue
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants