Commit 3269b8d3 authored by vermeul's avatar vermeul
Browse files

Merge branch 'release/0.2.1'

parents 94d93466 0399aba1
## jupyter-openbis-server 0.2.1
- added description how to drop an existing openBIS connection
## jupyter-openbis-server 0.2.0
- added full API description
......
......@@ -259,12 +259,18 @@ Body:
}
```
### Unregister/delete a new openBIS connection
For the lifetime (runtime) of the Jupyter server, this will drop an existing openBIS connection:
**DELETE `/openbis/conn/<connection name>`**
### Upload a dataSet
**POST `/openbis/dataset/<connection_name>/<permId>/<downloadPath>`**
### Download a dataSet
**GET `/openbis/dataset/<connection_name>/<permId>/<downloadPath>`**
......
name = 'jupyter-openbis-server.server'
__author__ = 'Swen Vermeul'
__email__ = 'swen@ethz.ch'
__version__ = '0.2.0'
__version__ = '0.2.1'
def _jupyter_server_extension_paths():
return [{
......
......@@ -275,9 +275,9 @@ class DataSetUploadHandler(IPythonHandler):
# ...or return a success message
self.write({
'status': 200,
'statusText': 'Jupyter Notebook was successfully uploaded to: {} with permId: {}'.format(conn.name, dataset.permId)
'statusText': 'DataSet successfully registered: {} with permId: {}'.format(conn.name, dataset.permId)
})
print('Jupyter Notebook was successfully uploaded to: {} with permId: {}'.format(conn.name, dataset.permId))
print('DataSet successfully registered: {} with permId: {}'.format(conn.name, dataset.permId))
def post(self, **params):
"""Handle a request to /openbis/dataset/connection_name/permId
......
......@@ -11,7 +11,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setup(
name='jupyter-openbis-server',
version= '0.2.0',
version= '0.2.1',
author='Swen Vermeul | ID SIS | ETH Zürich',
author_email='swen@ethz.ch',
description='Server Extension for Jupyter notebooks to connect to openBIS and download/upload datasets, inluding the notebook itself',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment