Chuyển tới nội dung chính

Lấy danh sách nội dung dạng video

HTTP request​

Sample​

https://openapi.zalo.me/v2.0/article/getslice?offset=0&limit=5&type=video

Tham số header​

Tham số

Kiểu dữ liệu

Tính bắt buộc

Mô tả

access_token

String

Yes

Xem hướng dẫn lấy access_token ở đây.

Tham số​

Tham số

Kiểu dữ liệu

Tính bắt buộc

Mô tả

offset

Int

Yes

Vị trí bắt đầu lấy bài viết

limit

Int

Yes

Số lượng bài viết muốn lấy

Respond​

{
"error": 0,
"message": "Success",
"data": {
"medias": [
{
"id": "16ec49edd2a83bf662b",
"type": "video",
"title": "Title",
"status": "show",
"total_view": 0,
"total_share": 0,
"create_date": 1690282564733,
"update_date": 1690282564450,
"thumb": "https://zalo-article-photo.zadn.vn/92e3b6d39c8775d92c96#286706622",
"link_view": "url"
}
],
"total": 1
}
}