Wiki
Clone wikireporting-wheel / API
Public API
Decode a wheel code
HTTP POST /decode/wheel
The request body must contain the reported digits (if seeing the sketch for the wheel, the smallest wheel codes must be sent first, then the largest ones.)
The response body will contain the decoded message in the form "label1:value1, label2:value2, ..., labelN:valueN".
A record will be saved for each request. Query parameters will be associated to that record, so this can act as metadata for the report.
Callback
If a callback if configured, an HTTP POST
will be issued to that url with the body containing the decoded report message. If query parameters were supplied, these will be supplied in the callback as well.
Updated