Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

API to hide comments #1480

Closed
mwarkentin opened this issue Jan 29, 2019 · 3 comments
Closed

API to hide comments #1480

mwarkentin opened this issue Jan 29, 2019 · 3 comments
Labels
API Requests related to the GitHub developer API comments commit comments

Comments

@mwarkentin
Copy link

There doesn't appear to be an API to hide comments (like you can through the UI). It would be nice if this was available so that tools like atlantis could mark outdated comments as hidden and clean up the PR greatly.

@iansan5653
Copy link

iansan5653 commented Aug 20, 2019

runatlantis/atlantis#126 (comment)

Thanks for your feedback! We're always working to improve GitHub and we consider every suggestion we receive. I don't show that we are planning to offer a way to minimize comments through the API this year, but I have added it to our internal Feature Request List.
We can't say if/when we may add a feature, however your feedback has definitely been recorded.

From GitHub support on Jan 29.

@dcabasson
Copy link

We ended up using the mutation that is available in the Github v4 API to do that:
https://developer.github.com/v4/mutation/minimizecomment/

@mwarkentin
Copy link
Author

I think a graphql api counts, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API Requests related to the GitHub developer API comments commit comments
Projects
None yet
Development

No branches or pull requests

4 participants