Developer Help Center

File Object

Parameter

Type

Description

filename

Optional

string

Name of the file, including the extension.

externalURL

Optional

string

URL to the hosted file.

  • URL must be publicly available

  • URL must trigger a download of the file (server hosting the file must return a content-disposition header set to “attachment”)

  • The external URL method for uploading a file to the Revelator server enables partners to easily provide files to Revelator that they are hosting for their users. The upload to the Revelator server occurs upon release creation or upon distribution, after which the file no longer needs to be hosted externally.

fileId

Optional

integer

The ID for a file that has already been uploaded to the Revelator server.