Choose the document viewer
PUT/api/v1/settings/document-viewer
Sets whether office files open in the built-in editors. enabled: true opens spreadsheets in GridCraft, documents in WordCraft and presentations in DeckCraft. enabled: false leaves those files to the office app discovered for this Cloudron.
The value is stored for the whole app and is returned by GET /api/v1/config as documentViewer. A new install stores enabled. An upgrade stores disabled. A missing value means enabled.
Any signed-in user may call it. enabled must be a boolean.
Request
Responses
- 200
- 400
- 401
The stored choice.
Request failed.
Request failed.