`GET /user/get_captcha`
#### Get User Details
+
+`username` can only be used for local users. To get details for a federated user, pass `user_id` instead.
+
##### Request
```rust
{
Post listing types are `All, Subscribed, Community`
+`community_name` can only be used for local communities. To get posts for a federated community, pass `community_id` instead.
+
##### Request
```rust
{
Comment listing types are `All, Subscribed, Community`
+`community_name` can only be used for local communities. To get posts for a federated community, pass `community_id` instead.
+
##### Request
```rust
{
}
if let Some(for_community_name) = self.for_community_name {
- query = query.filter(community_name.eq(for_community_name));
+ query = query
+ .filter(community_name.eq(for_community_name))
+ .filter(local.eq(true));
}
if let Some(for_post_id) = self.for_post_id {
if let Some(for_community_name) = self.for_community_name {
query = query
.filter(community_name.eq(for_community_name))
+ .filter(local.eq(true))
.then_order_by(stickied.desc());
}