mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 06:11:26 +00:00
Fixing last.
This commit is contained in:
parent
20c9c54806
commit
dbe9ad0998
1 changed files with 5 additions and 1 deletions
6
docs/src/contributing_websocket_http_api.md
vendored
6
docs/src/contributing_websocket_http_api.md
vendored
|
@ -611,7 +611,7 @@ Marks all user replies and mentions as read.
|
||||||
|
|
||||||
#### Search
|
#### Search
|
||||||
|
|
||||||
Search types are `Both, Comments, Posts`.
|
Search types are `All, Comments, Posts, Communities, Users, Url`
|
||||||
|
|
||||||
##### Request
|
##### Request
|
||||||
```rust
|
```rust
|
||||||
|
@ -624,6 +624,7 @@ Search types are `Both, Comments, Posts`.
|
||||||
sort: String,
|
sort: String,
|
||||||
page: Option<i64>,
|
page: Option<i64>,
|
||||||
limit: Option<i64>,
|
limit: Option<i64>,
|
||||||
|
auth?: Option<String>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -632,8 +633,11 @@ Search types are `Both, Comments, Posts`.
|
||||||
{
|
{
|
||||||
op: "Search",
|
op: "Search",
|
||||||
data: {
|
data: {
|
||||||
|
type_: String,
|
||||||
comments: Vec<CommentView>,
|
comments: Vec<CommentView>,
|
||||||
posts: Vec<PostView>,
|
posts: Vec<PostView>,
|
||||||
|
communities: Vec<CommunityView>,
|
||||||
|
users: Vec<UserView>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue