List of Contents
This api fires to list of contents like list of actores, directors etc.
api/main
GET
https://yourdomain.com/api/main
This end point allows you to all list of actors, directors,genres and audio languages, subtitles etc.
Query Parameters
Name
Type
Description
secret
string
Client secret key will goes here which you get from admin panel.
Headers
Name
Type
Description
Authorization*
string
Bearer { bearer_token without bracket }
Accept*
string
application/json
{
"auth": {
"id": 6,
"name": "Test",
"image": null,
"email": "Test@test.com",
"verifyToken": null,
"status": 1,
"google_id": null,
"facebook_id": null,
"gitlab_id": null,
"dob": "2021-08-02",
"age": 0,
"mobile": null,
"braintree_id": null,
"code": null,
"is_admin": 0,
"is_assistant": 0,
"is_blocked": 0,
"amazon_id": null,
"created_at": "2021-08-03T14:16:37.000000Z",
"updated_at": "2021-08-03T14:16:37.000000Z",
"stripe_id": null,
"card_brand": null,
"card_last_four": null,
"trial_ends_at": null,
"google2fa_secret": null,
"google2fa_enable": 0,
"refer_code": null,
"refered_from": null
},
"actor": [
{
"id": 1,
"name": "Stefanie Scott",
"image": "actor_1627991816Stefanie Scott.jpg",
"biography": "",
"place_of_birth": null,
"DOB": null,
"created_at": "2021-08-03T15:26:56.000000Z",
"updated_at": "2021-10-28T05:06:21.000000Z",
"slug": "stefanie-scott"
},
],
"director": [
{
"id": 1,
"name": "Anthony Russo",
"image": "tmdb_fIa5wXK7MHAquhefTr3TcnZiYy8.jpg",
"biography": "Anthony and Joe Russo, known together professionally as the Russo brothers, are Emmy Award-winning American film and television directors. The brothers direct most of their work jointly, and they also occasionally work as producers, actors, and editors. The Russos are from Cleveland, Ohio, and were born a year apart. They are alumni of Case Western Reserve University.",
"place_of_birth": "Cleveland, Ohio, USA",
"DOB": "1970-02-03",
"created_at": "2021-08-03T17:42:50.000000Z",
"updated_at": "2021-10-28T05:06:22.000000Z",
"slug": "anthony-russo"
}
],
"audio": [
{
"id": 1,
"language": "English",
"created_at": "2021-08-03T15:38:55.000000Z",
"updated_at": "2021-08-18T11:51:25.000000Z",
"image": "audiolanguage_1629287485english.png",
"status": 1
},
{
"id": 2,
"language": "French",
"created_at": "2021-08-03T15:39:04.000000Z",
"updated_at": "2021-08-18T11:51:10.000000Z",
"image": "audiolanguage_1629287470french.png",
"status": 1
}
],
"subtitles ": [
{
"id": 1,
"sub_lang": null,
"sub_t": "english_subtitle.txt",
"m_t_id": "5",
"ep_id": null,
"created_at": "2021-08-03T16:32:35.000000Z",
"updated_at": "2021-08-03T16:32:35.000000Z"
},
{
"id": 2,
"sub_lang": "Spanish",
"sub_t": "spanish_subtitle.vtt",
"m_t_id": "2",
"ep_id": null,
"created_at": "2021-08-17T14:06:31.000000Z",
"updated_at": "2021-08-17T14:06:31.000000Z"
}
],
"genre": [
{
"id": 1,
"name": "Action",
"image": "genre_1627997509contract-murderer.jpg",
"position": 1,
"created_at": "2021-08-03T14:53:10.000000Z",
"updated_at": "2021-08-03T17:01:49.000000Z"
},
{
"id": 2,
"name": "Adventure",
"image": null,
"position": 2,
"created_at": "2021-08-03T14:53:57.000000Z",
"updated_at": "2021-08-03T17:02:26.000000Z"
},
]
}
{
"message": "Unauthorized !"
}
//or
{
"message": "Secret Key is required"
}
{
"message": "Invalid Secret Key !"
}
Last updated