Skip to content
On this page

Webpage

Upload webpage

Upload a new webpage to HamsterBase.

Request Syntax: POST /public/api/v1/webpages

Request parameters: UploadWebpageRequest

returns results: Webpage

Common Errors

  1. E0001 webpage parsing failure

Delete webpage

Delete a webpage.

Request Syntax: DELETE /public/api/v1/webpages/{id}

Path parameters:id string

returns results: Webpage

Patch webpage

Patch a webpage by view id.

Request Syntax:PATCH /public/api/v1/webpages/${id}

Path parameters:id string

Request parameters: PatchWebPageRequest

returns results: Webpage

Get webpage details

Get webpage details by view id.

Request Syntax: GET /public/api/v1/webpages/${id}

Path parameters:id string

returns results: Webpage

Get webpage content

Get base64 content by view id.

Request Syntax:GET /public/api/v1/webpages/${id}/content

Path parameters:id string

returns results: String

Get webpages list

Filter all webpages that meet the requirements based on the filter criteria

Request Syntax:GET /public/api/v1/webpages

Request parameters: WebpagesListOptions

returns results: WebpagesList