Skip to main content

WOPI

https://<collabora-server>/loleaflet/dist/loleaflet.html?WOPISrc=<wopi-url>&access_token=<token>
  • endpoints
    • CheckFileInfo
    • PutRelativeFile
    • Lock
    • Unlock
    • RefreshLock
    • UnlockAndRelock
    • DeleteFile
    • RenameFile
  • GET /wopi/files/{file_id}
    • 获取文件信息
  • GET /wopi/files/{file_id}/contents
    • 获取文件内容
  • POST /wopi/files/{files_id}
    • 修改文件 - lock, rename, delete
  • PUT/POST /wopi/files/{files_id}/contents
    • 上传文件

Awesome