GA4GHV20

List one specific tool, acts as an anchor for self references

Changed on

This 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}
  • Auth
    HTTP 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.

aliasesstring[]

Support for this parameter is optional for tool registries that support aliases. A list of strings that can be used to identify this tool which could be straight up URLs. This can be used to expose alternative ids (such as GUIDs) for a tool for registries. Can be used to match tools across registries.

checker_urlstring

Optional url to the checker tool that will exit successfully if this tool produced the expected result given test data.

descriptionstring

The description of the tool.

has_checkerboolean

Whether this tool has a checker tool associated with it.

idstring required

A unique identifier of the tool, scoped to this registry.

meta_versionstring

The version of this tool in the registry. Iterates when fields like the description, author, etc. are updated.

namestring

The name of the tool.

organizationstring required

The organization that published the image.

urlstring required

The URL for this tool in this registry.

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/plain for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • info

      added the new optional query request parameter includeVersions

    • info

      added the optional property // to the response with the status