Skip to content
This repository was archived by the owner on May 1, 2021. It is now read-only.

feat: Challenge service and routes #43

Open
2 tasks
theS1LV3R opened this issue Jan 23, 2021 · 1 comment · May be fixed by #57
Open
2 tasks

feat: Challenge service and routes #43

theS1LV3R opened this issue Jan 23, 2021 · 1 comment · May be fixed by #57
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@theS1LV3R
Copy link
Member

original issue on Linear

All routes and services involved with handling challenges. E.g. editing challenge details, creating new challenges for CTFs, updating participants, etc.

  • Create the service that will handle everything
  • Create routes for everything
@theS1LV3R theS1LV3R added the enhancement New feature or request label Jan 23, 2021
@theS1LV3R theS1LV3R added this to the v1.0.0 milestone Jan 23, 2021
@theS1LV3R
Copy link
Member Author

theS1LV3R commented Feb 12, 2021

More detailed list of what needs to be done:

Service
  • Getting list of challenges
  • Creating challenges - d9abae3
  • Getting single challenge
  • Updating challenges - Updating things like points for solving and similar
  • Deleting challenges
  • Archiving challenge
  • Unarchiving challenge
  • Marking a challenge as (un)done
API

(CH short for "challenge")

Base URL is /:CTF_ID/challenges

  • GET / - Getting a list of challenges
  • POST / - Creating a challenge - d9abae3
  • GET /:CH_ID - Getting a spesific challenge
  • PATCH /:CH_ID - Updating a challenge
  • DELETE /:CH_ID - Deleting a challenge
  • POST /:CH_ID/archive - Archiving a challenge
  • POST /:CH_ID/unarchive - Unarchiving a challenge
  • POST /:CH_ID/done - Marking a challenge as completed
  • POST /CH_ID/undone - Marking a challenge as not completed
Config

none atm

@theS1LV3R theS1LV3R pinned this issue Feb 12, 2021
@theS1LV3R theS1LV3R linked a pull request Feb 18, 2021 that will close this issue
@theS1LV3R theS1LV3R linked a pull request Feb 21, 2021 that will close this issue
@theS1LV3R theS1LV3R self-assigned this Feb 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant