Report a play
report_playReports whether a channel played (ok=true) or not (ok=false with code). The browser and the system come from the User-Agent, and the country comes from the request data; the body cannot change them. The first report of a result on a day returns 201. It counts once per owner, channel, day and result; a repeat returns 200 with reason: ja_relatado_hoje. The reports help to compare results in GET /api/channels/:id/health, but they do not confirm the cause of a failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | `true` when it played, `false` when it failed. | |
| code | No | Failure code, only when `ok` is `false`. A missing or unknown code counts as `outro`. | |
| channel_id | Yes | The channel that you tried to watch. |