You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change repository invitation methods to take :owner/:repo. (#586)
All repository routes on the GitHub API can accessed via /repositories/:id
and /repos/:owner/:repo. For some reason, the documentation for the
invitation routes only references the former. Contacting GitHub support
has confirmed that the inconsistent documentation was unintentional
and will likely be corrected to use :owner/:repo soon.
Repository invitations are the only functions in google/go-github to use the
:id style routes, so this changes them to use :owner/:repo for consistency,
and as that will likely be much more convenient for users of this library.
Bump version because this is a breaking API change. It affects endpoints
that are part of preview API only.
0 commit comments