Skip to main content

QueryDownloadStatus

The queryDownloadStatus is used to check the status for downloading an account through DMCS.

Request Parameter

ParameterTypeDescriptionRemark
openIDstringPlayer Network SDK unique user ID
The default value is 64-bit unsigned integer string, 32-bit string is also supported.
Optional
uIDstringCustom account UIDOptional

Request Sample

dsrApi.queryDownloadStatus(
{
openID:'136...152',
uID:'339...025',
}
).then((res) => {
console.log(res);
});

Response Parameter

ParameterTypeDescription
retnumberReturn code
0: Request success, parse related returned field information.
!=0: Request failure, check msg for the detailed return message.
msgstringReturn message
created_atint64The latest request creation timestamp
If status is 0, created_at is 0.
statusnumberAccount download status
0: No record or operation expired (downloads are valid for 30 days)
1: Processing
2: Done
3: Failed
seqstringSequence number of the message in the data stream

Response Sample

{
created_at: "0",
msg: "intl_cluster is not yet deployed",
ret: 1,
seq: "1640266743-...-0010429252",
status: 0,
}