diff options
Diffstat (limited to 'plugin/api.go')
-rw-r--r-- | plugin/api.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go index 3e35811b8..660309f57 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -256,6 +256,11 @@ type API interface { // Minimum server version: 5.3 GetFileInfo(fileId string) (*model.FileInfo, *model.AppError) + // GetFileLink gets the public link to a file by fileId. + // + // Minimum server version: 5.6 + GetFileLink(fileId string) (string, *model.AppError) + // ReadFileAtPath reads the file from the backend for a specific path // // Minimum server version: 5.3 |