All APIs are under the /api
route, there are NO api versions (for now)
TeamID: The team ID (EG: 139679
)
TeamNumber: The team number (EG: 6627Y
)
Type: GET
Returns: Matches of div at event
Type: GET
Returns: Teams at event
Type: GET
Returns: events that the team has
Type: GET
Returns the picture (add .png
to the end of the URL) OR the locally stored data about the team from the event
Type: POST
Type: application/json Data:
{
"auton": <Number>,
"cata": <Number>,
"hang": <Number>,
"intake": <Boolean>,
"notes": <String>,
"push": <Boolean>,
"teamNumber": <String>,
"wings": <Boolean>
}
Updates data
OR Type: multipart/form-data Uploads picture
Doesn't do anything for now