GetFileStatus
Host: dip-cb.binanceapi.com
GET /mp-api/v1/apps/{appId}/files/{fileId}
Header
| Parameter | Required | Description |
|---|---|---|
| X-Mp-Open-Api-Token | Yes | JWT token. For generation method, please refer to Description of External Interface Signature Authentication Algorithm |
Path Parameters
| Parameter | Description |
|---|---|
| appId | The AppId of the mini program |
| fileId | The fileId returned by the UploadFile API |
Response
HTTP 200
{
"code": "000000",
"message": null,
"data": {
"status": "FAILED"
},
"success": true
}
| ErrorCode | Remark |
|---|---|
| 000000 | Success |
| 900001 | Invalid Parameter |
| 900002 | JWT Authentication Failed |
| 900003 | Unexpected Error |
| 900231 | Rate Limit |
Note:
- The
statuscould be either: "CHECKING", "SUCCESS", or "FAILED". - If the
statusis "FAILED", ensure your file is both secure and valid before re-uploading. - The complete file security check process takes a maximum of 10 minutes post-upload. Therefore, the status gets finalized after 10 minutes of upload.