Skip to content

Cloud phone screen capture

Request

Get the real-time screen capture of the specified cloud phone instance. Supports returning a temporary signed URL with an expiration timestamp.

Bodyapplication/jsonrequired
idinteger, (int64)required

cloud phone ID

Example:1558968155668507
POST
/api/cloudphone/screenCap
curl -i -X POST \
  http://127.0.0.1:40000/api/cloudphone/screenCap \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 1558968155668507
  }'

Responses

Bodyapplication/json
codeinteger

Response code: 0 = success, >0 = error

dataobject
msgstring

Message; populated if code > 0

Response
{ "code": 0, "data": { "url": "http://oss.morelogin.com/test.png", "status": "finish", "expireAt": 1756024767163, "success": true }, "msg": "string" }