NOTE: User must be logged in as admin to access this API
URL : api/tags-list
Method : GET
Query Parameters :
| Parameter | Type | Possible Values | Required/Optional | Description |
| sort-field | String | name | Optional | Field name to sort |
| sort-order | String | asc, desc | Optional | Sorting order either ascending or descending |
| search-query | String | tag name | Optional | Keyword to be searched in Tag list page |
| limit | Integer | 10 | Optional | Number of records to be displayed in each page |
| page | Integer | 1 | Optional | Page number |
Success Response:
{
"success": true,
"data": {
"current_page": 1,
"first_page_url": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/tag-list?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/tag-list?page=1",
"next_page_url": null,
"path": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/tag-list",
"per_page": 10,
"prev_page_url": null,
"to": 2,
"total": 2,
"tags": [
{
"id": 2,
"name": "ABhishek",
"description": "Testing Purpose",
"ticket_count": 3
},
{
"id": 5,
"name": "Second",
"description": "Seconfd Tag",
"ticket_count": 0
}
]}
}