mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
Fixing last.
This commit is contained in:
parent
e094ae0208
commit
7914fd949c
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