Home Slider
Get all home slide list by GET Method with filter function customized option for you. below list of route with parameter
https://ecom.coderorbit.com/public/api/slide
headers:{
"Accept": "application/json",
"App-Master-Key": `${app_token}`
}
### Result
{
"current_page": 1,
"data": [
{
"id": 1,
"unique_id": "UkVe17Hq4L88sEI",
"name": "first slide",
"description": "this is description",
"slug": "first_slide",
"sequence": null,
"icon": null,
"thumbnails": null,
"banner": null,
"status": 1,
"extend_props": {
"test1": "check1",
"test2": "check2"
},
"created_by": 1,
"updated_by": 1,
"created_at": "2023-05-02T21:39:48.000000Z",
"updated_at": "2023-05-02T21:39:48.000000Z",
"props": []
},
{
....
}
],
"first_page_url": "",
"from": 1,
"last_page": 1,
"last_page_url": "",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "",
"per_page": 15,
"prev_page_url": null,
"to": 3,
"total": 3
}
If you want to get by pagination to the list by GET Method Here we have this featuer for you in ths route with parameter like: limit_per_page
http://ecom.coderorbit.com/public/api/slide?limit_per_page=1
headers:{
"Accept": "application/json",
"App-Master-Key" : `${app_token}`
}
### Result
{
"current_page": 1,
"data": [
{
"id": 1,
"unique_id": "UkVe17Hq4L88sEI",
"name": "first slide",
"description": "this is description",
"slug": "first_slide",
"sequence": null,
"icon": null,
"thumbnails": null,
"banner": null,
"status": 1,
"extend_props": {
"test1": "check1",
"test2": "check2"
},
"created_by": 1,
"updated_by": 1,
"created_at": "2023-05-02T21:39:48.000000Z",
"updated_at": "2023-05-02T21:39:48.000000Z",
"props": []
},
{
....
}
],
"first_page_url": "",
"from": 1,
"last_page": 1,
"last_page_url": "",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "",
"per_page": 15,
"prev_page_url": null,
"to": 3,
"total": 3
}
=== Query Parameters ===
"limit_per_page": 1 // Default 15
"orderBy": DESC|ASC
"status": 1 // 0 | 1
"data": "all"
header {
"data": "all",
"status": "1",
"order_by": "desc"
}
Here is example url:
==============================================================================================================
GET = https://ecom.coderorbit.com/public/api/slide
==============================================================================================================
GET = https://ecom.coderorbit.com/public/api/slide?limit_per_page=1
==============================================================================================================
GET = https://ecom.coderorbit.com/public/api/slide?name=apple
==============================================================================================================
GET = https://ecom.coderorbit.com/public/api/slide?page=1
==============================================================================================================
GET = https://ecom.coderorbit.com/public/api/slide?data=all&limit_per_page=1&name=admin&page=1
==============================================================================================================