Authorization: Bearer ********************curl --location 'http://prod-cn.your-api-server.com/admin/tasks?page=undefined&per_page=undefined&keyword=undefined&group_id=undefined&type=undefined&status=undefined' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
},
"meta": {
"current_page": 0,
"from": 0,
"last_page": 0,
"links": [
{
"url": null,
"label": "string",
"active": true
}
],
"path": "string",
"per_page": 0,
"to": 0,
"total": 0
},
"data": [
{
"id": 0,
"group_id": 0,
"group": {
"id": 0,
"name": "string"
},
"name": "string",
"code": "string",
"type": "string",
"type_label": "string",
"description": "string",
"condition": {},
"reward_type": "string",
"reward_type_label": "string",
"reward_amount": 0,
"claim_mode": 0,
"claim_mode_label": "string",
"sort_order": 0,
"target_value": 0,
"start_at": "2019-08-24T14:15:22.123Z",
"end_at": "2019-08-24T14:15:22.123Z",
"status": true,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
]
}