13 Commits
Author SHA1 Message Date
Oleksandr Redko 33cf038ac1 docs: Add apiVersion to GitHub API link (#4147) 2026-04-11 10:47:17 -04:00
WillAbides a54bc7da1d Use metadata to reconcile go-github with GitHub's OpenAPI descriptions (#2919) 2023-11-03 10:26:59 -04:00
Glenn Lewis 7a7a7f0943 Update URLs (#2373)
Fixes: #2360.
2022-05-24 08:43:48 -04:00
Glenn Lewis a64f3a6d08 Update URLs (#1659) 2020-12-02 10:39:08 -05:00
Glenn Lewis 159b448168 Switch to new GitHub v3 API Documentation website (#1621) 2020-09-01 18:30:47 -04:00
Kevin Burke 82629e0459 Use HTTPS for all developer.github.com links. (#551)
Avoids a redirect and possible tampering.
2017-02-17 20:59:02 -05:00
Matthew Dempsky 8808be6605 Avoid unnecessary FooService allocations
Fixes #389
Fixes #390
2016-06-29 07:21:34 -07:00
Billy Lynch 1e532bd48b Restructured Git Data Service files. 2013-08-01 11:19:58 -04:00
Will Norris 881f68d3fd fix go-vet warnings
add quotes around json tag values in order to be compatible with
reflect.StructTag.Get
2013-07-29 15:08:50 -07:00
Will Norris 186da53ea4 Add methods for git commits
The main purpose of adding this (aside from simply implementing the full
GitHub API) is to establish the basic Commit type, so that we can build
around it for things like Events (see #4) and WebHooks (see #20).
2013-07-29 10:16:58 -07:00
Will Norris 9597c7dd43 Fix URL for CreateTree
There shouldn't be a SHA in the URL
Also rename 'user' to 'owner'
2013-07-29 10:03:18 -07:00
Will Norris 71fcef4a0e misc cleanup of trees API
- complete the rename from TreesService to GitService.  For example,
  renaming Get to GetTree, and Create to CreateTree.

- rename GitTree to TreeEntry.  I really have no idea why GitHub chose
  to use the field name "tree" for this, since these aren't necessarily
  trees in the git sense.  Looking at it more closely, these are really
  just the entries within a tree, hence the rename.

- simplify several tests and shuffle some things for consistency with
  the rest of the library
2013-07-03 17:26:20 -07:00
Will Norris cf1e5f660e rename TreesServe to GitService 2013-07-03 17:01:28 -07:00