更新时间:2025-08-30 GMT+08:00
分享

查询插件详细信息

功能介绍

查询插件详细信息

调用方法

请参见如何调用API

URI

GET /v1/{project_id}/workspaces/{workspace_id}/soc/components/{component_id}

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

参数解释:

项目ID,用于明确项目归属,配置后可通过该ID查询项目下资产,可以通过调用API获取,也可以从控制台获取。获取项目ID

约束限制:

不涉及

取值范围:

不涉及

默认取值:

不涉及

workspace_id

String

参数解释:

工作空间ID

取值范围:

不涉及

component_id

String

插件id

请求参数

响应参数

状态码:200

表2 响应Body参数

参数

参数类型

描述

code

String

参数解释:

响应的返回码

约束限制:

不涉及

message

String

参数解释:

响应的错误信息

约束限制:

不涉及

data

ComponentInfo object

插件详细信息

表3 ComponentInfo

参数

参数类型

描述

id

String

id

name

String

name

dev_language

String

dev_language

dev_language_version

String

dev_language_version

alliance_id

String

alliance_id

alliance_name

String

alliance_name

description

String

description

logo

String

The market head icon

label

String

The label

create_time

String

create_time

update_time

String

update_time

creator_name

String

创建者名称

operate_history

Array of operate_history objects

插件操作历史

component_versions

Array of ComponentVersionInfo objects

插件版本信息,兼容之前java的以插件为粒度的版本

component_type

String

插件类型,subscribe/custom/system,对应订阅/自定义开发/系统内置

表4 operate_history

参数

参数类型

描述

operate_name

String

操作

operate_time

String

时间点

表5 ComponentVersionInfo

参数

参数类型

描述

id

String

id

version_num

String

版本号

version_desc

String

版本描述

status

String

状态

package_name

String

状态

component_attachment_id

String

状态

sub_version_id

String

状态

connection_config

Array of ColumnKeyInfo objects

操作连接配置List

表6 ColumnKeyInfo

参数

参数类型

描述

default_value

String

default_value

description

String

description

key

String

key

name

String

connection_config name

readonly

Boolean

readonly

required

Boolean

require

type

String

type

value

String

value

状态码:400

表7 响应Body参数

参数

参数类型

描述

code

String

参数解释:

错误码

取值范围:

不涉及

message

String

参数解释:

错误描述

取值范围:

不涉及

请求示例

响应示例

状态码

状态码

描述

200

Integration Response

400

Error response

错误码

请参见错误码

相关文档