Wishlist
Fire this api to show, add or remove from wishlist.
Show all item in wishlist
api/showwishlist
GET https://yourdomain.com/api/showwishlist
This endpoint allows you to show all movies and seasons in wishlist.
Query Parameters
secret
string
Client secret key will goes here which you get from admin panel.
Headers
Authorization*
string
Bearer { bearer_token without bracket }
Accept*
string
application/json
{
"wishlist": [
{
"id": 5,
"user_id": 6,
"movie_id": 2,
"season_id": null,
"added": 1,
"created_at": "2021-12-21T11:10:36.000000Z",
"updated_at": "2021-12-21T12:05:18.000000Z"
},
{
"id": 6,
"user_id": 6,
"movie_id": null,
"season_id": 6,
"added": 1,
"created_at": "2021-12-21T12:05:28.000000Z",
"updated_at": "2021-12-21T12:05:28.000000Z"
}
]
}Add movie / season in wishlist
api/addwishlist
POST https://yourdomain.com/api/addwishlist
This endpoint allows you to add movie,tvseries or livetv in wishlist.
Query Parameters
secret
string
Client secret key will goes here which you get from admin panel.
Headers
Authorization*
string
Bearer { bearer_token without bracket }
Accept*
string
application/json
Request Body
type*
string
enter movie / tvseries type like M , S
id*
interger
enter movie / tvseries id
value*
integer
1
{
"user_id": 6,
"movie_id": "2",
"added": "1",
"updated_at": "2021-12-21T11:10:36.000000Z",
"created_at": "2021-12-21T11:10:36.000000Z",
"id": 5
}{
"message": "Invalid Secret Key !"
}Remove movie from wishlist
api/removemovie
GET https://yourdomain.com/api/removemovie
This endpoint allows you to remove movie in wishlist.
Path Parameters
id *
string
ID of movie
Query Parameters
secret
string
Client secret key will goes here which you get from admin panel.
Headers
Authorization*
string
Bearer { bearer_token without bracket }
Accept*
string
application/json
{
"id": 5,
"user_id": 6,
"movie_id": 2,
"season_id": null,
"added": "0",
"created_at": "2021-12-21T11:10:36.000000Z",
"updated_at": "2021-12-21T11:11:13.000000Z"
}{
"message": "Invalid Secret Key !"
}Remove season from wishlist
/api/removeseason
GET https://yourdomain.com/api/removeseason
This endpoint allows you to remove season from wishlist.
Path Parameters
id
integer
ID of season
Query Parameters
secret
string
Client secret key will goes here which you get from admin panel.
Headers
Authorization*
string
Bearer { bearer_token without bracket }
Accept*
string
application/json
{
"id": 5,
"user_id": 6,
"movie_id": null,
"season_id": 6,
"added": "0",
"created_at": "2021-12-21T11:10:36.000000Z",
"updated_at": "2021-12-21T11:11:13.000000Z"
}{
"message": "Invalid Secret Key !"
}Last updated