mirror of
https://github.com/derfenix/webarchive.git
synced 2026-03-11 22:40:58 +03:00
Complete loading page to pdf and base API
This commit is contained in:
@@ -14,6 +14,12 @@ type Handler interface {
|
||||
//
|
||||
// POST /pages
|
||||
AddPage(ctx context.Context, req OptAddPageReq) (*Page, error)
|
||||
// GetFile implements getFile operation.
|
||||
//
|
||||
// Get file content.
|
||||
//
|
||||
// GET /pages/{id}/file/{file_id}
|
||||
GetFile(ctx context.Context, params GetFileParams) (GetFileRes, error)
|
||||
// GetPage implements getPage operation.
|
||||
//
|
||||
// Get page details.
|
||||
|
||||
Reference in New Issue
Block a user