+++
get:/collect/list?access-token=:access-token
*:access-token=92ece3ec585b1b0d433a98d7d8e93410#安全驗證字符串
<<<
success
{
"success": true,
"data": {
"items": [
{
"id": "2388996",
"catid": "519",
"title": "白露節氣陰氣漸重養生之道重在養肺 白露養生飲食推薦55",
"thumb": "http://www.lrb_api.com/uploadfile/2016/0904/1472981457199284.jpg",
"keywords": "白露 養生 ",
"description": "二十四節氣之白露節氣,所謂“陰氣漸重,凌而為露,故名白露”,白露節氣氣溫開始下降,天氣轉涼,早晨草木上有了露水。白露是九月的頭一個節氣。",
"username": "duweiyi",
"inputtime": "1472983019",
"updatetime": "1472982444",
"like": "0",
"comment": "0"
},
{
"id": "1",
"catid": "536",
"title": "測試視5566",
"thumb": "",
"keywords": "",
"description": "",
"username": "admin",
"inputtime": "1476768680",
"updatetime": "1476768807",
"like": "12",
"comment": "3"
}
],
"_links": {
"self": {
"href": "http://www.lrb_api.com/v1/collect/list?page=1"
}
},
"_meta": {
"totalCount": "2",
"pageCount": 1,
"currentPage": 1,
"perPage": 20
}
}
}
<<<
error
{
"success": false,
"data": {
"name": "Unauthorized",
"message": "access-token是一個無效的憑證.",
"code": 0,
"status": 401,
"type": "yii\\web\\UnauthorizedHttpException"
}
}
+++
### header頭信息:
| 參數名 | 參數值 |
| --- | --- |
| Accept | application/json |
| DeviceId | 310995000000000|
| Sign | e67ce2f83ca715552c7040c6801e020f |