clio-janelia / clio-store

A serverless Connectomics Storage API based on Google Firestore and other scalable services.
0 stars 0 forks source link

Neuprint route #1

Closed stephenplaza closed 3 years ago

stephenplaza commented 3 years ago

This adds a new route that forwards requests to Clio to neuprint.janelia.org. For now, this implementation assumes that all neuprint databases are at neuprint.janelia.org. Eventually, this information should be encoded in the dataset metadata, as there could be different servers for each dataset.

Note: to use this endpoint NEUPRINT_APPLICATION_CREDENTIALS should be set to some user token. This probably should be some gmail created just to be used as a service account. It doesn't matter as much now since neuprint.janelia.org only contains the hemibrain and it is set to be publicly readable independent of the user permission.

Note 2: There should be a version tag stored somewhere in the metadata as that is required when specifying a dataset in neuprint.