(files-file-id-get file-id)
Get a file Gets a file that has been uploaded previously.
Must have read_channel
permission or be uploader of the file.
Get a file Gets a file that has been uploaded previously. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-get-with-http-info file-id)
Get a file Gets a file that has been uploaded previously.
Must have read_channel
permission or be uploader of the file.
Get a file Gets a file that has been uploaded previously. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-info-get file-id)
Get metadata for a file Gets a file's info.
Must have read_channel
permission or be uploader of the file.
Get metadata for a file Gets a file's info. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-info-get-with-http-info file-id)
Get metadata for a file Gets a file's info.
Must have read_channel
permission or be uploader of the file.
Get metadata for a file Gets a file's info. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-link-get file-id)
Get a public file link Gets a public link for a file that can be accessed without logging into Mattermost.
Must have read_channel
permission or be uploader of the file.
Get a public file link Gets a public link for a file that can be accessed without logging into Mattermost. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-link-get-with-http-info file-id)
Get a public file link Gets a public link for a file that can be accessed without logging into Mattermost.
Must have read_channel
permission or be uploader of the file.
Get a public file link Gets a public link for a file that can be accessed without logging into Mattermost. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-preview-get file-id)
Get a file's preview Gets a file's preview.
Must have read_channel
permission or be uploader of the file.
Get a file's preview Gets a file's preview. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-preview-get-with-http-info file-id)
Get a file's preview Gets a file's preview.
Must have read_channel
permission or be uploader of the file.
Get a file's preview Gets a file's preview. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-thumbnail-get file-id)
Get a file's thumbnail Gets a file's thumbnail.
Must have read_channel
permission or be uploader of the file.
Get a file's thumbnail Gets a file's thumbnail. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-file-id-thumbnail-get-with-http-info file-id)
Get a file's thumbnail Gets a file's thumbnail.
Must have read_channel
permission or be uploader of the file.
Get a file's thumbnail Gets a file's thumbnail. ##### Permissions Must have `read_channel` permission or be uploader of the file.
(files-post)
(files-post optional-params)
Upload a file Uploads a file that can later be attached to a post.
This request can either be a multipart/form-data request with a channel_id, files and optional client_ids defined in the FormData, or it can be a request with the channel_id and filename defined as query parameters with the contents of a single file in the body of the request.
Only multipart/form-data requests are supported by server versions up to and including 4.7. Server versions 4.8 and higher support both types of requests.
Must have upload_file
permission.
Upload a file Uploads a file that can later be attached to a post. This request can either be a multipart/form-data request with a channel_id, files and optional client_ids defined in the FormData, or it can be a request with the channel_id and filename defined as query parameters with the contents of a single file in the body of the request. Only multipart/form-data requests are supported by server versions up to and including 4.7. Server versions 4.8 and higher support both types of requests. ##### Permissions Must have `upload_file` permission.
(files-post-with-http-info)
(files-post-with-http-info {:keys [channel-id filename files channel-id
client-ids]})
Upload a file Uploads a file that can later be attached to a post.
This request can either be a multipart/form-data request with a channel_id, files and optional client_ids defined in the FormData, or it can be a request with the channel_id and filename defined as query parameters with the contents of a single file in the body of the request.
Only multipart/form-data requests are supported by server versions up to and including 4.7. Server versions 4.8 and higher support both types of requests.
Must have upload_file
permission.
Upload a file Uploads a file that can later be attached to a post. This request can either be a multipart/form-data request with a channel_id, files and optional client_ids defined in the FormData, or it can be a request with the channel_id and filename defined as query parameters with the contents of a single file in the body of the request. Only multipart/form-data requests are supported by server versions up to and including 4.7. Server versions 4.8 and higher support both types of requests. ##### Permissions Must have `upload_file` permission.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close