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

Discussions REST API and clients #83

Closed
peaceiris opened this issue Jul 11, 2021 · 1 comment
Closed

Discussions REST API and clients #83

peaceiris opened this issue Jul 11, 2021 · 1 comment
Labels
Type: Feature New feature or request

Comments

@peaceiris
Copy link

What’s missing?

We are joining the Discussions/Actions integration beta. I have tried to use issues.createComment to post a comment to a discussions conversation, but it does not support discussions. Any plan to provide API client methods for discussions?

Why?

To automate discussions like issues with rest.issues.

Alternatives you tried

  • rest.issues
@gr2m
Copy link
Contributor

gr2m commented Jul 13, 2021

You can use octokit.request() until the REST API methods are defined in the OpenAPI spec at https://github.com/github/rest-api-description/. Once they get added to the OpenAPI spec, the .rest API gets updated automatically

@gr2m gr2m closed this as completed Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants