https://github.com/kynan/generunnerapi
https://github.com/kynan/generunnerapi
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kynan/generunnerapi
- Owner: kynan
- Created: 2013-03-03T18:05:59.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-03T18:06:12.000Z (almost 13 years ago)
- Last Synced: 2025-01-12T12:32:30.080Z (12 months ago)
- Language: CoffeeScript
- Size: 109 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GeneRunnerAPI
Query Zooniverse's Gene Runner data.
* **GET** `/samples` returns an array of all sample ids
* **GET** `/samples/all` returns the metadata for all samples
* **GET** `/samples/:id` returns the metadata for sample with id `:id`
* **GET** `/points/:id` returns all data points for sample with id `:id` as nested
array sorted by the first column
* **GET** `/points/:id/:start/:end` returns the slice of data points from `:start`
to `:end` for sample with id `:id` as nested array
* **POST** `/interactions/:id` expects an array of player interactions for sample
with id `:id` in the format
```
[
{ "c": {"x": integer, "y": float},
"e": {"x": integer, "y": float} }
, ...
]
```