Open items in VolView with a "Open in VolView" button. The button is located in the top right, on an Item's page.
- POST item/:id/volview -> upload file to Item with cookie authentication
- GET item/:id/volview -> download latest session.volview.zip
- GET item/:id/volview/datasets -> download all files in item except the
*.volview.zip
- User clicks Open in VolView for Item - Plugin checks if
*volview.zip
file exists in Item, finds none: Opens VolView with file download urlitem/:id/volview/datasets
- VolView opens, fetches from
item/:id/volview/datasets
, receives zip of all files in Item except files ending in*volview.zip
- In VolView, User clicks save button - VolView POSTs session.volview.zip to
item/:id/volview
- girder_volview Plugin saves new session.volview.zip in item.
- User clicks Open in VolView for Item - Plugin finds the latests session.volview.zip in the Item. Opens VolView with file download URL pointing to
item/:id/volview
- VolView opens, fetches from
item/:id/volview
, receives most recently created*volview.zip
file in Item.