readfile
Description:
Read any version of the file has been added/updated
Request
https://api.moinet.io/moibit/v1/readfile
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 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 |
#
ParametersParam Key | Param Type | Description | Optional |
---|---|---|---|
fileName | String | File name or path | No |
version | Number | Version of the file to be read | No |
#
ResponseThe response body contains the content of the file.