Closed andrewsosa closed 6 years ago
So three routes here:
/api/events
{
"events": [
{
"id": 1,
"name": "Check In"
},
{
"id": 2,
"name": "Breakfast"
},
...
]
}
/api/events/scan
{
"event": 1,
"hacker": "efefef"
}
This will send back a few status codes:
/api/user/get/events
{
"events": [
{
"time": "2018-02-04T20:24:52.365121+00:00",
"name": "Check In"
},
{
"time": "2018-02-04T20:24:52.365121+00:00",
"name": "Breakfast"
}
]
}
for the POST /api/events/scan
, we should return a Status, Message, and name of the person scanned if successful.
All of these features are done as of 7ff08578b2207d888b60c9ed49e5f1a2baa2a6dc, see related commits on Feb 4 2018.
@AndibaOfficial @CFarzaneh @Randy424 note I closed this issue, but you may still need it for reference.
Needs to also make sure you can't scan or check in people who are not approved for hackathon.