Skip to Content
Dohana đã có bản cập nhật API mới nhất!
Tài liệu APIVideoDanh sách video

Danh sách video

💡
GET /partner/video/search

Tính năng này dùng để lấy danh sách video ở trên trang dhn.io.vn của bạn. Dữ liệu sẽ được phân trang, mỗi trang tối đa không quá 100 video.


page
number
required
Chỉ định số trang khi phân trang dữ liệu.
limit
number
required
Số lượng kết quả trả về mỗi trang.
type
string
required
Loại video cần tìm kiếm : package, inbound, outbound, prepare.
orderCode
string
optional
Mã đơn hàng liên quan đến video này. (search theo định dạng "prefix%")
status
string[]
optional
Danh sách trạng thái của video: ACTIVE, INACTIVE, CONVERTED, CONVERTING, DELETED, UP_FAILED
user
string[]
optional
Danh sách người quay video. Giá trị là user id của người dùng
p
string
optional
Khoảng thời gian query: day,day_ago, week, week_ago, month, 30day, year, custom. Với giá trị custom thì dùng trường from-to bên dưới.
from
datetime
optional
Ngày bắt đầu tìm kiếm (ví dụ: 2025-03-01T00:00:00Z).
to
datetime
optional
Ngày kết thúc tìm kiếm (ví dụ: 2025-03-15T23:59:59Z).
ENDPOINTS
GET
/partner/video/search
REQUEST
{ "page": 0, "limit": 10, "status": ["ACTIVE"] }

RESPONSE
200
{ "data": [ { "id": "fcdf6b1c-a8f2-46f0-b809-acd9a9c19d54", "storeId": "112c4d7b-68b3-4564-bb09-5cd383d01b6c", "duration": 1, "startTime": "2025-03-14T14:38:14.452Z", "orderCode": "iuy", "prepareCode": null, "metadataId": null, "metadataCam2Id": null, "metadataCompleteId": null, "status": "UP_FAILED", "slug": "wfpekbny", "type": "package", "ownerOrg": "admin", "referralBy": null, "ownerStore": "9bd919d2-8c89-418e-9dee-e3001fbdc151", "createdAt": "2025-03-14T14:38:14.452Z", "updatedAt": "2025-03-14T14:38:14.452Z", "deletedAt": null, "deletedTimeline": null, "createdBy": "9bd919d2-8c89-418e-9dee-e3001fbdc151", "driveLink": null, "convertTime": null, "metadata": null, "metadataComplete": null, "metadata2": null, "user": { "id": "9bd919d2-8c89-418e-9dee-e3001fbdc151", "email": "tecklens.wolf@gmail.com", "firstName": "David Diep", "lastName": null, "profilePicture": null, "phoneNumber": null } } ], "total": 59, "page": 0, "pageSize": 1 }
Last updated on