We’re integrating Jupyterhub with a web-based platform with the purpose of exploring a file resulting from an experiment launched by a user.
Typically, they’ll access the hub by following a link from a web page that contains an ID of the result they want to have loaded. Ideally, the ID would be embedded into a query parameter in the URL.
What I’d like to learn is, are there options for reading a query param from the URL when accessing the hub (following a successful authentication ofc), then using that value to make an HTTP request to download a file into the file-system?
There are some possibly related things out there, such as nbgitpuller, which lets you “distribute content in a git repository to your students by having them click a simple link”. So this could be used to pull files into a notebook environment.
There’s also @manics’ jupyter-notebookparams that “takes query parameters from a url to update a parameter cell of a jupyter notebook”. So you can use that to pass a reference into a notebook.