API
The SPICA API allows you to interact programmatically with the database. The following functions are currently available:
-
Retrieve the list of current projects with meta-data in JSON format
-
These datasets/projects can be subset by reference atlas, for instance by using reference atlas ID ("ref_id=1" in the following example)
https://spica.unil.ch/projects/query.json?ref_id=1&page=1&per_page=1000
Or using free text to search over all meta-data fields, using the "free_text" parameter (e.g. free_text=melanoma)
https://spica.unil.ch/projects/query.json?per_page=2&page=1&free_text=melanoma
-
Download a specific project (e.g. project SPICA2) with the following call