-
Notifications
You must be signed in to change notification settings - Fork 18
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
Plain text /tools/{id}/versions/{version_id}/containerfile #162
Comments
I agree that this would be nice, but there are some caveats I see:
Regarding problem 1: This problem could be avoided, if the container recipe type were included in the endpoint route as Regarding problem 2: It is probably not a good idea to return the URL for |
re: problem 1 The array issue is indeed a pain when switching between representations. The test JSON endpoint https://github.com/ga4gh/tool-registry-service-schemas/blob/develop/openapi/ga4gh-tool-discovery.yaml#L359 has a similar problem in that it can also allow for multiple test parameter files which is a problem when switching types. re: problem 2 We could return a redirection of some form like a https://en.wikipedia.org/wiki/HTTP_303 or a 307. |
Great suggestion on the redirection. Might actually be something to consider for all endpoints returning Regarding |
The
/tools/{id}/versions/{version_id}/containerfile
endpoint returns an application/json only. It would be nice if there is a way to get the containerfile as text/plain. This is so that you can easily get the file via wget/curl instead of extracting the contents from the application/json┆Issue is synchronized with this Jira Story
┆containerName: GA4GH tool-registry-service
┆Issue Number: TRS-47
The text was updated successfully, but these errors were encountered: