Skip to content

SettingTenant

Manages tenant-level configurations to customize shared settings across their ecosystem


Query the AngusTester event setting of the current tenant

GET
/api/v1/setting/tenant/tester/event

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权

示例

cURL
JavaScript
PHP
Python

Replace the AngusTester event setting of the current tenant

PUT
/api/v1/setting/tenant/tester/event

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
{
"eventCode": "string",
"noticeTypes": [
"string"
]
}
]

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权
主体

示例

cURL
JavaScript
PHP
Python

Query security setting of the current tenant

GET
/api/v1/setting/tenant/security

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权

示例

cURL
JavaScript
PHP
Python

Replace security setting of the current tenant

PUT
/api/v1/setting/tenant/security

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
{
"signinLimit": {
"enabled": "true",
"signoutPeriodInMinutes": 0,
"passwordErrorIntervalInMinutes": 0,
"lockedPasswordErrorNum": 0,
"lockedDurationInMinutes": 0
},
"signupAllow": {
"enabled": "false",
"invitationCode": "IC000101819Sqi"
},
"passwordPolicy": {
"minLength": 0
},
"alarm": {
"enabled": "false",
"alarmWay": [
],
"receiveUser": [
{
"id": 0,
"fullName": "string"
}
]
}
}

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权
主体

示例

cURL
JavaScript
PHP
Python

Query the locale setting of the current tenant

GET
/api/v1/setting/tenant/locale

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权

示例

cURL
JavaScript
PHP
Python

Replace the locale setting of the current tenant

PUT
/api/v1/setting/tenant/locale

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
{
"defaultLanguage": "zh_CN"
}

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权
主体

示例

cURL
JavaScript
PHP
Python

Query the default platform stability indicator of the current tenant

GET
/api/v1/setting/tenant/indicator/stability

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权

示例

cURL
JavaScript
PHP
Python

Replace the default platform stability indicators of the current tenant

PUT
/api/v1/setting/tenant/indicator/stability

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
{
"threads": 0,
"duration": {
"value": 0,
"unit": "string"
},
"tps": 0,
"art": 0,
"percentile": "string",
"errorRate": 0,
"cpu": 0,
"memory": 0,
"disk": 0,
"network": 0
}

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权
主体

示例

cURL
JavaScript
PHP
Python

Query the default platform performance indicator of the current tenant

GET
/api/v1/setting/tenant/indicator/perf

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权

示例

cURL
JavaScript
PHP
Python

Replace the default platform performance indicators of the current tenant

PUT
/api/v1/setting/tenant/indicator/perf

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
{
"threads": 0,
"duration": {
"value": 0,
"unit": "string"
},
"rampUpThreads": 0,
"rampUpInterval": {
"value": 0,
"unit": "string"
},
"art": 0,
"percentile": "string",
"tps": 0,
"errorRate": 0
}

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权
主体

示例

cURL
JavaScript
PHP
Python

Query the default platform functionality indicator of the current tenant

GET
/api/v1/setting/tenant/indicator/func

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权

示例

cURL
JavaScript
PHP
Python

Replace the default platform functionality indicators of the current tenant

PUT
/api/v1/setting/tenant/indicator/func

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
{
"smoke": "true",
"smokeCheckSetting": "string",
"userDefinedSmokeAssertion": {
},
"security": "true",
"securityCheckSetting": "string",
"userDefinedSecurityAssertion": {
}
}

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权
主体

示例

cURL
JavaScript
PHP
Python

Query the api proxy setting of the current tenant

GET
/api/v1/setting/tenant/apis/proxy

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权

示例

cURL
JavaScript
PHP
Python

Replace the api proxy setting of the current tenant

PUT
/api/v1/setting/tenant/apis/proxy

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
{
"enabled": true,
"url": "ws://localhost:6806"
}

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权
主体

示例

cURL
JavaScript
PHP
Python

Generate signup invitation code of the current tenant

GET
/api/v1/setting/tenant/signup/invitationCode

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权

示例

cURL
JavaScript
PHP
Python

Released under the GPL-3.0 License.