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.
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.