File

Files, as well as images, which are handled by SDK are represented as an instance or an object of the file and image data. This includes accessing file, upload information returned after upload or accessing it from a particular model. For example, accessing uploaded avatar for User will return an instance or object of the image data.

File Data

The file data is the representation of the file that has been uploaded using the SDK. Below is a table of properties that it contains.

PropertyDescription

fileId

Identifier for the uploaded file

fileUrl

The HTTP web URL for the uploaded file. You can use this fileUrl for downloading the file.

attributes

Contains a dictionary with values for name, extension, size, and mimeType of the uploaded file.

File Handling

For more information on how to handle files, go straight to our documentation for the following platforms:

Last updated