我想实现WOPI协议,以便使用Office 365在浏览器中打开和编辑 Office 文档:
当 Microsoft 发送CheckFileInfo请求时:
GET /api/wopi/files/{IDFILE}?access_token={TOKEN}&access_token_ttl=0
我发送这是响应:
{
BaseFileName: 'test2.docx',
OwnerId: 'XXXX@gmail.com',
UserId: 'XXXX@gmail.com',
Size: 12642,
SHA256: null,
Version: '0',
SupportsDeleteFile: false,
SupportsEcosystem: false,
SupportsFolders: false,
SupportsGetFileWopiSrc: false,
SupportsGetLock: true,
SupportsLocks: true,
SupportsRename: false,
SupportsUpdate: true,
SupportsUserInfo: false
}
编辑器显示此错误
我究竟做错了什么?