-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Team (Attack/Def)
Create an implementation of a team entity for round 2 (attack/defence style CTFs) and it's corresponding CRUD endpoints in the API.
Models Required1
- AttackDefTeam:
- team: Foreign key of Team model. Represents the team participating in the attack/def style competition.
- powerups: String Enumerator. Represents the powerup(s) currently activated by the team which will be removed once the effect is achieved and/or time limit reached.
- ctfs: Reverse relation on AttackDefProblem model. Represents all the CTFs belonging to this team that the other teams can attack and gain points.
API Endpoints2
-
Modify existing team signup endpoint to also initialize columns team_attackdef.(This model will be created for each team during Round 2 CTF allocation.) -
GET
/ctfs- List all the CTFs belonging to the team.
-
GET
/powerups- Lists all the powerups currently activated by the team.