File Storage and Comment API
- Last UpdatedAug 25, 2021
- 1 minute read
IMPORTANT: The File Storage and Comment API is in preview and is subject to change with each release.
The File Storage and Comment API allows you to upload files and attach those files as attachments for existing comments via REST endpoints. Note that a maximum of 3 attachments per comment is supported.
Supported file formats
EXE files are not supported by the API. Uploads and attachments can be of the following formats:
-
"image/png",
-
"image/jpeg",
-
"image/gif",
-
"application/json",
-
"application/pdf",
-
"application/octet-stream",
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
-
"application/vnd.ms-excel",
-
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
-
"application/msword"
Notes
Note the following when using the File Storage and Comment API:
-
File names are case-sensitive.
-
Duplicate file names are not allowed.
-
If a file name contains special characters, the name will need to be double encoded. For more information see Use a URL-based query to create charts.
-
To overwrite a file, the original file must be deleted before a new copy can be uploaded.