跳到主要内容

GetFileStatus

Host: dip-cb.binanceapi.com

GET /mp-api/v1/apps/{appId}/files/{fileId}

Header

ParameterRequiredDescription
X-Mp-Open-Api-TokenYesJWT token. For generation method, please refer to Description of External Interface Signature Authentication Algorithm

Path Parameters

ParameterDescription
appIdThe AppId of the mini program
fileIdThe fileId returned by the UploadFile API

Response

HTTP 200

{
"code": "000000",
"message": null,
"data": {
"status": "FAILED"
},
"success": true
}
ErrorCodeRemark
000000Success
900001Invalid Parameter
900002JWT Authentication Failed
900003Unexpected Error
900231Rate Limit

Note:

  1. The status could be either: "CHECKING", "SUCCESS", or "FAILED".
  2. If the status is "FAILED", ensure your file is both secure and valid before re-uploading.
  3. The complete file security check process takes a maximum of 10 minutes post-upload. Therefore, the status gets finalized after 10 minutes of upload.