Fixing last.

This commit is contained in:
Dessalines 2020-01-20 18:49:54 -05:00
parent e094ae0208
commit 7914fd949c

View file

@ -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>,
} }
} }
``` ```