Added documentation in line with the GitHub API reference