NeuroJSON.io utilized Apache CouchDB to store, manage and query the metadata from all hosted datasets. One can use CouchDB REST-API to access nearly all data resources provided by NeuroJSON.io.
API format | Function | Example |
---|---|---|
https://neurojson.io:7777/_all_dbs | list all hosted databases | |
https://neurojson.io:7777/<db> | list the metadata for database <db> | |
https://neurojson.io:7777/<db>/_all_docs | list all datasets under a database | |
https://neurojson.io:7777/<db>/<ds> | download the dataset <ds> from database <db> | |
https://neurojson.io:7777/<db>/<ds>/<att> | download the attachment <att> associated with dataset <ds> from database <db> | |
https://neurojson.io:7777/<db>/<ds>?revs_info=true | download the dataset <ds> with revision info | |
https://neurojson.io:7777/<db>/<ds>?rev=revhash | download a specific revision of dataset <ds> | |
https://neurojson.io:7777/<db>/_changes | list the change log of all datasets in database <db> |