QueryDownloadStatus
The queryDownloadStatus
is used to check the status for downloading an account through DMCS.
Request Parameter
Parameter | Type | Description | Remark |
---|---|---|---|
openID | string | Player Network SDK unique user ID The default value is 64-bit unsigned integer string, 32-bit string is also supported. | Optional |
uID | string | Custom account UID | Optional |
Request Sample
dsrApi.queryDownloadStatus(
{
openID:'136...152',
uID:'339...025',
}
).then((res) => {
console.log(res);
});
Response Parameter
Parameter | Type | Description |
---|---|---|
ret | number | Return code 0: Request success, parse related returned field information. !=0: Request failure, check msg for the detailed return message. |
msg | string | Return message |
created_at | int64 | The latest request creation timestamp If status is 0, created_at is 0. |
status | number | Account download status 0: No record or operation expired (downloads are valid for 30 days) 1: Processing 2: Done 3: Failed |
seq | string | Sequence 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,
}