Skip to main content
GET
获取拆套配置

授权

x-ti-app-id
string
header
必填
x-ti-secret-code
string
header
必填

查询参数

workspace_id
string
必填

工作空间 ID。调用方需要 WORKSPACE_CONFIG 权限及该空间的访问权限。

scope
enum<string>
必填

配置范围:workspace 表示空间,category 表示类别。当 scope 为 category 时,必须同时传入 category_id。

可用选项:
workspace,
category
category_id
string

类别 ID;scope=category 时必填,且必须属于指定空间;scope=workspace 时不要传入。

响应

请求成功时,code 为 200,result 返回拆套配置;请求失败时,code 返回错误码,msg 说明失败原因。

code
integer<int64>
必填

业务状态码:200 表示成功,其他值表示失败。

示例:

200

msg
string
必填

响应说明;失败时说明具体原因。

示例:

"success"

result
object | null

成功时返回当前空间或类别保存的拆套配置;失败时为空或不返回。