timePlayed

Used by players to report how long a track was played and the time since it was last played. This notifies the cloud queue server via an HTTP POST when a track finishes playing. The payload includes the total playback duration, including any scrubbing and seeking within the track, as well as a signal whether the track ended due to a skip operation or not. Players only send reports when a track has played for more than one second.

See Add reporting for details on how to use this API for SMAPI reporting.

The request header contains the access token in the authorization header. The request body contains the the tracks played, sent in the items parameter. The parameters in the table below are in the request body.

Language
Click Try It! to start a request and see the response here!