Skip to content

Commit

Permalink
更新用户获取文档。
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed May 23, 2017
1 parent 65fa1e8 commit d1fabb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/api/v2/user/show.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,19 @@ Status: 200 OK
### 获取指定用户

```
GET /users/1
GET /users/1?following={user}&follower={user}
```

其中 `following``follower` 是可选参数,验证用户我是否关注以及是否关注我的用户 id ,默认为当前登陆用户。

### 批量获取指定用户

```
GET /users?user=1,2
```

> user 可以是一个值,或者多个值,多个值的时候用英文半角 `,` 分割。
----------

## 数据根信息
Expand Down

0 comments on commit d1fabb9

Please sign in to comment.