Metadata Ingestion APIsShelf and Feed APIsSubscriber Activity APIs

Pause Time – update

This API is used to update the last playback position of an item for a subscriber. Typically the API is called at the end of playback and/or as a periodic heartbeat. Replace SUBSCRIBER_ID with the unique id of the subscriber and ASSET_ID with the unique id of the item and POST the last playback position (in milliseconds) to update the stored state.

Resource URL

PUT - /metax/2.1/activity/pausetime/{SUBSCRIBER_ID}/{ASSET_ID}

Header Paramater

Authorization
required
Bearer Access Token

NOTE: Access Token here refers to the access authorization token.

Form Parameter

time
required
int- millisecond value of the time Time less than 10 seconds will be ignored

Example Request URL

PUT - http://JTV_HOST/metax/2.1/activity/pausetime/update/user@example.org/NNVG10008123?time=1234000

Example Return

The response of a invalid authorization access call ( Status #401) will look as follows:-

To see how to get access token - (see Getting Access Tokens)

The response of an ERROR in authorization access call ( Status #404) will look as follows:-

HTTP Status 404