Skip to content
New issue

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

[QA] API test for WOPI protocol (CheckFileInfo) #9844

Open
7 tasks done
saw-jan opened this issue Aug 19, 2024 · 0 comments
Open
7 tasks done

[QA] API test for WOPI protocol (CheckFileInfo) #9844

saw-jan opened this issue Aug 19, 2024 · 0 comments
Assignees
Labels

Comments

@saw-jan
Copy link
Member

saw-jan commented Aug 19, 2024

#8712 (comment)

  1. create API tests for CheckFileInfo

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:

Useful Links:

Requires:

  • COLLABORATION_APP_PROOF_DISABLE: true in collaboration service
  • file-id: get file id
  • access_token: get using 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

Endpoint to test:

GET http://wopiserver:9300/wopi/files/{file-id}?access_token={access_token}

Known bugs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants