Skip to main content
POST
/
open
/
api
/
app
/
operate
Phone app operation
curl --request POST \
  --url https://user.pmock.com/api/open/api/app/operate \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "pkg": "<string>",
  "appOp": "<string>"
}
'
{
  "traceId": "",
  "code": 0,
  "msg": "",
  "data": null,
  "status": ""
}

Body

application/json
id
integer<int64>
required

Phone ID, The Get phone list returns the ID contained in the data.

pkg
string
required

APK package name,Obtain through Get App list

appOp
string
required

Operation to perform: uninstall=Uninstall App, start=Start App, restart=Restart App, stop=Stop App, clear=Clear App

Response

200 - application/json
traceId
string
required

Request link ID

code
integer
required

code

msg
string
required

Request return message

status
string
default:finish
required

Status, representing whether this is an instant completion or waiting state, finish or pending

data
null

Request return data