根据快照版本查询特性集
功能介绍
根据快照版本查询特性集
调试
您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。
URI
GET /v1/ipdprojectservice/projects/{project_id}/feature-set/query
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
project_id |
是 |
String |
项目id |
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
snapshot_version_id |
否 |
String |
特性集快照版本id,不传则查询当前版本特性集,传值则查询对应版本的特性集 |
请求参数
无
响应参数
状态码: 200
参数 |
参数类型 |
描述 |
---|---|---|
status |
String |
状态 |
message |
String |
消息 |
result |
Array of FeatureSetOpenApiVO objects |
返回结果 |
参数 |
参数类型 |
描述 |
---|---|---|
id |
String |
特性集id |
number |
String |
编号 |
parent_id |
String |
父特性集id |
title |
String |
标题 |
position_float |
String |
位置信息 |
created_by |
UserEntity object |
创建人信息 |
modified_by |
UserEntity object |
修改人信息 |
created_date |
String |
创建时间 |
modified_date |
String |
修改时间 |
child_fs |
Array of FeatureSetOpenApiVO objects |
子特性集 |
请求示例
-
查询项目b7262b36cfa84b09a27f7896e1fdefc6下快照版本981644868612829184的特性集数据
{url}/v1/ipdprojectservice/projects/b7262b36cfa84b09a27f7896e1fdefc6/feature-set/query?snapshot_version_id=981644868612829184
-
查询项目b7262b36cfa84b09a27f7896e1fdefc6当前版本的特性集数据
{url}/v1/ipdprojectservice/projects/b7262b36cfa84b09a27f7896e1fdefc6/feature_set/query
响应示例
状态码: 200
根据快照版本查询特性集返回体
{ "status" : "success", "message" : null, "result" : [ { "id" : "981644262727655424", "number" : "FS20240401737948", "parent_id" : null, "title" : "mod1-min-0325-1特性树", "position_float" : 2, "created_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "modified_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "created_date" : "1711971830000", "modified_date" : "1711971830000", "child_fs" : [ { "id" : "978983008897904641", "number" : "FS20240325720621", "parent_id" : "981644262727655424", "title" : "mod1-min-0325-1 特性树", "position_float" : 1, "created_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "modified_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "created_date" : "1711337337000", "modified_date" : "1711971830000", "child_fs" : [ { "id" : "981644718250041344", "number" : "FS20240401737949", "parent_id" : "978983008897904641", "title" : "1-1", "position_float" : 1, "created_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "modified_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "created_date" : "1711971938000", "modified_date" : "1711971938000", "child_fs" : [ { "id" : "981847412113842176", "number" : "FS20240402738983", "parent_id" : "981644718250041344", "title" : "11", "position_float" : 1, "created_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "modified_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "created_date" : "1712020264000", "modified_date" : "1712020264000", "child_fs" : null } ] }, { "id" : "981644750294523904", "number" : "FS20240401737950", "parent_id" : "978983008897904641", "title" : "1-2", "position_float" : 2, "created_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "modified_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "created_date" : "1711971946000", "modified_date" : "1711971946000", "child_fs" : [ { "id" : "981644805718056960", "number" : "FS20240401737951", "parent_id" : "981644750294523904", "title" : "1-2-1", "position_float" : 1, "created_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "modified_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "created_date" : "1711971959000", "modified_date" : "1711971959000", "child_fs" : null }, { "id" : "981644911709302785", "number" : "FS20240401738018", "parent_id" : "981644750294523904", "title" : "1-2-2", "position_float" : 2, "created_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "modified_by" : { "id" : "a360371833bf4c558f796fd707b44daf", "name" : "devcloud_devcloud_s00404480_01", "nick_name" : "测试账号" }, "created_date" : "1711971985000", "modified_date" : "1711972027000", "child_fs" : null } ] } ] } ] } ] }
状态码
状态码 |
描述 |
---|---|
200 |
根据快照版本查询特性集返回体 |
错误码
请参见错误码。