Skip to main content

WSI-Service Slide Browser

Browse and open whole-slide images served by the RationAI WSI Service.

IDrationai-wsi-file-browser
Version1.0.0
AuthorVendula Penazova
CategoriesNavigation
Sourceplugins/rationai-wsi-file-browser

Keywords: wsi · browser · files · rationai

Dependencies

Required configuration

  • wsiService

Additional configuration keys

wsiService, proxy

See include.json for details and defaults.

Documentation

Local File Browser

This plugin allows to browse local files using the RationAI WSI Service slide provider. It is not compatible with other provider APIs and expects the WSI service to be running.

Configuration

Both keys are deployment-controlled (include.json, overridable per deployment under ENV.plugins["rationai-wsi-file-browser"]):

KeyMeaning
wsiServiceAbsolute URL of the WSI Service. Required unless proxy is set; must parse as a URL, and a corrupt value is reported with the key and the value rather than throwing per listing.
proxyServer proxy alias (core.server.secure.proxies.<alias>) to route the listing through. Requests then travel /proxy/<alias>/v3/... on the viewer origin, so the upstream needs no CORS and its origin never reaches the browser. wsiService is unused in this mode.

Requests go through window.HttpClient, which injects the CSRF token a proxied request needs. env/parts/transport/proxy-image-server.json is the shipped example of the proxied form (npm run up:dev -- image-proxy).