Skip to main content
POST
Add Favourite

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
integer
required

account id of the users

Query Parameters

session_id
string

session ID for authentication or tracking purposes

Body

application/json
favorite
boolean

Set to true to add the media item to favorites.

Example:

true

media_id
number

The unique identifier of the media item.

Example:

550

media_type
string

The type of media to be added to favorites e.g movie or tv show

Example:

"movie"

Response

201 - application/json

Add Favourite

status_code
number
Example:

1

status_message
string
Example:

"Success."

success
boolean
Example:

true