Glenn Lewis
d4f1b2d029
Add Nick Miyake to AUTHORS
Change-Id: I834cbcaeab613d50e9693be9f8272ac35b83ce3b
9 years ago
Nick Miyake
59cf7e6efb
Update License struct and add new RepositoryLicense struct
Update structs to reflect the new reponses returned from GitHub.
Fixes #471
9 years ago
Lucas Alcantara
905f04725b
changed to point to new Projects API
Created new service ProjectsService and removed methods in repos_projects that belong to ProjectsService.
Minor tweaks by @gmlewis following review.
Fixes #461 .
Closes #467 .
Change-Id: I8b85ff6e716151b505c843c905534bd5fe8257ae
9 years ago
Lucas Alcantara
f561108eef
changed updatedAt json to correct json value
Closes #469 .
Change-Id: Ia5e4b979cc7cf70734c4104eb5616e0eb9cd5c3d
9 years ago
Garrett Squire
575b0b3756
add support for merge method and repository squash settings
Closes #437 .
Closes #446 .
Change-Id: I7a9bd0717310ef016b2695fe0e5cffb8e8b86ff8
10 years ago
Glenn Lewis
55263f3052
Add Lucas Alcantara to AUTHORS
Change-Id: I8d2c9474de1585936f5cd7093b1a7404de6ac76d
9 years ago
Lucas Alcantara
f8a2c9578e
Add new webhooks for Labels and Milestones
Fixes #460 .
Closes #463 .
Change-Id: I34688c42a9328af10b4b61546e8bfd2c95c893aa
10 years ago
Glenn Lewis
a0472864f3
Add Ronak Jain to AUTHORS
Change-Id: I86b10e5038a8292337486d40fd9d0d8310e2c0c3
9 years ago
Ronak Jain
5494398587
removed authorization preview header
Fixes #464 .
Closes #465 .
Change-Id: I9bde509ef6bf9382c48344e58d4a77da4b33e4a3
9 years ago
Preston Van Loon
b30a8bd204
Add support for Pages Preview API GetPageBuild for getting single specific page build
Closes #415 .
Closes #447 .
Change-Id: I36d64eb59d494afcc872a04a1da9e0b11f396e46
10 years ago
Fabrice Vaillant
f7fcf6f52f
Switches to the new traffic API format ( #462 )
Fixes #458
10 years ago
Glenn Lewis
ed33550bbf
Update AUTHORS file
Change-Id: Iba31c9762d66cf42198009fcf7ae074211679d1a
10 years ago
Bradley Falzon
6afedaae20
Add review_comment{s,}_url fields to PullRequest
Generalise and add to PullRequestsService URL test
Fixes #453 .
Closes #454 .
Change-Id: Iaee7d8498d1d6a0813bbba14261e4393f77c9d1f
10 years ago
Anshuman Bhartiya
1bc362c773
added license_template to repo struct
Closes #443 .
Change-Id: I7c30d4091b11216e0aa1189abe001ac2e7476e49
10 years ago
Victor Vrantchan
b0386ddc32
Use nested commit for StatusEvent
Full documentation of StatusEvent webhook here:
https://developer.github.com/v3/activity/events/types/#statusevent
Use RepositoryCommit type for Commit field in StatusEvent.
Fixes #448 .
Closes #449 .
Change-Id: I9a2936a1893f50c3b507f6f295428db85ecf932b
10 years ago
Timothée Peignier
93d3f73032
Add support for integrations service
Closes #436 .
Change-Id: I02f7503a362ffc5ec09e24d0e3da0f8adfcd4b0c
10 years ago
Don Petersen
a1746f2820
Fix type of RepositoryRelease Author field.
The author JSON is in the format of a user, not a commit author, and so
the author field on all the release fetching methods were nil.
Closes #439 .
Change-Id: Ifc1e79a3c92b27ea65618b16a3a2fd2eb2873710
10 years ago
Alex Flint
7c77c70f85
Merge pull request #39 from alexflint/embedded
add support for embedded structs
10 years ago
Alex Flint
03900620e2
add not on embedding to readme
10 years ago
Alex Flint
12fa37d10d
add support for embedded structs
10 years ago
Dmitri Shuralyov
59307ef6be
Add and detect AbuseRateLimitError.
It's similar to RateLimitError, but it's a different type of rate limit
error. It is documented at:
https://developer.github.com/v3/#abuse-rate-limits
Parse and include the Retry-After header value, if present. It is
documented at:
https://developer.github.com/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits
According to GitHub support, its type is an integer value representing
seconds.
Helps #431 .
10 years ago
Glenn Lewis
3e246d2999
Add support for new Projects Preview API
Fixes #432 .
Change-Id: I4792114482f412f0eff54a6899a759fc9393ff88
10 years ago
Glenn Lewis
e4194fe26c
Add Timothée Peignier as author
Change-Id: Ia98b6c6aaaa579642fc097ac48ab7cb064eaf281
10 years ago
Timothée Peignier
b0b867f2d5
Add installation webhook events
Add support for the new webhooks event for installations.
See: https://developer.github.com/early-access/integrations/webhooks/
Closes #434 .
Change-Id: I74d3d50cb6b350322fc4515ad70097f0f70ae478
10 years ago
Antoine Pelisse
94a3cd9f53
Parse Webhook payload into actual event
Closes #427 .
Change-Id: I67faac8df63e0d55fcce4ca5f9ab50e26c04d6b3
10 years ago
Glenn Lewis
6c0472a769
Add Dave Henderson as author
Change-Id: Ia2ea767cc4da4a66ad20fab0382def0c10a688b3
10 years ago
Dave Henderson
0b167f8965
Adding Milestone support for PullRequests
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
10 years ago
Alex Flint
e6fdb157e9
Merge pull request #38 from alexflint/version_string
Add support for version strings
10 years ago
Alex Flint
f882700b72
add to readme
10 years ago
Alex Flint
c453aa1a28
add support for version string
10 years ago
Yumikiyo Osanai
a32b73b3f7
Update RateLimits comment
GitHub search API ratelimits are changed recently.
Reference: https://developer.github.com/v3/search/#rate-limit
Rate limit for unauthenticated requests change from 5 to 10 per minute.
And, rate limit for authenticated requests change from 20 to 30 per minute.
Signed-off-by: Yumikiyo Osanai <yumios.art@gmail.com>
10 years ago
Maryum
6d1b527d46
fix comment typo
Closes #424
10 years ago
Luke Young
073020b6c4
Add missing 'Type' field to 'GistFile' struct
10 years ago
chandresh-pancholi
a59a35745f
Fix code example in README file
Fixes #420
Closes #423
10 years ago
Will Norris
9fa26affe4
use slice of pointers rather than pointer to slice
10 years ago
Fabrice
8c8666ed5c
Add support for Repository Traffic API
Fixes #417
Closes #418
10 years ago
Dmitri Shuralyov
db3374506c
Travis: Add Go 1.7.
10 years ago
Juan Basso
b969816466
Adding missing field to search results
Added the field incomplete_results. It is docummented on https://developer.github.com/v3/search/#timeouts-and-incomplete-results
10 years ago
Juan Basso
56add9d407
Add some missing fields
Refs #103
Closes #411 .
Change-Id: Ia61f48de052fd61a98357ba6182ead613b454fa3
10 years ago
Glenn Lewis
215b9c6dec
add Juan Basso as author
Change-Id: I9a984b191e75fcd9e9fc3ca4ac563100464b9845
10 years ago
Alex Flint
34954f45ce
Merge pull request #36 from alexflint/add_goreportcard_readme
Add goreportcard to README.md
10 years ago
Alex Flint
6e9648cac6
add goreportcard to readme.md
10 years ago
Alex Flint
a5617823b0
Merge pull request #35 from alexflint/fix_example_names
fix example function names
10 years ago
Alex Flint
5800b89ce9
fix example function names
10 years ago
Juan Basso
a27d03e799
Fixed typo and removed unused vars
Refs #408
10 years ago
Juan Basso
331e3f6190
Fixing some lint issues
Closes #408
10 years ago
Dmitri Shuralyov
b5e5babef3
Set Content-Type to "application/json" for request bodies
According to https://developer.github.com/v3/#parameters :
For POST, PATCH, PUT, and DELETE requests, parameters
not included in the URL should be encoded as JSON with
a Content-Type of 'application/json'
Closes #407 .
Change-Id: Iee60a3ed6e06b85cc64f687fd28e7663c1fc34e3
10 years ago
Glenn Lewis
e1957cf0f6
add Huy Tr as author
Change-Id: I17b9482ac3c49af59b6d0b662a6e7d720073651d
10 years ago
Huy Tr
769837dee3
Add Request a Page Build API
Fixes #394 .
Closes #405 .
Change-Id: I00240a792bfcafd744e57a130af3168482f235d9
10 years ago
Dmitri Shuralyov
6a121d01ab
Fix Mark{,Repository}NotificationsRead methods.
Both of those endpoints use PUT method, which means they must send
the parameters as a JSON encoded body rather than query parameters.
Source: https://developer.github.com/v3/#parameters
Fixes #402 .
Closes #403 .
Change-Id: I444d1ce9ba881200282ff617454addc2e6eb4793
10 years ago