Metadata Ingestion APIsShelf and Feed APIsSubscriber Activity APIs

Watch History – add

This API is used to add items from a subscriber’s watch list. Replace SUBSCRIBER_ID with the unique id of the subscriber and ASSET_ID with the unique id of the item to be added to the user’s watch list.
This API need not be called from app side explicitly, since it is internally handled by MetaX.

Resource URL

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

Header Paramater

Authorization
required
Bearer Access Token

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

Form Parameter

type
optional
String (Item type)
values are the type of the item. (e.g. "vod" or "episodic" or "episode")

Example Request URL

PUT - http://__JTV__HOST__/metax/2.1/activity/watch/user@example.org/NNVG10006424

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