GetFileStatus
Host: dip-cb.binanceapi.com
GET /mp-api/v1/apps/{appId}/files/{fileId}
Header
Parameter | Required | Description |
---|---|---|
X-Mp-Open-Api-Token | Y | JWT token, please refer to Description of External Interface Signature Authentication Algorithm |
Path Parameters
Parameter | Description |
---|---|
appId | appId of the mini program |
fileId | fileId that is returned by UploadFile API |
Response
HTTP 200
ErrorCode | Remark |
---|---|
000000 | Success |
900001 | Invalid param |
900002 | Jwt auth failed |
900003 | Unexpected error |
900231 | Rate limit |
Note:
status
could be "CHECKING", "SUCCESS", "FAILED"- Check if your file is safe and valid before you upload it again if
status
is "FAILED" - 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.