Get a public file link
GET/api/v4/files/:file_id/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.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 501
A publicly accessible link to the given file
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Resource not found
Feature is disabled