harmonherring / harmonherring/CTF-API
Allow editing Challenges
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
It should be possible to edit Challenges after they're created. Specifically, this includes the fields on the Create Challenge modal. These are Title, Category, Difficulty, Author, Description, Tags, and Uploaded File.
I feel it would make sense to allow this functionality by accepting a PATCH request at `/challenges/`.
It would be possible to replicate the Tag creation functionality that we see in the `POST /challenges` route. Would take a few extra DB queries. All old Tags would need to be deleted, and then the new ones would be created.
It's important to delete the old file from S3 if a new one is uploaded.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.