listfiles
Description:
List all the files with complete details under requested path
Request
https://api.moinet.io/moibit/v1/listfiles
Request type - POST
#
HeadersHeader Key | Header Value | Optional |
---|---|---|
nonce | <developer_nonce> | No |
signature | <signature gotten after signing developer_nonce by developer> | No |
developerKey | public id of the developer | No |
networkID | ID of the network the file exist | No |
appID | ID of the app the file the file exist | Yes |
enduser_nonce | <enduser nonce> | No if enduser has moi_id |
enduser_signature | <signature gotten after signing enduser_nonce by enduser> | No if enduser has moi_id |
enduserID | Id of the enduser if end-user doesn't have moi_id | Yes |
Content-Type: multipart/form-data
#
ParametersParam Key | Param Type | Description | Optional |
---|---|---|---|
path | String | path under which you want to list files | No |
#
Response ArrayField | Description |
---|---|
version | version of the file |
hash | Content identifier of the file |
filesize | Size of the file uploaded |
replication | Number of replicas |
encryptionType | Encryption type of file |
lastUpdated | Date of the file when uploaded |
directory | Parent directory of the file being uploaded |
path | Absolute path of the file in system |
recoveryTime | Time duration till when one can recover this file once deleted |
nodeAddress | ID of the node that processed this file |