DevStar-查询模板列表(V2):响应参数
响应参数
状态码: 200
参数 |
参数类型 |
描述 |
---|---|---|
count |
Integer |
返回模板的数量。 |
invalid_count |
Integer |
返回关联了失效资源的模板数量。 |
templates |
Array of TemplateInfo objects |
返回模板的列表。 |
参数 |
参数类型 |
描述 |
---|---|---|
id |
String |
模板id。 |
title |
String |
模板名。 |
description |
String |
模板描述。 |
productshorts |
Array of strings |
模板关联的所有云服务(产品短名)。 |
products |
Array of TemplateProductExt objects |
模板关联的云产品。 |
topic |
Array of TopicCategory objects |
模板标签。 |
creator_id |
String |
模板创建者id。 |
creator |
String |
模板创建者,有别名返回别名。 |
nickname |
String |
模板创建者,有别名返回别名。 |
score |
Integer |
模板评分(点赞数)。 |
label |
String |
模板标签(new、hot等)。 |
store |
Integer |
代码存储位置。 |
store_info |
String |
获取代码模版所需的信息。 |
status |
Integer |
模板状态:
|
view_count |
Integer |
访问量。 |
usage_count |
Integer |
引用量。 |
created_at |
String |
创建时间。 |
updated_at |
String |
更新时间。 |
published_at |
String |
模板上架时间。 |
favorite_state |
Integer |
点赞状态:
|
tags |
Array of TagInfo objects |
模板标签。 |
type |
Integer |
模板类型:
|
is_static |
Integer |
动、静态代码模板标识:
|
maintainers |
Array of strings |
模板相关联的所有维护人账号名称。 |
pipeline_template |
PipelineTemplateInfo object |
流水线模板信息 |
platform_source |
Integer |
平台来源:
|
references |
Array of Reference objects |
相关文档,示例,帖子。 |
properties |
Object |
模板自定义参数列表。 |
dependencies |
Array of objects |
dependency信息。 |
dependency_type |
String |
dependency类型。 |
forum_id |
Integer |
关联论坛板块id。 |
file_size |
Integer |
模板文件解压缩之后的大小(单位:KB)。 |
deployment |
Object |
部署信息。 |
update_id |
String |
模板关联更新态Id。 |
is_support_cloudide |
Boolean |
是否支持使用CodeArts IDE Online运行源码。 |
has_notices |
Boolean |
是否有消息 |
dependents |
Array of Dependent objects |
模板部署方式依赖信息 |
dependent_services |
String |
模板关联云服务。 |
参数 |
参数类型 |
描述 |
---|---|---|
id |
String |
产品id。 |
productshort |
String |
产品短名。 |
product_name |
String |
产品名。 |
home_link |
String |
首页链接。 |
api_link |
String |
api调试链接。 |
sdk_link |
String |
sdk下载链接。 |
doc_link |
String |
文档链接。 |
logo_link |
String |
logo链接。 |
参数 |
参数类型 |
描述 |
---|---|---|
topic_id |
String |
topic的id。 |
topic_name |
String |
topic的名称。 |
category_id |
String |
topic对应的类别的id。 |
category_name |
String |
topic对应的类别的名称。 |
参数 |
参数类型 |
描述 |
---|---|---|
id |
String |
流水线模板的id。 |
name |
String |
流水线模板的名称。 |
detail |
String |
流水线模板的详细信息。 |