mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
View attachments from a share
This commit is contained in:
@ -143,6 +143,7 @@ module Api exposing
|
||||
, setTagsMultiple
|
||||
, setUnconfirmed
|
||||
, shareAttachmentPreviewURL
|
||||
, shareFileURL
|
||||
, shareItemBasePreviewURL
|
||||
, startClassifier
|
||||
, startEmptyTrash
|
||||
@ -2311,6 +2312,11 @@ shareItemBasePreviewURL itemId =
|
||||
"/api/v1/share/item/" ++ itemId ++ "/preview?withFallback=true"
|
||||
|
||||
|
||||
shareFileURL : String -> String
|
||||
shareFileURL attachId =
|
||||
"/api/v1/share/attachment/" ++ attachId
|
||||
|
||||
|
||||
|
||||
--- Helper
|
||||
|
||||
|
Reference in New Issue
Block a user