-
Notifications
You must be signed in to change notification settings - Fork 1
Home
David Johnson edited this page Mar 9, 2016
·
8 revisions
Basically to test directly, make sure you've got the right prerequisites installed:
Run pip install -r requirements.txt
In config.py
set UPLOAD_FOLDER
to somewhere sensible (e.g. /tmp/
- it stores just temporary files for the conversion.
then:
python isarest.py
to start flask's embedded server, and browse.
localhost:5000/api/spec.html
for swagger UI (Swagger documentation not yet complete)
localhost:5000/api/spec.json
for swagger JSON
or load into PyCharm and play with the tests.py
tests
Consumes | Produces | Description |
---|---|---|
application/zip |
application/json |
Takes a zip file containing ISA-Tab .txt files, converts and returns a single ISA JSON. Returns 200 OK if succeeded. |
Consumes | Produces | Description |
---|---|---|
application/json |
application/zip |
Takes a ISA-JSON .json files, converts and returns a zip containing ISA-Tab .txt files. Returns 200 OK if succeeded. |
Consumes | Produces | Description |
---|---|---|
application/zip |
application/zip |
Takes a zip file containing ISA tab .txt files, converts and returns a zip containing SRA XML files. Returns 200 OK if succeeded. |
Consumes | Produces | Description |
---|---|---|
application/zip |
application/zip |
Takes a zip file containing ISA JSON file and data files, converts and returns a zip containing SRA XML files. Returns 200 OK if succeeded. |
Consumes | Produces | Description |
---|---|---|
application/zip |
application/json |
Takes a zip file containing a collection of ISA tab .txt files, converts and returns a single CEDAR JSON. Returns 200 OK if succeeded. |