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

Lottery for GitHub Discussions on top of just issues #179

Open
yrodiere opened this issue Sep 17, 2024 · 2 comments
Open

Lottery for GitHub Discussions on top of just issues #179

yrodiere opened this issue Sep 17, 2024 · 2 comments

Comments

@yrodiere
Copy link
Member

Functionally would be very similar, even identical to what we do for issues.

Implementation-wise, would be quite different, as GitHub Discussions cannot be handled through REST APIs, only through GraphQL APIs.

cc @cescoffier

@yrodiere
Copy link
Member Author

yrodiere commented Dec 9, 2024

Interestingly, discussions can be found through the search API, which is a REST API... so #194 might actually help us implement support for discussions. => Wrong, see below.

@yrodiere
Copy link
Member Author

yrodiere commented Dec 9, 2024

Interestingly, discussions can be found through the search API, which is a REST API... so #194 might actually help us implement support for discussions.

Actually that's wrong.

The web page for search allows searching for discussions: https://github.com/search

The REST API does not: https://docs.github.com/en/rest/search/search?apiVersion=2022-11-28#about-search

So, still no integration with discussions.

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

No branches or pull requests

1 participant