question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Response from v2 final links to beta API in URL field

See original GitHub issue

Describe 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

  1. 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)
  2. 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:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
patmageecommented, May 4, 2022

Thanks @denis-yuen for the clarification. I think where I got confused is the fact that the self url in the tool json from the url you suggest above has the link to the /api/api/ga4gh endpoint, and no the /api/ga4gh endpoint.

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found