We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#8712 (comment)
create API tests for CheckFileInfo check that all expected values are returned (//TODO add list/documentation link) https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/files/checkfileinfo/checkfileinfo-response https://api.onlyoffice.com/editors/wopi/restapi/checkfileinfo future: check that env. variables switch the abilities correctly
CheckFileInfo
check that all expected values are returned (//TODO add list/documentation link)
future: check that env. variables switch the abilities correctly
FileInfo:
The information is returned as a JSON object in the body of the response. The returned properties will depend on the target WOPI app: Microsoft: https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/files/checkfileinfo OnlyOffice: https://api.onlyoffice.com/editors/wopi/restapi/checkfileinfo Collabora: https://sdk.collaboraonline.com/docs/advanced_integration.html#checkfileinfo-response-properties
The information is returned as a JSON object in the body of the response. The returned properties will depend on the target WOPI app:
Useful Links:
COLLABORATION_APP_PROOF_DISABLE: true
file-id
access_token
POST https://localhost:9200/app/open?app_name=FakeOffice&file_id={file-id}
curl -XPOST 'https://host.docker.internal:9200/app/open?app_name=FakeOffice&file_id={file-id}' \ -uadmin:admin -k | jq
GET http://wopiserver:9300/wopi/files/{file-id}?access_token={access_token}
POST https://localhost:9200/app/open?app_name=FakeOffice&file_id={file-id}&view_mode=[view|read|write]
preview
http://wopiserver:9300/wopi/files/{file-id}?access_token={access_token}
Known bugs:
{file-id}
The text was updated successfully, but these errors were encountered:
amrita-shrestha
No branches or pull requests
#8712 (comment)
FileInfo:
Useful Links:
Requires:
COLLABORATION_APP_PROOF_DISABLE: true
in collaboration servicefile-id
: get file idaccess_token
: get usingPOST https://localhost:9200/app/open?app_name=FakeOffice&file_id={file-id}
Endpoint to test:
GET http://wopiserver:9300/wopi/files/{file-id}?access_token={access_token}
POST https://localhost:9200/app/open?app_name=FakeOffice&file_id={file-id}&view_mode=[view|read|write]
)preview
doesn't workhttp://wopiserver:9300/wopi/files/{file-id}?access_token={access_token}
Known bugs:
{file-id}
: fix: verify file id in URL matches the one inside the access token #9800The text was updated successfully, but these errors were encountered: