Lybic Docs

预览沙箱

截取沙箱的截图并获取光标位置。

POST
/api/orgs/{orgId}/sandboxes/{sandboxId}/preview

截取沙箱的截图并获取光标位置。

Path Parameters

sandboxId*string
orgId*string

组织 ID

Response Body

application/json

curl -X POST "https://loading/api/orgs/string/sandboxes/string/preview"
{
  "screenShot": "http://example.com",
  "cursorPosition": {
    "x": 0,
    "y": 0,
    "screenWidth": 0,
    "screenHeight": 0,
    "screenIndex": 0
  },
  "actionResult": null
}