- IDMesh APIs
- 使用文档
- 管理 API
- 用户
- 应用
- 创建应用POST
- 更新应用基本信息PATCH
- 查询应用模板列表GET
- 查询应用列表GET
- 按条件查询应用GET
- 按 ID 查询应用GET
- 启用应用POST
- 禁用应用POST
- 删除应用DELETE
- 刷新应用安全码POST
- 查询应用配置信息GET
- 更新应用配置PATCH
- 禁用应用单点登录POST
- 启用应用多子账号登录POST
- 禁用应用多子账号登录POST
- 启用应用单点登录POST
- 启用应用多因素认证配置POST
- 禁用应用多因素认证配置DELETE
- 创建应用认证源POST
- 删除应用认证源DELETE
- 启用应用认证协议POST
- 禁用应用认证协议POST
- 重置应用认证协议密钥POST
- 查询应用认证协议列表GET
- 查询应用认证协议GET
- 更新应用认证协议PUT
- 更新应用子账号PUT
- 创建应用子账号POST
- 更新应用子账号PATCH
- 启用应用子账号POST
- 禁用应用子账号POST
- 删除应用子账号DELETE
- 按 APP ID 查询应用子账号列表GET
- 按条件查询应用子账号列表GET
- 按条件查询应用子账号GET
- 按 ID 查询应用子账号GET
- 更新应用 LogoPOST
- 批量创建应用子账号POST
- 权限及资源
- 组织关系
- 身份源
- KV 存储
- 定时任务
- 事件
- BFF
按 ID 查询应用
GET
/v1/applications/{id}
type_mgmtdocprogrammer-docmodule_application
请求参数
Path 参数
id
string
唯一标识
示例值:
11123321123321123321123
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1/v1/applications/11123321123321123321123'
返回响应
🟢200成功
application/json
Body
id
string
唯一标识
developer_id
string
开发者 ID
tenant_id
string
租户 ID
name
string
应用名称
type
string
应用类型
app_id
string
APPID
template_id
string
模板 ID
template_version
string
模板版本
latest_template_version
string
最新模板版本
category
string
应用分类
app_secret
string
应用秘钥
descr
string
应用描述
logo
string
logo
login_url
string
登录 url
domain
string
应用绑定的唯一域名
domain_sn
string
应用域名 SN
redirect_url
string
重定向u rl
logout_url
string
登出 url
sub_account_policy
integer
子账号策略
sys_ext_props
object
系统扩展属性
free_ext_props
object
自定义扩展属性
time_created
string
创建时间
time_modified
string
更新时间
status
string
状态
config
object (AppConfig)
应用配置
id
string
唯一标识
app_id
string
应用ID
allowed_login_method
string
允许的登录方式
default_login_method
string
默认登录方式
allowed_reg_method
string
允许注册方式
default_reg_method
string
默认注册方式
access_policy
string
应用级访问控制权限
reg_policy
string
新用户注册策略
allowed_id_provider
object
允许的登录身份提供商
sso_enabled
boolean
是否允许SSO
mfa_enabled
boolean
是否开启MFA
mfa_config
object
开启的MFA配置
multi_accounts_login_enabled
boolean
是否开启多子账号登录
time_created
string
创建时间
time_modified
string
修改时间
status
string
状态
protocols
array[object (AppProtocal)]
应用协议
示例
{
"id": "string",
"developer_id": "string",
"tenant_id": "string",
"name": "string",
"type": "string",
"app_id": "string",
"template_id": "string",
"template_version": "string",
"latest_template_version": "string",
"category": "string",
"app_secret": "string",
"descr": "string",
"logo": "string",
"login_url": "string",
"domain": "string",
"domain_sn": "string",
"redirect_url": "string",
"logout_url": "string",
"sub_account_policy": 0,
"sys_ext_props": {},
"free_ext_props": {},
"time_created": "string",
"time_modified": "string",
"status": "string",
"config": {
"id": "string",
"app_id": "string",
"allowed_login_method": "string",
"default_login_method": "string",
"allowed_reg_method": "string",
"default_reg_method": "string",
"access_policy": "string",
"reg_policy": "string",
"allowed_id_provider": {
"id": "string",
"idp_code": "string",
"idp_config_id": "string",
"auth_method_code": "string",
"auth_method_display_name": "string"
},
"sso_enabled": true,
"mfa_enabled": true,
"mfa_config": {
"name": "string",
"provider_type": "string",
"config_id": "string",
"scenarios": [
"string"
]
},
"multi_accounts_login_enabled": true,
"time_created": "string",
"time_modified": "string",
"status": "string"
},
"protocols": [
{}
]
}
🟠400参数错误
修改于 2024-10-18 06:30:35