Webshot
GET/qlibs/:qlibid/q/:qhit/rep/webshot
Produces a screenshot of a web page.
Example Curl:
curl "https://${URL}/qlibs/${LIB}/q/${QID}/rep/webshot?height=50&width=100&animate_interval=5&url=https://example.com&inline_url=true&repeat=3&template_map={...}&authorization=${TOKEN}"
-H 'Accept: image/gif'
If the offering contains meta with the following structure a watermark will be applied to the screenshot:
sample meta assumed at the root of the meta tree or '/'
{
"image" : {…}
}
Request
Responses
- 200
- 404
- default
Screenshot file
Error message returned if the requested entity does not exist.
A generic error message.