Get cate sticker
Api get cate sticker
Lưu ý
- API này sẽ lấy ra tất cả danh sách sticker theo
id. ID được lấy từ api get-sticker
Thông tin Request
Method:
GETURL:
https://heavy-lobster-94.deno.dev/proxy/stickerHeaders:
accept: */*Content-Type: application/json
Parameters:
id: Lấy từ api get-sticker
Ví dụ Request
curl -X 'GET' \
'https://heavy-lobster-94.deno.dev/proxy/cate-stickers?cid=e40920d21c97f5c9ac86' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
Thông tin Response
Mô tả: Dữ liệu trả về danh sách tất cả các id của group sticker nhằm mục đích để sử dụng cho api chi tiết sticker
- Cấu trúc data của response
| Key | Type | Description |
|---|---|---|
| error | string | Trạng thái Api |
| value | string |
|
| message | string | Thông báo |
- Ví dụ Response
{
"error": 0,
"value": [
{
"id": "6168a7479b02725c2b13",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50506&size=130&version=2"
},
{
"id": "0c2ccb03f7461e184757",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50507&size=130&version=2"
},
{
"id": "c1bd01923dd7d4898dc6",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50508&size=130&version=2"
},
{
"id": "45e384ccb88951d70898",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50509&size=130&version=2"
},
{
"id": "33f9f1d6cd9324cd7d82",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50510&size=130&version=2"
},
{
"id": "6947aa68962d7f73263c",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50511&size=130&version=2"
},
{
"id": "6071bc5e801b6945300a",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50512&size=130&version=2"
},
{
"id": "e4ff39d00595eccbb584",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50513&size=130&version=2"
},
{
"id": "95d44bfb77be9ee0c7af",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50514&size=130&version=2"
},
{
"id": "2d4bf264ce21277f7e30",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50515&size=130&version=2"
},
{
"id": "d86800473c02d55c8c13",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50516&size=130&version=2"
},
{
"id": "e11f38300475ed2bb464",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50517&size=130&version=2"
},
{
"id": "a09d7ab246f7afa9f6e6",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50518&size=130&version=2"
},
{
"id": "923f491075559c0bc544",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50519&size=130&version=2"
},
{
"id": "56ab8284bec1579f0ed0",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50520&size=130&version=2"
},
{
"id": "b714623b5e7eb720ee6f",
"url": "https://zalo-api.zadn.vn/api/emoticon/sticker/webpc?eid=50521&size=130&version=2"
}
],
"message": null
}
Bảng Status Response
| Status Code | Status Message | Description |
|---|---|---|
| 200 | OK | Yêu cầu đã thành công và server trả về kết quả. |
| 201 | Created | Yêu cầu đã thành công và server đã tạo ra tài nguyên mới. |
| 204 | No Content | Yêu cầu đã thành công nhưng không có nội dung trả về. |
| 400 | Bad Request | Server không thể hiểu yêu cầu do cú pháp không hợp lệ message:
|
| 401 | Unauthorized | Cần xác thực để truy cập tài nguyên. |
| 403 | Forbidden | Server từ chối thực hiện yêu cầu, mặc dù người dùng đã xác thực. |
| 404 | Not Found | Tài nguyên yêu cầu không tồn tại trên server. |
| 405 | Method Not Allowed | Phương thức HTTP không được phép cho tài nguyên yêu cầu. |
| 500 | Internal Server Error | Lỗi không xác định trong server. |
| 502 | Bad Gateway | Server là một gateway hoặc proxy và nhận được phản hồi không hợp lệ từ server khác. |
| 503 | Service Unavailable | Server không thể xử lý yêu cầu do quá tải hoặc bảo trì. |
| 504 | Gateway Timeout | Server không nhận được phản hồi kịp thời từ server phụ trợ. |