Metadata Ingestion APIsShelf and Feed APIsSubscriber Activity APIs

Favorites – add

This API is used to add items to a subscriber’s favorites 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 favorites.

Resource URL

PUT - /metax/2.1/activity/fav/{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/fav/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