Github Events API not returning IssueCommentEvent for edited and deleted comments

I tried hitting Events API

GET /repos/:owner/:repo/events
but it is not returning events for editing and deleting comments even though in the docs it says that it returns events for editing and deleting comments

Hi @91ayush,

Thanks for being here! I see our support team replied to you via private support and would like to share that information here as someone else might benefit from your question. Thanks again for posting.

Thanks for reaching out and sorry for the delay in getting back to you on this. Yeah, that’s actually expected behavior and the documentation is unclear – not all actions trigger events in the Events API (but they do trigger webhook deliveries). I’ll ask the documentation team to improve the documentation here – sorry for the confusion!