基因容器 GCS
基因容器 GCS
- 最新动态
- 产品介绍
- 快速入门
- 用户指南
- Cromwell引擎使用指南
- 最佳实践
- 流程语法参考
- Python SDK参考
- API参考
-
CLI参考
- 命令总览
- 安装命令行工具
- 示例:使用命令行执行简单脚本
-
gcs 命令详情
- gcs version
- gcs config add
- gcs config list
- gcs get kubectl
- gcs get enviroment
- gcs set env
- gcs get sfs
- gcs set sfs
- gcs get obscli
- gcs obs upload
- gcs get workflow
- gcs create workflow
- gcs del workflow
- gcs update workflow
- gcs sub workflow
- gcs get execution
- gcs create execution
- gcs del execution
- gcs set execution
- gcs sub job
- gcs sub repjob
- gcs get tool
- gcs sub wdl
- gcs get wdl
- gcs set wdl
- get get fr
- config.ini配置说明
- 常见问题
- 视频帮助
- 文档下载
- 通用参考
链接复制成功!
查询tool列表
功能介绍
查询工具列表。
URI
GET /v1/tools
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
scope |
否 |
String |
工具使用范围,如果为空默认domain。范围为:
|
name |
否 |
String |
工具名称,适用于根据工具名称模糊查询工具ID场景。 |
whole_name |
否 |
String |
工具名称,适用于根据工具名称全匹配查询工具ID场景。 |
offset |
否 |
String |
查询起始偏移,默认为0。 |
limit |
否 |
String |
单次查询总量,和offset必须成对出现。 |
category |
否 |
String |
工具分类,适用于根据工具分类查询工具场景。 支持选项:
|
请求消息
请求示例
GET /v1/tools HTTP/1.1 Host:Host Server Content-Type:application/json
响应消息
响应参数
响应中含有多个工具结构,结构如表2所示。
响应示例
{ "tools": [ { "tool": [ { "guid": "da46b3dd-ffa9-d99b-95fa-824eeeceebea", "name": "obs-util", "description": "", "project_id": "a573035fc*********8eaea580553667", "version": "0.1.1", "scope": "public", "domain": "gcs_container", "domain_id": "024014b87********30fbe790bda3e6", "vendor": "基因容器团队", "image": "obs-util:0.1.1", "create_at": "2019-06-13T06:59:14Z", "update_at": "2019-06-13T06:59:14Z", "category": "environment", "instruction": "", "cpu": "2C", "memory": "8G", "command": "", "logo": "", "type": "container", "enterprise_project":{"id": "ccc130bb-fa32-4af9-9370-7458470169cf", "name": "dts"} } ] } ], "total": 1 }
请求失败的响应参数如表11所示。
父主题: Tool