file-manager

Add file

Upload a new image or file to the File Manager.

post/3.0/file-manager/files

Request

Request body

file_datastring required

The base64-encoded contents of the file.

folder_idinteger

The id of the folder.

namestring required

The name of the file.

Response

created_atstring date-time

The date and time a file was added to the File Manager in ISO 8601 format.

created_bystring

The username of the profile that uploaded the file.

folder_idinteger

The id of the folder.

full_size_urlstring uri

The url of the full-size file.

heightinteger

The height of an image.

idinteger

The unique id of the file.

namestring

The name of the file.

sizeinteger

The size of the file in bytes.

thumbnail_urlstring uri

The url of the thumbnail preview.

type'image' | 'file'

The type of file in the File Manager.

widthinteger

The width of the image.

Changes

No recorded changes to this operation across all 1 revision of this API.