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

✨ Add date range and comment filter to queryModerationEvents endpoint #2124

Merged
merged 9 commits into from
Feb 6, 2024

Conversation

foysalit
Copy link
Contributor

@foysalit foysalit commented Feb 2, 2024

This PR adds a few more handy params/filters to the queryModerationEvents lexicon in order to allow mods to look at events

  1. within a certain date-time range
  2. with a certain comment/note keyword
  3. with comments only
  4. emitted by a specific user/mod
  5. with one or more report types
  6. with one or more labels added/removed

@devinivy
Copy link
Collaborator

devinivy commented Feb 5, 2024

@foysalit would you mind adding a changeset for the change to @atproto/api? Adding a changeset will facilitate the next release of the api package. The command is pnpm changeset. We'll want to mark the @atproto/api package for a patch release. It will generate a file, which just needs to be checked-in to this PR. Feel free to reach out if you want a hand with it, I realize you may not have had to add a changeset here before!

@devinivy devinivy merged commit e4ec7af into main Feb 6, 2024
3 checks passed
@devinivy devinivy deleted the advanced-event-filters branch February 6, 2024 00:10
@github-actions github-actions bot mentioned this pull request Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants