files
Endpoints for uploading and interacting with files.
Upload a file
Uploads a file that can later be attached to a post.
Get a file
Gets a file that has been uploaded previously.
Get file metadata headers
Performs the same permission and existence checks as getting a file, but returns headers only.
Get a file's thumbnail
Gets a file's thumbnail.
Get thumbnail metadata headers
Performs the same permission and existence checks as getting a thumbnail, but returns headers only.
Get a file's preview
Gets a file's preview.
Get preview metadata headers
Performs the same permission and existence checks as getting a preview, but returns headers only.
Get a public file link
Gets a public link for a file that can be accessed without logging into Mattermost.
Get metadata for a file
Gets a file's info.
Get a public file
##### Permissions
Get public file metadata headers
Performs the same validation checks as getting a public file, but returns headers only.
Search files in a team
Search for files in a team based on file name, extention and file content (if file content extraction is enabled and supported for the files).
Search files in a team
Search for files in a team based on file name, extention and file content (if file content extraction is enabled and supported for the files).