44 description : >-
55 Proposed API for GA4GH (Global Alliance for Genomics & Health) tool
66 repositories. A tool consists of a set of container images that are paired
7- with a set of documents (examples include CWL (Common Workflow Language) or
8- WDL (Workflow Description Language) or NFL (Nextflow)) that describe how to
9- use those images and a set of specifications for those images (examples are
10- Dockerfiles or Singularity recipes) that describe how to re-produce those
11- images in the future. We use the following terminology, a "container image"
12- describes a container as stored at rest on a filesystem, a "tool" describes
13- one of the triples as described above. In practice, examples of "tools"
14- include CWL CommandLineTools, CWL Workflows, WDL workflows, and Nextflow
15- workflows that reference containers in formats such as Docker or
16- Singularity.
7+ with a set of documents. Examples of documents include CWL (Common Workflow
8+ Language) or WDL (Workflow Description Language) or NFL (Nextflow) that
9+ describe how to use those images and a set of specifications for those
10+ images (examples are Dockerfiles or Singularity recipes) that describe how
11+ to reproduce those images in the future. We use the following terminology, a
12+ "container image" describes a container as stored at rest on a filesystem, a
13+ "tool" describes one of the triples as described above. In practice,
14+ examples of "tools" include CWL CommandLineTools, CWL Workflows, WDL
15+ workflows, and Nextflow workflows that reference containers in formats such
16+ as Docker or Singularity.
1717 version : 2.0.0
1818tags :
1919 - name : GA4GH
2222 ' /tools/{id} ' :
2323 get :
2424 summary : ' List one specific tool, acts as an anchor for self references'
25+ operationId : toolsIdGet
2526 description : >-
2627 This endpoint returns one specific tool (which has ToolVersions nested
2728 inside it)
5859 ' /tools/{id}/versions ' :
5960 get :
6061 summary : List versions of a tool
62+ operationId : toolsIdVersionsGet
6163 description : Returns all versions of the specified tool
6264 tags :
6365 - GA4GH
8789 ' /tools/{id}/versions/{version_id} ' :
8890 get :
8991 summary : ' List one specific tool version, acts as an anchor for self references'
92+ operationId : toolsIdVersionsVersionIdGet
9093 description : This endpoint returns one specific tool version
9194 tags :
9295 - GA4GH
@@ -129,6 +132,7 @@ paths:
129132 /tools :
130133 get :
131134 summary : List all tools
135+ operationId : toolsGet
132136 description : >
133137 This endpoint returns all tools available or a filtered subset using
134138 metadata query parameters.
@@ -217,18 +221,19 @@ paths:
217221 $ref : ' #/components/schemas/Tool'
218222 ' /tools/{id}/versions/{version_id}/{type}/descriptor ' :
219223 get :
220- summary : Get the tool descriptor for the specified tool.
224+ summary : Get the tool descriptor for the specified tool
225+ operationId : toolsIdVersionsVersionIdTypeDescriptorGet
221226 description : >-
222- Returns the descriptor for the specified tool (examples include WDL ,
223- CWL , or Nextflow documents).
227+ Returns the descriptor for the specified tool (examples include CWL ,
228+ WDL , or Nextflow documents).
224229 tags :
225230 - GA4GH
226231 parameters :
227232 - name : type
228233 required : true
229234 in : path
230235 description : >-
231- The output type of the descriptor. If not specified it is up to the
236+ The output type of the descriptor. If not specified, it is up to the
232237 underlying implementation to determine which output type to return.
233238 Plain types return the bare descriptor while the "non-plain" types
234239 return a descriptor wrapped with metadata. Allowable values include
@@ -247,8 +252,8 @@ paths:
247252 in : path
248253 required : true
249254 description : >-
250- An identifier of the tool version for this particular tool registry,
251- for example `v1`
255+ An identifier of the tool version, scoped to this registry, for
256+ example `v1`
252257 schema :
253258 type : string
254259 responses :
@@ -273,6 +278,7 @@ paths:
273278 ' /tools/{id}/versions/{version_id}/{type}/descriptor/{relative_path} ' :
274279 get :
275280 summary : Get additional tool descriptor files relative to the main file
281+ operationId : toolsIdVersionsVersionIdTypeDescriptorRelativePathGet
276282 description : >-
277283 Descriptors can often include imports that refer to additional
278284 descriptors. This returns additional descriptors for the specified tool
@@ -287,7 +293,7 @@ paths:
287293 in : path
288294 required : true
289295 description : >-
290- The output type of the descriptor. If not specified it is up to the
296+ The output type of the descriptor. If not specified, it is up to the
291297 underlying implementation to determine which output type to return.
292298 Plain types return the bare descriptor while the "non-plain" types
293299 return a descriptor wrapped with metadata. Allowable values are
@@ -341,8 +347,10 @@ paths:
341347 $ref : ' #/components/schemas/Error'
342348 ' /tools/{id}/versions/{version_id}/{type}/tests ' :
343349 get :
344- summary : >-
345- Get an array of test JSONs (these allow you to execute the tool
350+ summary : Get a list of test JSONs
351+ operationId : toolsIdVersionsVersionIdTypeTestsGet
352+ description : >-
353+ Get a list of test JSONs (these allow you to execute the tool
346354 successfully) suitable for use with this descriptor type.
347355 tags :
348356 - GA4GH
@@ -353,8 +361,8 @@ paths:
353361 description : >-
354362 The type of the underlying descriptor. Allowable values include
355363 "CWL", "WDL", "NFL", "PLAIN_CWL", "PLAIN_WDL", "PLAIN_NFL". For
356- example, "CWL" would return an array of ToolTests objects while
357- "PLAIN_CWL" would return a bare JSON array with the content of the
364+ example, "CWL" would return an list of ToolTests objects while
365+ "PLAIN_CWL" would return a bare JSON list with the content of the
358366 tests.
359367 schema :
360368 type : string
@@ -399,11 +407,13 @@ paths:
399407 $ref : ' #/components/schemas/Error'
400408 ' /tools/{id}/versions/{version_id}/{type}/files ' :
401409 get :
402- summary : >-
403- Get an array of objects that contain the relative path and file type.
404- The descriptors are intended for use with the
410+ summary : Get a list of objects that contain the relative path and file type
411+ description : >-
412+ Get a list of objects that contain the relative path and file type. The
413+ descriptors are intended for use with the
405414 /tools/{id}/versions/{version_id}/{type}/descriptor/{relative_path}
406415 endpoint.
416+ operationId : toolsIdVersionsVersionIdTypeFilesGet
407417 tags :
408418 - GA4GH
409419 parameters :
@@ -457,6 +467,7 @@ paths:
457467 ' /tools/{id}/versions/{version_id}/containerfile ' :
458468 get :
459469 summary : Get the container specification(s) for the specified image.
470+ operationId : toolsIdVersionsVersionIdContainerfileGet
460471 description : >-
461472 Returns the container specifications(s) for the specified image. For
462473 example, a CWL CommandlineTool can be associated with one specification
@@ -507,6 +518,7 @@ paths:
507518 /metadata :
508519 get :
509520 summary : Return some metadata that is useful for describing this registry
521+ operationId : metadataGet
510522 description : Return some metadata that is useful for describing this registry
511523 tags :
512524 - GA4GH
@@ -523,6 +535,7 @@ paths:
523535 /toolClasses :
524536 get :
525537 summary : List all tool types
538+ operationId : toolClassesGet
526539 description : |
527540 This endpoint returns all tool-classes available
528541 tags :
@@ -551,18 +564,19 @@ components:
551564 limit :
552565 name : limit
553566 in : query
554- description : Amount of records to return in a given page. By default it is 1000.
567+ description : Amount of records to return in a given page.
555568 schema :
556569 type : integer
557570 format : int32
571+ default : 1000
558572 offset :
559573 name : offset
560574 in : query
561575 description : >-
562576 Start index of paging. Pagination results can be based on numbers or
563577 other values chosen by the registry implementor (for example, SHA
564578 values). If this exceeds the current result set return an empty set. If
565- not specified in the request this will start at the beginning of the
579+ not specified in the request, this will start at the beginning of the
566580 results.
567581 schema :
568582 type : string
@@ -617,14 +631,12 @@ components:
617631 properties :
618632 url :
619633 type : string
620- description : >-
621- The URL for this tool in this registry, for example
622- `http://agora.broadinstitute.org/tools/123456`
634+ example : ' http://agora.broadinstitute.org/tools/123456'
635+ description : The URL for this tool in this registry
623636 id :
624637 type : string
625- description : >-
626- A unique identifier of the tool, scoped to this registry, for
627- example `123456` or `123456_v1`
638+ example : 123456
639+ description : ' A unique identifier of the tool, scoped to this registry'
628640 organization :
629641 type : string
630642 description : The organization that published the image.
@@ -650,7 +662,8 @@ components:
650662 contains :
651663 description : >-
652664 An array of IDs for the applications that are stored inside this
653- tool (for example `https://bio.tools/tool/mytum.de/SNAP2/1`)
665+ tool
666+ example : ' https://bio.tools/tool/mytum.de/SNAP2/1'
654667 type : array
655668 items :
656669 type : string
@@ -687,19 +700,18 @@ components:
687700 description : The name of the version.
688701 url :
689702 type : string
690- description : >-
691- The URL for this tool in this registry, for example
692- `http://agora.broadinstitute.org/tools/123456/1`
703+ description : The URL for this tool in this registry
704+ example : ' http://agora.broadinstitute.org/tools/123456/1'
693705 id :
694706 type : string
695707 description : >-
696708 An identifier of the version of this tool for this particular tool
697- registry, for example `v1`
709+ registry
710+ example : v1
698711 image :
699712 type : string
700- description : >-
701- The docker path to the image (and version) for this tool. (e.g.
702- quay.io/seqware/seqware_full/1.1)
713+ description : The docker path to the image (and version) for this tool
714+ example : quay.io/seqware/seqware_full/1.1
703715 registry_url :
704716 type : string
705717 description : >-
@@ -758,9 +770,9 @@ components:
758770 type : string
759771 description : >-
760772 Optional url to the underlying tool descriptor, should include
761- version information, and can include a git hash (e.g.
773+ version information, and can include a git hash
774+ example : >-
762775 https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/pcawg_delly_workflow/ea2a5db69bd20a42976838790bc29294df3af02b/delly_docker/Delly.cwl
763- )
764776 ToolTests :
765777 type : object
766778 description : >-
@@ -778,7 +790,7 @@ components:
778790 Optional url to the test JSON used to test this tool. Note that this
779791 URL should resolve to the raw unwrapped content that would otherwise
780792 be available in test.
781- test-tool-url :
793+ test_tool_url :
782794 type : string
783795 description : >-
784796 Optional url to the test workflow that will exit successfully if
@@ -799,9 +811,9 @@ components:
799811 type : string
800812 description : >-
801813 Optional url to the file used to build this image, should include
802- version information, and can include a git hash (e.g.
814+ version information, and can include a git hash
815+ example : >-
803816 https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/pcawg_delly_workflow/c83478829802b4d36374870843821abe1b625a71/delly_docker/Dockerfile
804- )
805817 Metadata :
806818 type : object
807819 description : Describes this registry to better allow for mirroring and indexing.
0 commit comments