Skip to main content

readfile

Description:

Read any version of the file has been added/updated

Request

https://api.moinet.io/moibit/v1/readfile

Request type - POST

Headers#

Header KeyHeader ValueOptional
nonce<developer_nonce> No
signature<signature gotten after signing developer_nonce by developer> No
developerKeypublic id of the developerNo
networkIDID of the network the file exist No
appIDID 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
enduserIDId of the enduser if end-user doesn't have moi_id Yes

Parameters#

Param KeyParam TypeDescriptionOptional
fileNameStringFile name or pathNo
versionNumberVersion of the file to be readNo

Response#

The response body contains the content of the file.