Headers

key value
Postman-Token < calculated when request is sent>
Content-Type multipart/form-data; boundary= < calculated when request is sent>
Content-Length < calculated when request is sent>
Host < calculated when request is sent>
User-Agent PostmanRuntime/7.43.0
Accept */*
Accept-Encoding gzip,deflate,br
STORE-API-KEY dYXQcX57joyFQXBxizNYZqjceWLTtEdv2lsNBQQP

Signup

This group provides access to the core resources for the application. Below is an endpoint that retrieves the resource information in JSON format.

Endpoint:(POST)user/signup

body

Key Value
name user
email monalisa@gmail.com
password 12345678
password_confrirm 12345678
store_id 1

Response

{
    "status": "success",
    "message": "Signup successful",
    "data": {
        "user":{
        "id": 1,
        "name": "user",
        "email":"monalisa@gmail.com",
        "store_id":1,
        
        "created_at": "2025-01-07T07:07:12.000000Z",
        "updated_at": "2025-01-07T07:07:12.000000Z",
        "id":9

    }
   
},
  "status_code":200

}

This endpoint allows you to retrieve the resource information for your application, which includes basic details like ID and name. The response will be in JSON format and will contain the data you requested.

Login

Endpoint:(POST)user/login

body

Key Value
email monalisa@gmail.com
password 12345678

Responce

{
                
"status": "success",
"message": "Login successful",
"data": {
"user": {
"id": 9,
"store_id": 1,
"name": "user",
"email": "monalisa@gmail.com",
"email_verified_at": null,
    "has_verified": 0,
    "created_at": "2025-01-08T06:26:24.000000Z",
    "updated_at": "2025-01-08T06:26:24.000000Z"
    }, 
    "token":"10|9vcxxtdwPy5YyK6T7CoNzChKrHCCCJsjBY4IgwOZ1f32f705"
}
        "status_code": 200
      } 

Fogot Password

Details about Forgot Password content...

Content

Endpoint: (GET)https://orocastapi.icodexa.com/api/user

Headers

Get Categories

Endpoint: (GET)/user/content/getCategories

Response

{

"status": "success",
"message": "Categories retrieved successfully",
"data": [
    {
        "id": 46,
        "store_id": 1,
        "parent_id": null,
        "name": "headline",
        "slug": "headline",
        "image": null,
        "created_at": "2025-01-09T04:49:58.000000Z",
        "updated_at": "2025-01-09T04:49:58.000000Z",
        "subcategories": []
    },
    {
        "id": 47,
        "store_id": 1,
        "parent_id": null,
        "name": "headline",
        "slug": "headline",
        "image": null,
        "created_at": "2025-01-09T05:04:18.000000Z",
        "updated_at": "2025-01-09T05:04:18.000000Z",
        "subcategories": []
    },
    {
        "id": 51,
        "store_id": 1,
        "parent_id": null,
        "name": "headline",
        "slug": "headline",
        "image": null,
        "created_at": "2025-01-09T07:25:53.000000Z",
        "updated_at": "2025-01-09T07:25:53.000000Z",
        "subcategories": []
    },
    {
        "id": 53,
        "store_id": 1,
        "parent_id": null,
        "name": "headline",
        "slug": "headline",
        "image": null,
        "created_at": "2025-01-09T09:22:39.000000Z",
        "updated_at": "2025-01-09T09:22:39.000000Z",
        "subcategories": []
    },
    {
        "id": 54,
        "store_id": 1,
        "parent_id": null,
        "name": "headline",
        "slug": "headline",
        "image": null,
        "created_at": "2025-01-09T09:24:49.000000Z",
        "updated_at": "2025-01-09T09:24:49.000000Z",
        "subcategories": [
        {
            "id": 61,
            "store_id": 1,
            "parent_id": 54,
            "name": "head",
            "slug": "head",
            "image": "https://markstreaming.s3.amazonaws.com/1/images/1736524763.png",
            "created_at": "2025-01-10T15:59:25.000000Z",
            "updated_at": "2025-01-10T15:59:25.000000Z"
        }
     ]
    },
    {
        "id": 55,
        "store_id": 1,
        "parent_id": null,
        "name": "headline",
        "slug": "headline",
        "image": null,
        "created_at": "2025-01-09T09:53:04.000000Z",
        "updated_at": "2025-01-09T09:53:04.000000Z",
        "subcategories": [
            {
                "id": 62,
                "store_id": 1,
                "parent_id": 55,
                "name": "head",
                "slug": "head-2",
                "image": "https://markstreaming.s3.amazonaws.com/1/images/1736524784.png",
                "created_at": "2025-01-10T15:59:45.000000Z",
                "updated_at": "2025-01-10T15:59:45.000000Z"
            }
        ]
    }
        ],
        "status_code": 200
    }
                
            

Get Contents By Category

Endpoint: (GET)/user/content/getContentByCategory

Responce

{
"status": "success",
"message": "Category data retrieved successfully",
"data": {
    "category": {
        "id": 3,
        "store_id": 3,
        "parent_id": null,
        "name": "Continuing Watching",
        "slug": "continuing-watching",
        "image": "https://markstreaming.s3.amazonaws.com/3/images/1736330231.jpg",
        "created_at": "2025-01-07T07:50:40.000000Z",
        "updated_at": "2025-01-08T09:57:12.000000Z",
        "subcategories": [
            {
                "id": 4,
                "store_id": 3,
                "parent_id": 3,
                "name": "Transforemr",
                "slug": "transforemr",
                "image": "https://markstreaming.s3.amazonaws.com/3/images/1736236328.jpg",
                "created_at": "2025-01-07T07:52:09.000000Z",
                "updated_at": "2025-01-07T07:52:09.000000Z"
            },
            {
                "id": 5,
                "store_id": 3,
                "parent_id": 3,
                "name": "Ghett A Life",
                "slug": "ghett-a-life",
                "image": "https://markstreaming.s3.amazonaws.com/3/images/1736236360.jpg",
                "created_at": "2025-01-07T07:52:41.000000Z",
                "updated_at": "2025-01-07T07:52:41.000000Z"
            },
                }
            }
        } 

Get Content By Id

Endpoint: (GET)/user/content/getContentByContent

Responce

{
"status": "success",
"message": "Content retrieved successfully",
"data": {
    "content": {
        "id": 15,
        "store_id": 1,
        "uniqid": "137160a4bb051a26d860af65e22acbb0",
        "parent_id": null,
        "type": "Multi",
        "content": "Video",
        "title": "Content",
        "slug": "content-3",
        "description": "Text",
        "release_type": "Date",
        "release_date": "2018-05-24",
        "has_published": "No",
        "category_id": null,
        "genre": null,
        "enable_season": "No",
        "season_prefix": "Null",
        "episode_prefix": "Null",
        "created_at": "2025-01-09T07:23:52.000000Z",
        "updated_at": "2025-01-09T07:23:52.000000Z",
        "contentposters": [
            {
                "id": 17,
                "content_id": 15,
                "image": "https://markstreaming.s3.amazonaws.com/images/1736407536.png",
                "type": "Banner",
                "created_at": "2025-01-09T07:25:37.000000Z",
                "updated_at": "2025-01-09T07:25:37.000000Z"
            }
        ],
        "contentmonetizations": [],
        "contentlikes": [],
        "contentcomments": [],
        "contentcasts": []
    },
    "categories": [],
    "genres": []
},
"status_code": 200
            }

Get Contents By Season Id

Endpoint:(GET)/user/content/getContentSeasons

Responce

{
"status": "success",
"message": "Content retrieved successfully",
"data": {
    "content": {
        "id": 15,
        "store_id": 1,
        "uniqid": "137160a4bb051a26d860af65e22acbb0",
        "parent_id": null,
        "type": "Multi",
        "content": "Video",
        "title": "Content",
        "slug": "content-3",
        "description": "Text",
        "release_type": "Date",
        "release_date": "2018-05-24",
        "has_published": "No",
        "category_id": null,
        "genre": null,
        "enable_season": "No",
        "season_prefix": "Null",
        "episode_prefix": "Null",
        "created_at": "2025-01-09T07:23:52.000000Z",
        "updated_at": "2025-01-09T07:23:52.000000Z",
        "contentposters": [
            {
                "id": 17,
                "content_id": 15,
                "image": "https://markstreaming.s3.amazonaws.com/images/1736407536.png",
                "type": "Banner",
                "created_at": "2025-01-09T07:25:37.000000Z",
                "updated_at": "2025-01-09T07:25:37.000000Z"
            }
        ],
        "contentcasts": [],
        "contentseasons": []
    },
    "categories": [],
    "genres": [],
    "contentseasons": []
},
"status_code": 200
            }
          

Search Content

Endpoint: (GET)/user/content/getContentBySearch

Responce

{
"status": "success",
"message": "Content retrieved successfully",
"data": {
"content": [
    {
        "id": 12,
        "store_id": 1,
        "uniqid": "71f0a1d2b837dbc537e2d450b9bb9490",
        "parent_id": null,
        "type": "Multi",
        "content": "Video",
        "title": "Content",
        "slug": "content",
        "description": "Text",
        "release_type": "Date",
        "release_date": "2018-05-24",
        "has_published": "No",
        "category_id": null,
        "genre": null,
        "enable_season": "No",
        "season_prefix": "Null",
        "episode_prefix": "Null",
        "created_at": "2025-01-09T04:51:15.000000Z",
        "updated_at": "2025-01-09T04:51:15.000000Z"
    },
    {
        "id": 14,
        "store_id": 1,
        "uniqid": "df23f12c2ffe9fa4f57ee5c14d189aee",
        "parent_id": null,
        "type": "Multi",
        "content": "Video",
        "title": "Content",
        "slug": "content-2",
        "description": "Text",
        "release_type": "Date",
        "release_date": "2018-05-24",
        "has_published": "No",
        "category_id": null,
        "genre": null,
        "enable_season": "No",
        "season_prefix": "Null",
        "episode_prefix": "Null",
        "created_at": "2025-01-09T07:23:25.000000Z",
        "updated_at": "2025-01-09T07:23:25.000000Z"
    },
    ]

},
    "status_code": 200
                    }

Get Casts

Endpoint:(GET)/user/content/getCasts

Responce

{
"status": "success",
"message": "Cast get successfully",
"data": [
{
"id": 6,
"store_id": 1,
"name": "CASTMAN",
"slug": "castman",
"image": "https://markstreaming.s3.amazonaws.com/1/images/1736398178.png",
"bio": "teacher",
"created_at": "2025-01-09T04:49:39.000000Z",
"updated_at": "2025-01-09T04:49:39.000000Z",
"content_casts": []
}
        ],
        "status_code": 200
  }

Get Single Cast

Endpoint: (GET)/user/content/getSingleCast

Responce

{
"status": "success",
"message": "Cast retrieved successfully",
"data": {
    "id": 6,
    "store_id": 1,
    "name": "CASTMAN",
    "slug": "castman",
    "image": "https://markstreaming.s3.amazonaws.com/1/images/1736398178.png",
    "bio": "teacher",
    "created_at": "2025-01-09T04:49:39.000000Z",
    "updated_at": "2025-01-09T04:49:39.000000Z",
    "content_casts": []
        },
        "status_code": 200
        }
     

Get Contents By Cast

Endpoint:(GET)/user/content/getContentByCast

Responce

{
"status": "success",
"message": "Content retrieved successfully",
"data": {
    "content": {
        "id": 4,
        "store_id": 3,
        "uniqid": "04ff588e4164a0fe641e92cda0eda1d6",
        "parent_id": null,
        "type": "Single",
        "content": "Video",
        "title": "Transformer",
        "slug": "transformer",
        "description": "This is the transformer Movie",
        "release_type": "Immediate",
        "release_date": null,
        "has_published": "Yes",
        "category_id": "3,4,5,7,8,9,10,11,39,40,41,42,43,44,45",
        "genre": ",1,2,3,4,5",
        "enable_season": "No",
        "season_prefix": "Null",
        "episode_prefix": "Null",
        "created_at": "2025-01-07T08:48:27.000000Z",
        "updated_at": "2025-01-07T08:51:04.000000Z",
        "contentcasts": [
                {
                    "id": 1,
                    "content_id": 4,
                    "cast_id": 1,
                    "role": "Lead",
                    "description": "sdsd",
                    "created_at": "2025-01-07T08:49:40.000000Z",
                    "updated_at": "2025-01-07T08:49:40.000000Z",
                    "cast": {
                        "id": 1,
                        "store_id": 3,
                        "name": "A",
                        "slug": "a",
                        "image": "https://markstreaming.s3.amazonaws.com/3/images/1736234156.jpg",
                        "bio": "dsjnvojsd",
                        "created_at": "2025-01-07T07:15:58.000000Z",
                        "updated_at": "2025-01-07T07:15:58.000000Z"
                    }
            },
            {
                "id": 2,
                "content_id": 4,
                "cast_id": 2,
                "role": "Developer",
                "description": "sdcs",
                "created_at": "2025-01-07T08:50:00.000000Z",
                "updated_at": "2025-01-07T08:50:00.000000Z",
                "cast": {
                    "id": 2,
                "store_id": 3,
                "name": "B",
                "slug": "b",
                "image": "https://markstreaming.s3.amazonaws.com/3/images/1736234204.jpg",
                    "bio": "When you land on a sample web page or open an email template and see content beginning with
                    \"lorem ipsum\"the page creator placed that apparent gibberish there on purpose.
                    Page layouts look better with something in each section. Web page designers, content writers,
                    and layout artists use lorem ipsum, also known as placeholder copy, 
                    to distinguish which areas on a page will hold advertisements, editorials,
                    and filler before the final written content and website designs receive client approval. 
                    Fun Lorem Ipsum text may appear in any size and font to simulate everything you create for your campaigns.",
                    "created_at": "2025-01-07T07:16:45.000000Z",
                    "updated_at": "2025-01-07T07:16:45.000000Z"
                }
            },
            }
        ]
                        },
                          
                        "casts": []

                        "status_code": 200
                    
                    }

Get Genres

Endpoint:(GET)/user/content/getGenres

Responce


{

"status": "success",
"message": "Genre retrieved successfully",
"data": {
    "genres": [
        {
            "id": 1,
            "store_id": 3,
            "name": "Optimus Prime",
            "slug": "optimus-prime",
            "created_at": "2025-01-07T07:25:13.000000Z",
            "updated_at": "2025-01-07T07:25:13.000000Z"
        },
        {
            "id": 2,
            "store_id": 3,
            "name": "Bumble Bee",
            "slug": "bumble-bee",
            "created_at": "2025-01-07T07:25:41.000000Z",
            "updated_at": "2025-01-07T07:25:41.000000Z"
        },
        
    ]
},
"status_code": 200
        }

Get Contents By Genre

Endpoint:(GET)/user/content/getContentByGenre

Responce

{

"status": "success",
"message": "Content retrieved successfully",
"data": {
    "content": {
        "id": 4,
        "store_id": 3,
        "uniqid": "04ff588e4164a0fe641e92cda0eda1d6",
        "parent_id": null,
        "type": "Single",
        "content": "Video",
        "title": "Transformer",
        "slug": "transformer",
        "description": "This is the transformer Movie",
        "release_type": "Immediate",
        "release_date": null,
        "has_published": "Yes",
        "category_id": "3,4,5,7,8,9,10,11,39,40,41,42,43,44,45",
        "genre": ",1,2,3,4,5",
        "enable_season": "No",
        "season_prefix": "Null",
        "episode_prefix": "Null",
        "created_at": "2025-01-07T08:48:27.000000Z",
        "updated_at": "2025-01-07T08:51:04.000000Z",
            "contentposters": [
                {
                    "id": 1,
                    "content_id": 4,
                    "image": "https://markstreaming.s3.amazonaws.com/images/1736239759.jpg",
                    "type": "Poster",
                    "created_at": "2025-01-07T08:49:20.000000Z",
                    "updated_at": "2025-01-07T08:49:20.000000Z"
                },
                {
                    "id": 2,
                    "content_id": 4,
                    "image": "https://markstreaming.s3.amazonaws.com/images/1736239766.jpg",
                    "type": "Banner",
                    "created_at": "2025-01-07T08:49:27.000000Z",
                    "updated_at": "2025-01-07T08:49:27.000000Z"
                },
            ],
            "contentcasts": [
                {
                    "id": 1,
                    "content_id": 4,
                    "cast_id": 1,
                    "role": "Lead",
                    "description": "sdsd",
                    "created_at": "2025-01-07T08:49:40.000000Z",
                    "updated_at": "2025-01-07T08:49:40.000000Z",
                    "cast": {
                        "id": 1,
                        "store_id": 3,
                        "name": "A",
                        "slug": "a",
                        "image": "https://markstreaming.s3.amazonaws.com/3/images/1736234156.jpg",
                        "bio": "dsjnvojsd",
                        "created_at": "2025-01-07T07:15:58.000000Z",
                        "updated_at": "2025-01-07T07:15:58.000000Z"
                    }
                },
                {
                   "id": 2,
                        "content_id": 4,
                        "cast_id": 2,
                        "role": "Developer",
                        "description": "sdcs",
                        "created_at": "2025-01-07T08:50:00.000000Z",
                        "updated_at": "2025-01-07T08:50:00.000000Z",
                        "cast": {
                            "id": 2,
                            "store_id": 3,
                            "name": "B",
                            "slug": "b",
                             "image": "https://markstreaming.s3.amazonaws.com/3/images/1736234204.jpg",
                              "bio": "When you land on a sample web page or open an email template and see content beginning with
                               \"lorem ipsum\"the page creator placed that apparent gibberish there on purpose.
                                Page layouts look better with something in each section. Web page designers, content writers,
                                and layout artists use lorem ipsum, also known as placeholder copy, 
                                to distinguish which areas on a page will hold advertisements, editorials,
                                and filler before the final written content and website designs receive client approval. 
                                Fun Lorem Ipsum text may appear in any size and font to simulate everything you create for your campaigns.",
                            
                                 "created_at": "2025-01-07T07:16:45.000000Z",
                                 "updated_at": "2025-01-07T07:16:45.000000Z"
                       }
                            },
                            
                            }
                        ],
                        "contentseasons": [
                        {
                            "id": 1,
                            "content_id": 4,
                            "image": "https://markstreaming.s3.amazonaws.com/images/1736239759.jpg",
                            "type": "Poster",
                            "created_at": "2025-01-07T08:49:20.000000Z",
                            "updated_at": "2025-01-07T08:49:20.000000Z"
                        },
                        {
                            "id": 2,
                            "content_id": 4,
                            "image": "https://markstreaming.s3.amazonaws.com/images/1736239766.jpg",
                            "type": "Banner",
                            "created_at": "2025-01-07T08:49:27.000000Z",
                            "updated_at": "2025-01-07T08:49:27.000000Z"
                        },
                        ]
                    },
                            "categories": [
                                
                                        {
                                            "id": 40,
                                            "store_id": 3,
                                            "parent_id": 39,
                                            "name": "Made in Jamaica",
                                            "slug": "made-in-jamaica",
                                            "image": "https://markstreaming.s3.amazonaws.com/3/images/1736400165.jpg",
                                            "created_at": "2025-01-07T08:38:10.000000Z",
                                            "updated_at": "2025-01-09T05:22:46.000000Z"
                                        },
                                    ],
                                    "genres": [
                                        {
                                            "id": 1,
                                            "store_id": 3,
                                            "name": "Optimus Prime",
                                            "slug": "optimus-prime",
                                            "created_at": "2025-01-07T07:25:13.000000Z",
                                            "updated_at": "2025-01-07T07:25:13.000000Z"
                                        },
                                    ],
                                    "contentseasons": []
                                },
                                "status_code": 200
                            
                        

Get Content Seasons

Endpoint:(GET)/user/content/getContentSeasons

Responce

{

"status": "success",
"message": "Content retrieved successfully",
"data": {
    "content": {
        "id": 21,
        "store_id": 1,
        "uniqid": "bf638e3839835f3cdafdb8d798239639",
        "parent_id": null,
        "type": "Multi",
        "content": "Video",
        "title": "Content",
        "slug": "content-5",
        "description": "Text",
        "release_type": "Date",
        "release_date": "2018-05-24",
        "has_published": "No",
        "category_id": "51",
        "genre": "7",
        "enable_season": "No",
        "season_prefix": "Null",
        "episode_prefix": "Null",
        "created_at": "2025-01-09T11:48:20.000000Z",
        "updated_at": "2025-01-09T11:48:20.000000Z",
        "contentseasons": []
            }
        },
        "status_code": 200
                        }

                    

AddToWatch

This group contains further detailed API resources for advanced use cases.

Create Watch List

Endpoint:(POST)/user/watchlist/createWatchList

body

key value
user_id 17
content_id 21

Response

{
"status": "success",
"message": "AddToWatchList created successfully",
"data": {
    "user_id": 17,
    "store_id": 3,
    "content_id": "21",
    "updated_at": "2025-01-22T06:47:32.000000Z",
    "created_at": "2025-01-22T06:47:32.000000Z",
    "id": 19
},
            "status_code": 200
                        }
                    

GetWatch List

Endpoint:(GET)/user/watchlist/getWatchList

Response

{
"status": "success",
"message": "AddToWatchList entry retrieved successfully",
"data": {
    "id": 19,
    "store_id": 3,
    "user_id": 17,
    "content_id": 21,
    "created_at": "2025-01-22T06:47:32.000000Z",
    "updated_at": "2025-01-22T06:47:32.000000Z"
},
"status_code": 200
         }
         

Get Watch Lists

Endpoint:(GET)/user/watchlist/getWatchLists

Response

{
"status": "success",
"message": "All AddToWatchList entries retrieved successfully",
"data": [
    {
        "id": 18,
        "store_id": 1,
        "user_id": 18,
        "content_id": 21,
        "created_at": "2025-01-22T06:46:36.000000Z",
        "updated_at": "2025-01-22T06:46:36.000000Z"
    },
],
"status_code": 200
        }

Update Watch List

Endpoint:(PUT)/user/watchlist/updateWatchList

body

                    {
                        "content_id":"5",
                        "user_id":"2"
                    }
                   

Response

{

"status": "success",
"message": "AddToWatchList entry updated successfully",
"data": {
    "id": 19,
    "store_id": 3,
    "user_id": 17,
    "content_id": "5",
    "created_at": "2025-01-22T06:47:32.000000Z",
    "updated_at": "2025-01-22T12:54:12.000000Z"
},
"status_code": 200
        } 

DeleteAddToWatch

Endpoint:(DELETE)/user/watchlist/deleteWatchList

Response

{
    "status": "success",
    "message": "AddToWatchList entry deleted successfully",
    "status_code": 200
}
                    

Favorite

This group contains further detailed API resources for advanced use cases.

Create Favorite

Endpoint:(POST)/user/favorite/createFavorite

body

key value
user_id 2
content_id 5

Response

{
    "status": "success",
    "message": "Favorite Data successfully  .",
    "data": {
        "store_id": 3,
        "user_id": "2",
        "content_id": "5",
        "updated_at": "2025-01-23T06:07:22.000000Z",
        "created_at": "2025-01-23T06:07:22.000000Z",
        "id": 11
    },
    "status_code": 201

    }

Get Favorite

Endpoint:(GET)/user/favorite/getFavorite

Response

{
    "status": "success",
    "message": "Favorite retrieved successfully.",
    "data": {
        "id": 3,
        "store_id": 3,
        "user_id": 1,
        "content_id": 13,
        "created_at": "2025-01-11T06:15:06.000000Z",
        "updated_at": "2025-01-11T06:15:06.000000Z"
    },
    "status_code": 200
}
                    

Get Favorites

Endpoint:(GET)/user/favorite/getFavorites

Response

{
    "status": "success",
    "message": "Favorites retrieved successfully.",
    "data": [
        {
            "id": 1,
            "store_id": 3,
            "user_id": 1,
            "content_id": 13,
            "created_at": "2025-01-09T07:10:06.000000Z",
            "updated_at": "2025-01-09T07:10:06.000000Z"
        },
        {
            "id": 2,
            "store_id": 3,
            "user_id": 1,
            "content_id": 13,
            "created_at": "2025-01-11T06:15:00.000000Z",
            "updated_at": "2025-01-11T06:15:00.000000Z"
        },
        {
            "id": 3,
            "store_id": 3,
            "user_id": 1,
            "content_id": 13,
            "created_at": "2025-01-11T06:15:06.000000Z",
            "updated_at": "2025-01-11T06:15:06.000000Z"
        },
        {
            "id": 4,
            "store_id": 3,
            "user_id": 8,
            "content_id": 8,
            "created_at": "2025-01-11T06:16:35.000000Z",
            "updated_at": "2025-01-11T06:16:35.000000Z"
        },
        {
            "id": 5,
            "store_id": 3,
            "user_id": 8,
            "content_id": 8,
            "created_at": "2025-01-11T06:18:22.000000Z",
            "updated_at": "2025-01-11T06:18:22.000000Z"
        },
        
        
        
    ],
    "status_code": 200
                        } 

Update Favorite

Endpoint:(PUT)/user/favorite/updateFavorite

body

                        {
                            "user_id":23
                        }
                    

Response

{
    "status": "success",
    "message": "Favorite updated successfully.",
    "data": {
        "id": 1,
        "store_id": 3,
        "user_id": 1,
        "content_id": 13,
        "created_at": "2025-01-09T07:10:06.000000Z",
        "updated_at": "2025-01-09T07:10:06.000000Z"
    },
    "status_code": 200
         }

Delete Favorite

Endpoint:(DELETE)/user/favorite/deleteFavorite

Response

{
    "status": "success",
    "message": "Favorite deleted successfully.",
    "status_code": 200
}

Support

This group contains further detailed API resources for advanced use cases.

Create Ticket

Endpoint:(POST)/user/ticket/createTicket

body

key value
subject movie
type issues
description series
priority High
status open

Response

{
    "status": "success",
    "message": "UserTicket created successfully",
    "data": {
        "store_id": 3,
        "user_id": 17,
        "subject": "movie",
        "type": "General",
        "priority": "High",
        "status": "Open",
        "description": "series",
        "updated_at": "2025-01-27T06:59:03.000000Z",
        "created_at": "2025-01-27T06:59:03.000000Z",
        "id": 2
    },
    "status_code": 201
}
         

Update Ticket

Endpoint:(PUT)/user/ticket/updateTicket

body

                                {
                                    "subject":"ant",
                                    "type":"General",
                                    "priority":"Critical",
                                    "status":"Closed",
                                 
                                    "description":"extra"
                                
                                }
    
                          

Response

{
    "status": "success",
    "message": "UserTicketTicket updated successfully",
    "data": {
        "id": 1,
        "store_id": 3,
        "user_id": 17,
        "subject": "ant",
        "description": "extra",
        "status": "Closed",
        "priority": "Critical",
        "type": "General",
        "created_at": "2025-01-24T06:42:32.000000Z",
        "updated_at": "2025-01-24T10:05:37.000000Z"
    },
    "status_code": 200
}
   

Get Ticket

Endpoint:(GET)/user/ticket/getTicket

Response

{
    "status": "success",
    "message": "Ticket get successfully",
    "data": {
        "id": 1,
        "store_id": 3,
        "user_id": 17,
        "subject": "ant",
        "description": "extra",
        "status": "Closed",
        "priority": "Critical",
        "type": "General",
        "created_at": "2025-01-24T06:42:32.000000Z",
        "updated_at": "2025-01-24T10:05:37.000000Z"
    },
    "status_code": 201
}
            

Get Tickets

Endpoint:(GET)/user/ticket/getTickets

Response

{
    "status": "success",
    "message": "Tickets get successfully",
    "data": [
        {
            "id": 1,
            "store_id": 3,
            "user_id": 17,
            "subject": "ant",
            "description": "extra",
            "status": "Closed",
            "priority": "Critical",
            "type": "General",
            "created_at": "2025-01-24T06:42:32.000000Z",
            "updated_at": "2025-01-24T10:05:37.000000Z"
        },
    ],
    "status_code": 200
}
                

Delete Ticket

Endpoint:(DELETE)/user/ticket/deleteTicket

Response

{
    "status": "success",
    "message": "Ticket deleted successfully",
    "status_code": 201
}
                

Ticket Attachmet

This group contains further detailed API resources for advanced use cases.

Create Ticket Attachment

Endpoint:(POST)/user/ticket/createTicketAttachment

body

key value
file image.webp

Response

{

"status": "success",
"message": "TicketAttachment created successfully",
"data": {
"ref_id": "2",
"type": "Ticket",
"updated_at": "2025-01-24T04:51:22.000000Z",
"created_at": "2025-01-24T04:51:22.000000Z",
"id": 2
},
"status_code": 201
}
                    

Update Ticket Attachment

Endpoint:(POST)/user/ticket/updateTicketAttachment

body

key value
file image1.webp

Response

{
"status": "success",
"message": "TicketAttachment updated successfully",
"data": {
"id": 2,
"ref_id": 2,
"type": "Ticket",
"file": null,
"created_at": "2025-01-24T04:51:22.000000Z",
"updated_at": "2025-01-24T04:51:22.000000Z"
},
"status_code": 200
}

Get TicketAttachments

Endpoint:(GET)/user/ticket/getTicketAttachments

Response

{
"status": "success",
"message": "UserTicketAttachment get successfully",
"data": [
    {
        "id": 1,
        "ref_id": 2,
        "type": "Ticket",
        "file": null,
        "created_at": "2025-01-23T10:39:57.000000Z",
        "updated_at": "2025-01-23T10:39:57.000000Z"
    },
    {
        "id": 2,
        "ref_id": 2,
        "type": "Ticket",
        "file": null,
        "created_at": "2025-01-24T04:51:22.000000Z",
        "updated_at": "2025-01-24T04:51:22.000000Z"
    }
    ],
    "status_code": 200
}

Delete TicketAttachment

Endpoint:(DELETE)/user/ticket/deleteTicketAttachment

Reponse

{
    "status": "success",
    "message": "TicketAttachment deleted successfully",
    "status_code": 200
}
            

Ticket Note

This group contains further details about Ticket.

Create Ticket Note

Endpoint:(DELETE)/user/ticket/createTicketNote

body

key value
note notes
user_id 2

Response

{
    "status": "success",
    "message": "TicketNote created successfully",
    "data": {
        "user_ticket_id": "1",
        "note": "nots",
        "user_id": 17,
        "added_by": "User",
        "updated_at": "2025-01-24T07:50:53.000000Z",
        "created_at": "2025-01-24T07:50:53.000000Z",
        "id": 8
    },
    "status_code": 201
}
 

Update Ticket Note

Endpoint:(PUT)/user/ticket/updateTicketNote

body

                   {
                    "user_id":"25"
                    }
            

Response

{
    "status": "success",
    "message": "TicketNote updated successfully",
    "data": {
        "user_ticket_id": "1",
        "note": "nots",
        "user_id": 17,
        "added_by": "User",
        "updated_at": "2025-01-24T10:15:49.000000Z",
        "created_at": "2025-01-24T10:15:49.000000Z",
        "id": 9
    },
    "status_code": 201
}
            

Get Ticket Note

Endpoint:(GET)/user/ticket/getTicketNote

Response

{
    "status": "success",
    "message": "TicketNote retrieved successfully",
    "data": {
        "id": 10,
        "user_ticket_id": 1,
        "note": "nots",
        "user_id": "17",
        "added_by": "User",
        "created_at": "2025-01-27T05:12:08.000000Z",
        "updated_at": "2025-01-27T05:12:08.000000Z"
    },
    "status_code": 200
}
            

Get Ticket Notes

Endpoint:(GET)/user/ticket/getTicketNotes

Response

{
    "status": "success",
    "message": "TicketNotes retrieved successfully",
    "data": [
        {
            "id": 8,
            "user_ticket_id": 1,
            "note": "nots",
            "user_id": "17",
            "added_by": "User",
            "created_at": "2025-01-24T07:50:53.000000Z",
            "updated_at": "2025-01-24T07:50:53.000000Z"
        },
        
    ],
    "status_code": 200
}
            

Delete Ticket Note

Endpoint:(DELETE)/user/ticket/deleteTicketNote

{
    "status": "success",
    "message": "TicketNote deleted successfully",
    "status_code": 200
}
    

Subscription

This group contains further details about Subscription plans.

Get Plans

Endpoint:(GET)/user/subscription/getStorePlans

Respose

{
    "status": "success",
    "message": "StorePlan records retrieved successfully.",
    "data": [
        {
            "id": 1,
            "store_id": 3,
            "uniqid": "620b157c-94c7-4685-b185-891c82ad8646",
            "name": "netfilxplan",
            "description": "movie platform",
            "price": "499.00",
            "recurring": "day",
            "has_active": "Yes",
            "duration": "3month",
            "gateway": "stripe",
            "gateway_plan_id": "price_1QiDkkFhJ3ILKkHhx3EEOKMW",
            "created_at": "2025-01-17T11:30:18.000000Z",
            "updated_at": "2025-01-17T11:30:18.000000Z"
        }
    ],
    "status_code": 200
}
            

Get plan

Endpoint:(GET)/user/subscription/getStorePlans

Response

{
    "status": "success",
    "message": "StorePlan records retrieved successfully.",
    "data": [
        {
            "id": 1,
            "store_id": 3,
            "uniqid": "620b157c-94c7-4685-b185-891c82ad8646",
            "name": "netfilxplan",
            "description": "movie platform",
            "price": "499.00",
            "recurring": "day",
            "has_active": "Yes",
            "duration": "3month",
            "gateway": "stripe",
            "gateway_plan_id": "price_1QiDkkFhJ3ILKkHhx3EEOKMW",
            "created_at": "2025-01-17T11:30:18.000000Z",
            "updated_at": "2025-01-17T11:30:18.000000Z"
        }
    ],
    "status_code": 200
}
            

Create Subscription

Endpoint:(GET)/user/create Subscription

Response

Subscriptions

Endpoint:(GET)/user/create Subscription

Response

Cancel Subscriptions

Endpoint:(GET)/user/create Subscription

Response

Invoices

Endpoint:(GET)/user/create Subscription

Response

Invoice

Endpoint:(GET)/user/create Subscription

Response

Page

This group contains further details about Page .

Get Pages

Endpoint:(GET)/user/page/getPages

Response

{
    "status": "success",
    "message": "Pages retrieved successfully.",
    "data": {
        "pages": [
            {
                "id": 6,
                "store_id": 3,
                "title": "Home Page",
                "slug": "home-page",
                "description": "fndjndfb",
                "template": "Home",
                "created_at": "2025-01-07T09:30:25.000000Z",
                "updated_at": "2025-01-07T09:30:25.000000Z"
            },
            
        ]
    },
    "status_code": 200
}
                        

Get Page By Id

Endpoint:(GET)/user/page/getPageById

Response

{
    "status": "success",
    "message": "Page retrieved successfully.",
    "data": {
        "id": 6,
        "store_id": 3,
        "title": "Home Page",
        "slug": "home-page",
        "description": "fndjndfb",
        "template": "Home",
        "created_at": "2025-01-07T09:30:25.000000Z",
        "updated_at": "2025-01-07T09:30:25.000000Z",
        "sections": [
            {
                "id": 1,
                "page_id": 6,
                "pos": 0,
                "type": "Banner",
                "name": "Home Section",
                "content": null,
                "show_name": 1,
                "created_at": "2025-01-07T09:31:18.000000Z",
                "updated_at": "2025-01-07T09:31:18.000000Z",
                "data": []
            },
            
        ]
    },
    "status_code": 200
}
                        

Get Section By Id

Endpoint:(GET)/user/page/getSectionById

Response

{
    "status": "success",
    "message": "Section retrieved successfully",
    "data": {
        "section": {
            "id": 1,
            "page_id": 6,
            "pos": 0,
            "type": "Banner",
            "name": "Home Section",
            "content": null,
            "show_name": 1,
            "created_at": "2025-01-07T09:31:18.000000Z",
            "updated_at": "2025-01-07T09:31:18.000000Z"
        },
        "related_data": []
    },
    "status_code": 200
}