Skip to content

Attack/Defence: Teams #52

@libkush

Description

@libkush

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.

Footnotes

  1. Models subject to change as per requirements.

  2. API endpoints subject to change as per requirements.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions