Skip to main content

GetFileStatus

Host: dip-cb.binanceapi.com

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

Header

ParameterRequiredDescription
X-Mp-Open-Api-TokenYJWT token, please refer to Description of External Interface Signature Authentication Algorithm

Path Parameters

ParameterDescription
appIdappId of the mini program
fileIdfileId that is returned by UploadFile API

Response

HTTP 200

{  "code": "000000",  "message": null,  "data": {     "status": "FAILED"  },  "success": true}
ErrorCodeRemark
000000Success
900001Invalid param
900002Jwt auth failed
900003Unexpected error
900231Rate limit

Note:

  1. status could be "CHECKING", "SUCCESS", "FAILED"
  2. Check if your file is safe and valid before you upload it again if status is "FAILED"
  3. The whole process for the file security check will at most take 10 minutes after you upload it. That means, after 10 minutes you upload it, the status is finalized.