Skip to main content

FilesSettingsDto

Everything a client needs to work with documents in this portal: the format tables, the address templates, the upload limits, the portal-wide switches and the preferences of the calling account.

NameTypeDescriptionNotes
extsImagePreviewedListImages the portal can show in its own viewer. Anything outside the list has to be downloaded to be seen.[optional] [example: [.bmp, .gif, .jpeg, .jpg, .png, .svg]] [nullable]
extsMediaPreviewedListAudio and video the portal can play in its own player.[optional] [example: [.mp4, .webm, .mp3, .ogg]] [nullable]
extsWebPreviewedListDocuments the editor can open read-only. A format that is here but not in the edited list can be viewed and not changed.[optional] [example: [.docx, .xlsx, .pptx, .pdf]] [nullable]
extsWebEditedListDocuments the editor can open for editing. Uploading a format outside this list and outside the convertible list leaves a file that can only be downloaded.[optional] [example: [.docx, .xlsx, .pptx]] [nullable]
extsWebEncryptListDocuments that can be edited inside a private room, where the content is encrypted on the client.[optional] [example: [.docx, .xlsx, .pptx]] [nullable]
extsWebReviewedListDocuments that support the reviewing mode, so that granting review access to them is meaningful.[optional] [example: [.docx]] [nullable]
extsWebCustomFilterEditingListSpreadsheets that support the custom filter mode, where a filter applied by one editor does not disturb the others.[optional] [example: [.xlsx]] [nullable]
extsWebRestrictedEditingListDocuments that can only be filled in or commented on rather than edited freely, whatever access the caller holds.[optional] [example: [.pdf]] [nullable]
extsWebCommentedListDocuments that support comments, so that granting comment access to them is meaningful.[optional] [example: [.docx]] [nullable]
extsWebTemplateListDocuments the portal treats as templates to create new files from.[optional] [example: [.docx, .xlsx, .pptx]] [nullable]
extsMustConvertListFormats that cannot be edited as they are and are converted on upload or on first opening. Which target each one has is in the convertible table below.[optional] [example: [.doc, .xls, .ppt]] [nullable]
extsConvertibleMapThe conversion map of the portal: for each source extension, the extensions it can be converted into. Use it to fill the target format of a conversion request instead of guessing one.[optional] [example: {.doc=[.docx, .pdf], .xls=[.xlsx, .pdf]}]
extsUploadableListFormats the portal offers to create and upload as documents. It is not an upload filter: files of other formats are stored as they are.[optional] [example: [.docx, .xlsx, .pdf]] [nullable]
extsArchiveListFormats recognised as archives, which is what decides the archive icon and the offer to unpack.[optional] [example: [.zip, .rar, .7z]] [nullable]
extsVideoListFormats classified as video. The classification lists drive icons and the media filters of the listing operations, and are wider than what the built-in player can show.[optional] [example: [.mp4, .webm, .avi]] [nullable]
extsAudioListFormats classified as audio.[optional] [example: [.mp3, .ogg, .wav]] [nullable]
extsImageListFormats classified as images.[optional] [example: [.png, .jpg, .gif]] [nullable]
extsSpreadsheetListFormats classified as spreadsheets.[optional] [example: [.xlsx, .xls, .ods]] [nullable]
extsPresentationListFormats classified as presentations.[optional] [example: [.pptx, .ppt, .odp]] [nullable]
extsDocumentListFormats classified as text documents.[optional] [example: [.docx, .doc, .odt]] [nullable]
extsDiagramListFormats classified as diagrams.[optional] [example: [.vsdx]] [nullable]
internalFormatsFilesSettingsDto_internalFormats[optional] [nullable]
masterFormExtensionStringThe extension of a fillable form template in this portal. It is configurable, so read it rather than assuming the product default.[optional] [example: .pdf] [nullable]
paramVersionStringThe name of the query parameter that pins a document address to one version. Append it to the addresses below instead of composing a version address by hand.[optional] [example: version] [nullable]
paramOutTypeStringThe name of the query parameter that asks a download address for a converted copy in another format.[optional] [example: outputtype] [nullable]
fileDownloadUrlStringURI (uri)The template of the address a file is downloaded from: substitute the file identifier for the {0} placeholder. Add the version and output-type parameters named above for a particular version or format.[optional] [example: https://example.com/filehandler.ashx?action=download&fileid={0}] [nullable]
fileWebViewerUrlStringStringThe template of the address that opens a file in the viewer inside the portal, with {0} for the file identifier. It is a portal-relative address, meant to be opened in a browser rather than called as an API.[optional] [example: /products/files/doceditor?fileid={0}&action=view] [nullable]
fileWebViewerExternalUrlStringURI (uri)The same viewer address as an absolute one, for a message or a page outside the portal.[optional] [example: https://example.com/products/files/doceditor?fileid={0}&action=view] [nullable]
fileWebEditorUrlStringStringThe template of the address that opens a file for editing inside the portal, with {0} for the file identifier. Whether the session really becomes editable still depends on the access the caller holds.[optional] [example: /products/files/doceditor?fileid={0}&action=edit] [nullable]
fileWebEditorExternalUrlStringURI (uri)The same editing address as an absolute one, for use outside the portal.[optional] [example: https://example.com/products/files/doceditor?fileid={0}&action=edit] [nullable]
fileRedirectPreviewUrlStringURI (uri)The template of the address that sends the browser on to whichever viewer or editor suits the file, with {0} for the file identifier. Use it when the kind of the file is not known in advance.[optional] [example: https://example.com/products/files/{0}] [nullable]
fileThumbnailUrlStringURI (uri)The template of the address a file thumbnail is fetched from, with {0} for the file identifier. A thumbnail is built in the background, so the address can answer with nothing for a while after the file appears.[optional] [example: https://example.com/filehandler.ashx?action=thumb&fileid={0}] [nullable]
confirmDeleteBooleanWhether the caller asked to be prompted before a deletion. Written by PUT api/2.0/files/changedeleteconfrim.[optional] [example: true]
enableThirdPartyBooleanWhether this portal allows third-party storages to be connected at all. It is set portal-wide by an administrator, so a member sees it as read-only.[optional] [example: true]
externalShareBooleanWhether links that open an entry without a portal account may be created in this portal. Set portal-wide by an administrator.[optional] [example: true]
externalShareSocialMediaBooleanWhether the share-to-network buttons are offered next to an external link. It is reported as false whenever external sharing itself is off.[optional] [example: true]
storeOriginalFilesBooleanWhether the caller's uploads keep the original file when the portal converts them. With false the conversion replaces the uploaded file with a new version of it.[optional] [example: true]
keepNewFileNameBooleanWhether the caller asked for new documents to be created with the default name instead of being prompted for one.[optional] [example: false]
displayFileExtensionBooleanWhether the caller asked to see extensions in file titles. Stored titles always carry the extension whatever this says.[optional] [example: true]
showQuickActionsBooleanSpecifies whether to display the quick action buttons.[optional] [example: true]
convertNotifyBooleanWhether the caller is told about the result of a conversion. There is no operation in this document that writes it.[optional] [example: true]
hideConfirmCancelOperationBooleanWhether the prompt shown before a running operation is abandoned is hidden for the caller.[optional] [example: false]
hideConfirmConvertSaveBooleanWhether the prompt that offers to keep a copy in the original format on conversion is hidden for the caller. Once true it cannot be turned back through the API.[optional] [example: false]
hideConfirmConvertOpenBooleanWhether the prompt that offers to open the conversion result is hidden for the caller. Once true it cannot be turned back through the API.[optional] [example: false]
hideConfirmRoomLifetimeBooleanWhether the warning shown before the lifetime settings of a room are changed is hidden for the caller.[optional] [example: false]
defaultOrderOrderByDtoThe ordering the listing operations fall back to when a request names none. It follows the last order the caller asked a listing for, so it changes on its own as the account is used.[optional]
forcesaveBooleanWhether the editor writes a document back to storage while the session is still open. It is on for every portal and cannot be switched off.[optional] [example: true]
storeForcesaveBooleanWhether those intermediate saves are kept as separate versions. They are not, in any portal: they update the current version instead.[optional] [example: false]
recentSectionBooleanWhether the Recent section is offered to the caller among the section roots.[optional] [example: true]
favoritesSectionBooleanWhether the Favorites section is offered to the caller among the section roots.[optional] [example: true]
templatesSectionBooleanWhether the Templates section is offered to the caller among the section roots.[optional] [example: true]
downloadTarGzBooleanThe archive format the caller's multi-item downloads are packed into: true for .tar.gz, false for .zip.[optional] [example: true]
automaticallyCleanUpAutoCleanUpDataDtoThe trash auto-clearing setting of the caller, the same pair GET api/2.0/files/settings/autocleanup returns.[optional]
canSearchByContentBooleanWhether documents in this portal can be searched by what is inside them and not only by title. It depends on the full-text search service being configured and having indexed the portal.[optional] [example: true]
defaultSharingAccessRightsListThe access rights the sharing dialog offers the caller by default. The portal normalises the set it stores, so this can be shorter than what was last sent.[optional] [example: [1, 2]] [enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] [nullable]
maxUploadThreadCountInteger (int32)How many upload requests the portal accepts from one account at a time. Sending more than this in parallel gets the extra ones refused rather than queued.[optional] [example: 10]
chunkUploadSizeLong (int64)The size in bytes of one chunk of a chunked upload. Split a large file exactly along this size: a chunk that does not match is refused by the upload session.[optional] [example: 10485760]
openEditorInSameTabBooleanWhether the caller asked for documents to open in the current browser tab.[optional] [example: false]
organizeRoomsGroupingBooleanWhether the caller asked to see rooms arranged by the groups they belong to.[optional] [example: true]
defaultShareLinkInternalBooleanThe kind of external link this portal offers first: true for a link only its own accounts can open, false for one anyone holding it can open.[optional] [example: false]
externalShareApplyToDocumentsBooleanWhether the external sharing restriction covers personal documents. It matters only while external sharing is off.[optional] [example: true]
externalShareApplyToRoomsBooleanWhether the external sharing restriction covers rooms, including making a new one public. It matters only while external sharing is off.[optional] [example: true]
blockExistingLinksOnRestrictBooleanWhether links created before the restriction stop opening as well, rather than only new ones being refused.[optional] [example: true]
extsFilesVectorizedListFormats whose content can be indexed for the AI features of the portal. A file outside the list is left out of that index.[optional] [example: [.docx, .pdf, .txt]] [nullable]
maxVectorizationFileSizeLong (int64)The largest file size in bytes that is indexed for the AI features. A larger file is skipped even when its format is listed above.[optional] [example: 5242880]