Lấy ảnh của một trang
Endpoint
| Method | URL |
|---|---|
| GET | https://tpa.docbase.ai/api/v1/integrations/submissions/{SubmissionID}/pages/{PageID} |
*Sử dụng external_id thay thế cho SubmissionID
| Method | URL |
|---|---|
| GET | https://tpa.docbase.ai/api/v1/integrations/submissions/requests/{external_id}/pages/{PageID} |
Ví dụ
| Method | URL |
|---|---|
| GET | https://tpa.docbase.ai/api/v1/integrations/submissions/8189/pages/8973 |
Mô tả Trả về file ảnh của trang (image) theo PageID.
Response 200
- content_type: image/png
- Response body: dữ liệu nhị phân (binary image data) của trang.
Ghi chú
- PageID được lấy từ response của API danh sách trang.
- Có thể render trực tiếp trong
<img>hoặc lưu file về để xử lý.