获取全局配置

简介

此接口用于获取全局配置

任何身份的用户都可以获取到这个全局配置,前提是已通过Bearer鉴权

此接口同步运行于:/v1/status/getConfig 及 /v1/conf/get

请求

获取全局配置

GET /v1/status/getConfig

GET /v1/conf/get

Headers

属性

Content-Type

application/json

Authorization

Bearer {access_token}

Body

Response

响应参数说明

参数名
类型
必填
说明

success

boolean

请求是否成功

configs

array

包含所有配置项的数组

id

int

配置项的编号

name

string

配置项的名称

info

string

配置项的描述信息

data

string

配置项的具体值

Last updated

Was this helpful?