-
Notifications
You must be signed in to change notification settings - Fork 0
Response
Kevin McWhirter edited this page Oct 27, 2023
·
1 revision
The api
function handler returns a Response
object of the form:
{ "statusCode": int, "body": str, "headers": dict }
Note that the current implementation returns an empty dict for the headers property in all cases.
oper_name | statusCode | body | comments |
---|---|---|---|
unknown | 404 |
oper_name is not recognized. |
|
puzzle_updated | 200 | JSON representation of Puzzle | see Redis Object Structure |
puzzles | 200 | JSON representation of Puzzle[] | see Redis Object Structure |
puzzleboard_consumed | 200 | JSON request + ..., "processed": { "at": ISO9660 timestamp } }
|
see Request |
puzzleboard_pop | 200 | JSON representation of PuzzleBoard | see Redis Object Structure |