v1

latestOpenAPI 3.0.02026-07-2248161142.3 KB
Collect Information

Get VPS Screenshot

This endpoint retrieves a current screenshot of the specified KVM VPS.
The api_host parameter, obtained from the "Create AUTH-session" response,
is dynamically set in the URL.
Provide the signature, kvm_id, and valid_until parameters obtained
from the same response to retrieve the screenshot.

post/kvm/v2/get/screenshot

Response

Screenshot retrieved successfully.

statusstring
datastring binary

The screenshot image encoded in Base64 format.
Use the following example to display it in an img tag.

notestring

Example script to display the image.

Example response

{
  "status": "success",
  "data": "data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD...",
  "note": "var obj = JSON.parse(serverResponse); img.src=obj.data;"
}