From e089899a2ebe8b2b8ad3523ba76a284ea669ee01 Mon Sep 17 00:00:00 2001 From: miaosiyu Date: Wed, 20 Dec 2023 11:15:47 +0800 Subject: [PATCH] feat: update api doc --- op/API.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/op/API.md b/op/API.md index 6a6dada..9110065 100644 --- a/op/API.md +++ b/op/API.md @@ -4960,3 +4960,30 @@ DELETE /v1/buckets/{bucket}/objects/{key} +### system + +#### 获取租户环境变量字典表 + +``` js +const { data } = await op.api.user.listEnvVariables(); +``` + +GET /v1/system/dictionaries/tenant?category=env_variables + +##### 参数 + +无 + +##### 响应 + +- 200 成功 + +`application/json` + +``` ts +{ + id: string; + keycode: string; + value: string; +}[] +``` \ No newline at end of file