Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxiuwen committed Dec 4, 2023
1 parent 5906ff6 commit 520ff29
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/document/server-side/userprofile.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ GET https://{host}/{org_name}/{app_name}/metadata/user/{username}

#### 请求 header

| 参数 | 类型 | 是否必需 | 描述 |
| :-------------- | :----- | :------- | :------------------------------------------------------------------------------------------------------------------- |
| `Content-Type` | String || 内容类型。请填 `application/json` |
| 参数 | 类型 | 是否必需 | 描述 |
| :-------------- | :----- | :------- | :---------- |
| `Content-Type` | String || 内容类型。请填 `application/json`|
| `Authorization` | String || App 管理员的鉴权 token,格式为 `Bearer YourAppToken`,其中 `Bearer` 为固定字符,后面为英文空格和获取到的 app token。 |

### HTTP 响应
Expand Down Expand Up @@ -227,6 +227,7 @@ POST https://{host}/{org_name}/{app_name}/metadata/user/get

| 参数 | 类型 | 是否必需<div style="width: 80px;"></div> | 描述 |
| :-------------- | :----- | :--------------------- | :--------------- |
| `Content-Type` | String || 内容类型。请填 `application/json`|
| `Authorization` | String || App 管理员的鉴权 token,格式为 `Bearer YourAppToken`,其中 `Bearer` 为固定字符,后面为英文空格和获取到的 app token。 |

#### 请求 body
Expand Down Expand Up @@ -257,7 +258,7 @@ POST https://{host}/{org_name}/{app_name}/metadata/user/get
```shell
# 将 <YourAppToken> 替换为你在服务端生成的 App Token

curl -X POST -H 'Authorization: Bearer <YourAppToken>' -d '{
curl -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer <YourAppToken>' -d '{
"properties": [
"avatarurl",
"ext",
Expand Down

0 comments on commit 520ff29

Please sign in to comment.