cURL
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": "" }
operation application (start/stop/restart/uninstall)
Phone ID, The Get phone list returns the ID contained in the data.
Get phone list
APK package name,Obtain through Get App list
Get App list
Operation to perform: uninstall=Uninstall App, start=Start App, restart=Restart App, stop=Stop App, clear=Clear App
Request link ID
code
Request return message
Status, representing whether this is an instant completion or waiting state, finish or pending
Request return data