GA4GH

Get the container specification(s) for the specified image.

Returns the container specifications(s) for the specified image. For example, a CWL CommandlineTool can be associated with one specification for a container, a CWL Workflow can be associated with multiple specifications for containers.

get/tools/{id}/versions/{version_id}/containerfile

Path parameters

idstring required

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

version_idstring required

An identifier of the tool version, scoped to this registry, for example v1. We recommend that versions use semantic versioning https://semver.org/spec/v2.0.0.html (For example, 1.0.0 instead of develop)

Response

The tool payload.

contentstring

The content of the file itself. One of url or content is required.

urlstring

Optional url to the underlying content, should include version information, and can include a git hash. Note that this URL should resolve to the raw unwrapped content that would otherwise be available in content. One of url or content is required.

Example response

[
  {
    "checksum": [
      {
        "checksum": "ea2a5db69bd20a42976838790bc29294df3af02b",
        "type": "sha1"
      }
    ]
  }
]

Changes

Changed in 5 of the 22 revisions of this API.227

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

      response-optional-property-added

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

      response-media-type-removed

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

      response-media-type-removed

    • added the optional property / to the response with the status (media type: application/json)

      response-optional-property-added

    • added the optional property / to the response with the status (media type: text/plain)

      response-optional-property-added

    • the endpoint scheme security BEARER was added to the API

      api-security-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 00ccac2487d223See the full diff
    • removed the optional property / from the response with the status

      response-optional-property-removed

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • the endpoint scheme security BEARER was removed from the API

      api-security-removed

    • added the media type text/plain for the response with the status

      response-media-type-added

    • added the media type text/plain for the response with the status

      response-media-type-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog