List all tools
Changed onThis endpoint returns all tools available or a filtered subset using metadata query parameters.
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
- AuthHTTP bearer
Query parameters
A unique identifier of the tool, scoped to this registry, for example 123456.
Support for this parameter is optional for tool registries that support aliases. If provided will only return entries with the given alias.
Filter tools by the name of the subclass (#/definitions/ToolClass)
Filter tools by the name of the descriptor type
Filter tools by registry specific tags
The image registry that contains the image.
The organization in the registry that published the image.
The name of the image.
The name of the tool.
The description of the tool.
The author of the tool (TODO a thought occurs, are we assuming that the author of the CWL and the image are the same?).
Return only checker workflows.
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.
Start index of paging. Pagination results can be based on numbers or other values chosen by the registry implementor (for example, SHA values). If this exceeds the current result set return an empty set. If not specified in the request, this will start at the beginning of the results.
Amount of records to return in a given page.
Response
An array of Tools that match the filter.
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
- info
added the new optional
queryrequest parameterincludeVersions - info
added the new optional
queryrequest parametertags - info
added the optional property
///to the response with the status
- info