GA4GHV20
List one specific tool, acts as an anchor for self references
Changed onThis endpoint returns one specific tool (which has ToolVersions nested inside it).
get/ga4gh/trs/v2/tools/{id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/ga4gh/trs/v2/tools/{id}
- AuthHTTP bearer
Path parameters
idstring required
A unique identifier of the tool, scoped to this registry, for example 123456.
Query parameters
includeVersionsboolean
Support for this parameter is optional for tool registries. If false, the versions array of each returned tool will be empty. Use /tools/{id}/versions to retrieve the versions of a tool. If not specified in the request, versions are included.
Response
A tool.
Example response
{
"id": "123456",
"url": "http://agora.broadinstitute.org/tools/123456",
"versions": [
{
"descriptor_type_version": {
"CWL": [
"v1.0.2"
],
"NFL": [
"DSL2"
],
"WDL": [
"1.0",
"1.1"
]
},
"id": "v1",
"images": [
{
"checksum": [
{
"checksum": "77af4d6b9913e693e8d0b4b294fa62ade6054e6b2f1ffb617ac955dd63fb0182",
"type": "sha256"
}
],
"image_name": "[\"quay.io/seqware/seqware_full/1.1\",\"ubuntu:latest\"]",
"registry_host": "[\"registry.hub.docker.com\"]"
}
],
"included_apps": [
"https://bio.tools/tool/mytum.de/SNAP2/1",
"https://bio.tools/bioexcel_seqqc"
],
"url": "http://agora.broadinstitute.org/tools/123456/versions/1"
}
]
}Changes
- breaking
removed the media type
text/plainfor the response with the status - breaking
removed the media type
text/plainfor the response with the status - info
added the new optional
queryrequest parameterincludeVersions - info
added the optional property
//to the response with the status
- breaking