-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide an API endpoint for viewing results of job #196
Comments
Route: /jobs/1/results Response:
|
Initial spec calls only for very basic file access. It will basically expose files. Route will need to be extendable for full path seeking... I'd even seriously think about exposing the results folders as rails static file locations. The other features we've talked about, but should be specced out in the next milestone |
Also, JSON response for getting a directory (e.g. |
Just a side note: whatever solution we choose for exposing files here, we should also factor out so the functionality is shared with the |
I'm a little confused - |
Their functionality will be the same (I.e. Allowing access to files on disk) but the way the data is stored is really different. Analysis_results (from custom jobs) are stored in job folders and are nested under /jobs System analysis results more simply overwrite existing results. We currently have an endpoint for them nested under /audio_recordings (since when they were made there was no /jobs endpoint and it doesn't make sense to nest then under jobs anyway) |
Currently recursive when it should not be. |
TODO: spec out
Related to:
https://github.com/QutBioacoustics/baw-private/issues/83
#193
The text was updated successfully, but these errors were encountered: