Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] post_id field in ListCommentReportsRequest #5265

Open
5 tasks done
Sjmarf opened this issue Dec 16, 2024 · 2 comments
Open
5 tasks done

[API] post_id field in ListCommentReportsRequest #5265

Sjmarf opened this issue Dec 16, 2024 · 2 comments
Labels
area: moderation enhancement New feature or request

Comments

@Sjmarf
Copy link

Sjmarf commented Dec 16, 2024

Requirements

  • Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a feature request? Do not put multiple feature requests in one issue.
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
  • Do you agree to follow the rules in our Code of Conduct?

Is your proposal related to a problem?

The comment/report/list endpoint already has a community_id field for filtering. It would be nice if I could filter by post_id too. This would allow a client to, for example, display reports inline in a comment chain.

Describe the solution you'd like.

Add a post_id field to ListCommentReportsRequest.

Describe alternatives you've considered.

Additional context

No response

@Sjmarf Sjmarf added the enhancement New feature or request label Dec 16, 2024
@dessalines
Copy link
Member

I'm currently in the process of removing that endpoint in favor of a combined one #5231 . I'll need to add a test to make sure what you're saying works correctly tho.

@Sjmarf
Copy link
Author

Sjmarf commented Dec 17, 2024

Great, thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: moderation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants