Add filters to Discussions GraphQL API #111272
Unanswered
benjavicente
asked this question in
Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
The answered filter has been added as an argument to discussions, but most of the filters that are available in the web UI are missing. Here is the full list of filters.
Notably, there doesn't seem to be a way to filter by label, author, answered by, and involves by an API call.
Those filters can be used with the pagination
totalCount
to get useful statistics about users and labels. The current workaround requires to manually search thought most discussions to get the desired count. Issues hasIssueFilters
to do the filtering, a similar API would be great.Similar issue: https://github.com/orgs/community/discussions/9096
Beta Was this translation helpful? Give feedback.
All reactions