Skip to content

Latest commit

 

History

History
64 lines (59 loc) · 1.12 KB

api.md

File metadata and controls

64 lines (59 loc) · 1.12 KB

/tasks

GET

  • Description Retrieve a list of all tasks.
  • Example Response
[
  {
    "name": "Example Task",
    "description": "This is the description for this task.",
    "team": "Team 1"
    "assignedTo": [ "Stephen Wright" ],
    "priority": "Low",
    "status": "In Progress"
  },
  ...
]

POST

  • Description Creates a new task and adds it to the existing list of tasks

/teams

GET

  • Description Retrieve a list of all teams.
  • Example Response
[
  {
    "name": "Team 1",
    "members": [ "Stephen Wright", "Dylan Zhou" ]
  },
  {
    "name": "Team 2",
    "members": [ "Stephen Wright", "Other User" ]
  }
]

POST

  • Description Creates a new team and adds it to existing list of teams

/users

GET

  • Description Retrieve a list of all users.
  • Example Response
[
  {
    "name": "Stephen Wright",
    "teams": [ "Team 1", "Team 2" ]
  },
  {
    "name": "Dylan Zhou",
    "teams": [ "Team 1" ]
  },
  {
    "name": "Other User",
    "teams": [ "Team 2" ]
  }
]

POST

  • Description Creates a new user and adds it to the existing list of users