Open maxkomarychev opened 4 years ago
I think that event payloads are the same as shown on https://developer.github.com/v3/activity/events/types/. If that's the case we could maybe leverage the scraped data from https://github.com/octokit/webhooks
If the docs are out of sync or lacking, it would be great to contact support@github.com. They will forward your request to the right people. You can send along a link to this issue
Current specification
https://github.com/octokit/routes/blob/master/openapi/api.github.com/operations/issues/list-events-for-timeline.json
I expected
Documentation here https://developer.github.com/v3/issues/timeline/ does not look comprehensive - i.e. through API I see other event times not mentioned in the spec, e.g. "reviewed"
curl -H "Accept: application/vnd.github.mockingbird-preview" https://api.github.com/repos/octokit/routes/issues/597/timeline
sample json
```json [ { "sha": "3393a660c742db8553a96db07a38e4a739602cf5", "node_id": "MDY6Q29tbWl0MTI0Mjg5ODA1OjMzOTNhNjYwYzc0MmRiODU1M2E5NmRiMDdhMzhlNGE3Mzk2MDJjZjU=", "url": "https://api.github.com/repos/octokit/routes/git/commits/3393a660c742db8553a96db07a38e4a739602cf5", "html_url": "https://github.com/octokit/routes/commit/3393a660c742db8553a96db07a38e4a739602cf5", "author": { "name": "dependabot[bot]", "email": "49699333+dependabot[bot]@users.noreply.github.com", "date": "2019-12-13T18:55:36Z" }, "committer": { "name": "GitHub", "email": "noreply@github.com", "date": "2019-12-13T18:55:36Z" }, "tree": { "sha": "c7e7be3d553a073720e80612f79f018ea467eb27", "url": "https://api.github.com/repos/octokit/routes/git/trees/c7e7be3d553a073720e80612f79f018ea467eb27" }, "message": "build(deps): bump npm from 6.13.1 to 6.13.4\n\nBumps [npm](https://github.com/npm/cli) from 6.13.1 to 6.13.4.\n- [Release notes](https://github.com/npm/cli/releases)\n- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)\n- [Commits](https://github.com/npm/cli/compare/v6.13.1...v6.13.4)\n\nSigned-off-by: dependabot[bot]