Skip to main content
POST
/
open
/
api
/
phone
/
file
/
download
Phone file download
curl --request POST \
  --url https://user.pmock.com/api/open/api/phone/file/download \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneId": 123,
  "filePath": "<string>",
  "size": "<string>"
}
'
{
  "traceId": "",
  "code": 0,
  "msg": "",
  "data": {
    "downId": "",
    "taskId": 0
  },
  "status": ""
}

Body

application/json
phoneId
integer<int64>
required

Phone ID,obtain through Get phone list api

filePath
string
required

File download path,The path for downloading the file

size
string
required

File size in bytes,The size of the downloaded file

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
object

Request return data