GetUser
调用该接口获取用户信息。
Request
get \tenants\{tenant_id}\users\{user_id}
| Name | Located in | Type | Description |
|---|---|---|---|
| tenant_id | path | string | |
| user_id | path | string |
Response
Response 200
| Code2 | Description | Type | Schema |
|---|---|---|---|
| 200 | OK | Object | v1GetUserResponse |
v1GetUserResponse
| Name | Type | Description |
|---|---|---|
| avatar | string | |
| string | ||
| external_id | string | |
| nick_name | string | |
| tenant_id | string | |
| user_id | string | |
| username | string |
Response default
| Code2 | Description | Type | Schema |
|---|---|---|---|
| default | An unexpected error response. | Object | rpcStatus |
rpcStatus
| Name | Type | Description |
|---|---|---|
| code | integer | |
| details | Array[protobufAny] | [ 具体参数可见下面 protobufAny ] |
| message | string |
protobufAny
| Name | Type | Description |
|---|---|---|
| @type | string |