-
Notifications
You must be signed in to change notification settings - Fork 726
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an endpoint to check connectivity to WOPI server
The endpoint is accessible at /hosting/wopiAccessCheck You send it a POST with input json: { "callbackUrl: "<url-to-my-wopi-host>" } For instance: curl -ki https://localhost:9980/hosting/wopiAccessCheck --header "Content-Type: application/json" -d '{"callbackUrl":"https://cool.local"}' Returns json such as: { "status": 0, "details": "OK" } With status and details giving hints to what went wrong if it did. The callbackUrl needs just to be an HTTPS endpoint, it does not need to be the wopi service but can be only a healthcheck url for instance. Signed-off-by: Méven Car <meven.car@collabora.com> Change-Id: Ibdef0bbf0d2fd98e3d293a06dfcfc79478d618e5
- Loading branch information
Showing
2 changed files
with
168 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters