OpenTV ENTera & OpenTV Platform Documentation
25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Report user activity

Request

Ncanto uses reported user activity to decide what to recommend to that particular user. To report user activity, send a POST request to:

http://<host>:<port>/contentdiscovery/v2/useractivity/{userActivity}/account/{accountId}

Headers

  • Content-Type: application/json

  • Authorization – the token obtained from IAS at signon

Mandatory arguments

  • userActivity – the activity being reported. One of:

    • download

    • watch

    • bookmark

    • record

    • watchtrailer

    • play

    • purchase

    • setreminder

    • like

    • dislike

  • accountId (in URL) – the ID of the account

  • deviceType – the device type

  • contentId – the ID of the content to which the activity relates

Response

A successful request returns an HTTP 202 status.

A bad request returns an HTTP 400 status.

An unauthorised request returns an HTTP 401 status.

See also

For full details of this API, see Content Discovery Gateway (CDG) API documentation.