Direct Link to a File v1.1

Direct link to a file

The file can be downloaded with the direct link. To do it, use a URL with the following format:

curl -X GET \
https://api.appery.io/rest/1.1/db/files/<apiKey>/<fileName>?encoded=<encoded>

Parameters

The parameters above are:

Parameters

Description

apiKey

DB API key. Can be changed on Settings tab

fileName

The name added to the file upon uploading to the Appery.io database.

encoded

If value of encoded parameter = base64, file content will be returned as base64 string.

The resulting link looks like the following:

curl -X GET \
https://api.appery.io/rest/1.1/db/files/6527a7fa-1402-4486-ad9d-7f053ebc32f8/31bb3831-a18e-4a3a-b720-0747a0901481.config.xml