Registra que o dono assistiu um canal. Repetir soma em `plays` e sobe a linha.

Devolve: { channel_id, plays, last_at, api }

post/api/history

Request

  • Base URL: https://gradetv.net
  • URL: https://gradetv.net/api/history
  • Auth: HTTP bearer

Request body

channel_idstring required

Canal assistido, ex. GloboNews.br.

Response

{ channel_id, plays, last_at, api }

channel_idstring required

O canal registrado.

playsinteger required

Quantas vezes o dono já assistiu este canal.

last_atstring nullable required

Momento deste registro (UTC).

apistring required

URL absoluta do histórico.

Changes

No recorded changes to this operation across all 1 revision of this API.