Response from v2 final links to beta API in URL field
See original GitHub issueDescribe the bug
The TRS
specification requires a Tool
object to have a name
attribute, but when retrieving a single tool
from the API, this attribute is named toolName
in the response.
To Reproduce
- Visit any tool (this one for example: https://dockstore.org/api/api/ga4gh/v2/tools/%23workflow%2Fgithub.com%2Fabelhj%2Fsv-pipeline%2FPre_Merge_SV_v2_terra)
- Compare the returned json against the TRS spec
Expected behavior
To see a name
attribute in the top level tool object
Actual behaviour
See a toolName
attribute instead
┆Issue is synchronized with this Jira Story ┆Attachments: image-20220809-191857.png ┆fixVersions: Dockstore 1.13 ┆friendlyId: DOCK-2157 ┆sprint: 89 ┆taskType: Story
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Creating API requests and handling responses - Google Cloud
This document describes how to construct API requests and handle API responses from the Compute Engine API. It covers how to: Construct a...
Read more >Using the API to manage Projects - GitHub Docs
This article demonstrates how to use the GraphQL API to manage a project. For more information about how to use the API in...
Read more >What API commands are used by Freshdesk?
Freshdesk APIs are classified into either production or beta APIs. ... The 'link' header in the response will hold the next page url...
Read more >HTTP API V2 - Docker Documentation
The name and reference fields of the response body must match those specified in the URL. The reference field may be a “tag”...
Read more >REST API Developer Guide
Update an Account, Create a Contact, and Link Them with a Junction Object ... 4: Generating an OpenAPI 3.0 Specification for sObjects REST...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @denis-yuen for the clarification. I think where I got confused is the fact that the self
url
in thetool
json from the url you suggest above has the link to the/api/api/ga4gh
endpoint, and no the/api/ga4gh
endpoint.➤ David Steinberg commented:
I confirmed the url property is now set properly
!image-20220809-191857.png|width=927,height=349!
https://dev.dockstore.net/api/ga4gh/trs/v2/tools/%23workflow%2Fgithub.com%2Fabelhj%2Fsv-pipeline%2FPre_Merge_SV_v2_terra ( https://dev.dockstore.net/api/ga4gh/trs/v2/tools/%23workflow%2Fgithub.com%2Fabelhj%2Fsv-pipeline%2FPre_Merge_SV_v2_terra )
Webservice ( https://github.com/dockstore/dockstore/commits/9f85da0 ) - 9f85da0
UI ( https://github.com/dockstore/dockstore-ui2/commits/89b50d3b ) - 2.9.2-89-g89b50d3b
Compose Setup ( https://github.com/dockstore/compose_setup/commits/46fef8e ) - 46fef8e
Deploy ( https://github.com/dockstore/dockstore-deploy/commits/0ba5e9e ) - 1.12.6-104-g0ba5e9e
galaxyParsingLambdaVersion: 0.0.7