Skip to main content
POST
/
open
/
api
/
getRemoteComponentToken
Obtain the token of the remote push streaming component.
curl --request POST \
  --url https://user.pmock.com/api/open/api/getRemoteComponentToken \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneId": 123,
  "showNavigation": true
}
'
{
  "traceId": "<string>",
  "code": 123,
  "msg": "<string>",
  "status": "finish",
  "data": {
    "url": "<string>"
  }
}

Body

application/json
phoneId
integer<int64>
required

phone Id

showNavigation
boolean
default:true

Whether to show the three-button navigation, shown by default.

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