File Upload

Some asset types are files, such as gif, pdf, and png, and can be created using the asset model. Types are named based on the file extension they support.

Add a file to the asset as an encoded base64 string using the file attribute. The maximum size per file is 5 MB.

Sample File Upload