API - Get time of dismissal of a review

Hi Everyone,

I’ve been going through the API docs for a while and I can’t seem to find what I’m looking for. I want to be able to get the time that a dismissed review was dismissed. I can get the time of review creation in a request to https://api.github.com/repos/[name]/[repo]/pulls/[num]/reviews under the ‘submitted_at’ key, but not dismissal.

If anyone could point me in the right direction, I would really appreciate it.

Daniel

Apparently dismissed reviews turn into review comments according to this help article, so you could probably do the following:

  1. Find all comments on the review

  2. Filter to the most recently created

  3. Use the created_at time to understand when the review was dismissed

https://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request