Commit Graph
234 Commits
Author SHA1 Message Date
Jamie df27af092f Add Enterprise ListRunners/RegistrationToken APIs (#1644) 2020-12-02 09:28:53 -05:00
Kumar Saurabh c5b0f2133d Clean up connection reuse code inside Do func
Fixes #1646 .
2020-11-14 13:03:48 -05:00
Nilesh Singh 76c3c3d7c6 Remove graduated GitHub v3 API preview header (#1636)
Fixes: #1634.
2020-10-04 17:37:05 -04:00
Vikky Omkar 8e1859fece Remove graduated GitHub v3 API preview headers (#1618)
Fixes: #1616.
2020-09-17 11:18:51 -04:00
Glenn Lewis 159b448168 Switch to new GitHub v3 API Documentation website (#1621) 2020-09-01 18:30:47 -04:00
Piyush Chugh 5f52968649 Fix GitHub Enterprise API subdomain (#1599)
Fixes: #1552.
2020-08-21 23:12:54 -04:00
Martin Holman 0bc3888d42 Update content type header for AppsService.CreateAttachment (#1602) 2020-08-17 12:43:18 -04:00
Asier Marruedo 6cbf5c6e88 Add support for Issue Import GitHub API (#1595) 2020-08-15 17:12:23 -04:00
Kumar Saurabh e19d4dd521 Read response body for TCP connection reuse (#1576) 2020-08-11 08:44:37 -04:00
Ali Farooq 6aeb5643c0 Fix documentation for addOptions func (#1568) 2020-06-24 19:14:49 -04:00
Ryan Mast 2fe941a427 Add support for Code Scanning API (#1545) 2020-06-16 21:20:22 -04:00
SteelPhase 378bcfd2d1 Correct Enterprise upload url (#1510) 2020-04-27 20:58:39 -04:00
Weslei Juan Moser Pereira 4ca0dcc089 Remove graduated custom media headers (#1493)
Fixes #1488.
2020-04-19 16:02:45 -04:00
Alex Orr 07c03e832b Support for deprecating API authentication through query parameters (#1469) 2020-03-27 08:10:30 -04:00
Patrick Marabeas 371b0007be Implement support for repository visibility parameter (#1471)
Fixes #1470.
2020-03-25 08:37:04 -04:00
Suhaib Mujahid 7726a3e3e3 Update github.go (#1464) 2020-03-19 19:53:35 -04:00
Clark Bynum 419f07c399 Update and remove OAuth endpoints (#1461)
Fixes #1331.
2020-03-17 09:10:52 -04:00
Martins Sipenko 7d28d53999 Implement support for action secrets (#1402)
Relates to: #1399.
2020-02-09 22:21:44 -05:00
kadern0 69231319df Change opt param to opts (#1417)
Fixes #1415.
2020-02-09 20:01:54 -05:00
vikkyomkar 8e32804546 Remove everest custom preview header (#1391)
Fixes #1390.
2020-01-27 13:58:19 -05:00
Ravi Shekhar Jethani d14f9fb01a Replace new() (#1395) 2020-01-25 13:18:07 -05:00
Glenn Lewis 2078be4104 Support cursor pagination (#1384) 2020-01-20 13:01:00 -05:00
vikkyomkar 200fc50fc0 Added support to revoke apps installation token (#1386)
* added support to revoke apps installation token

* updated testcase message
2020-01-19 14:00:12 -05:00
Carlos Tadeu Panato Junior ac9200d19f remove deprecated custom preview header (#1374)
Fixes: #1373.
2020-01-13 07:55:21 -05:00
haya14busa be5502b713 Support unexpected error structure (#1364)
Fixes #540.
Related: #1136.
2020-01-07 21:14:12 -05:00
haya14busa b57bcf63fe Re-populate HTTP response body of ErrorResponse (#1363)
Fixes #1136.
2020-01-07 21:04:57 -05:00
Eivind 7c15ddab76 Add support for repository dispatches (#1306)
Fixes #1316.
2020-01-07 20:54:46 -05:00
Vaibhav Singh 40fcc261cf Remove custom preview headers from "graduated" APIs (#1355)
Fixes #1351.
2019-12-26 10:09:21 -05:00
David Lopez Reyes 35682d88e4 Add support for multiline PR comments (#1326)
Fixes #1297.
2019-12-23 14:25:51 -05:00
Ioannis Georgoulas 1a07ca55c9 Add context nil check on client Doer (#1348)
Fixes #1260.
2019-12-09 09:20:32 -05:00
tkhandel 0e41ab9770 Simplify rate limit error check (#1321)
Fixes #1318.
2019-12-05 07:55:17 -05:00
Joshua Bezaleel Abednego ded42c1955 Remove mediaTypeTeamSyncPreview header (#1304)
Fixes #1296.
2019-12-05 07:38:59 -05:00
413x 2afdb44c18 Have run search on "mediaTypePagesPreview" and removed it from everywhere, also have removed it from tests, not sure if tests are actual anymore (#1299) 2019-12-05 07:04:21 -05:00
Daoq a01ea50f2f Add default enterprise suffix when creating an enterprise method (#958) (#1165)
Fixes #958.
2019-09-17 20:18:10 -04:00
Christian Muehlhaeuser eb81d96cb6 Use time.Until (#1233) 2019-07-25 08:08:36 -04:00
shane 74c3124198 Add support for creating and using template repos (#1236)
Fixes #1235.
2019-07-25 08:05:16 -04:00
David 1bab17eebd Add repository creation permissions field (#1213) 2019-07-08 18:27:19 -04:00
Vaibhav Singh 60c47f346f Added Support preview Team Sync API for GitHub Enterprise Cloud users (#1212)
Fixes #1200.
2019-07-08 18:06:19 -04:00
Glenn Lewis 0573e88402 Add gen-stringify-test.go (#1196) 2019-06-20 21:47:17 -04:00
Carlos Tadeu Panato Junior ae920610bb Add Automated Security Fixes API preview endpoint (#1188)
Fixes #1184.
2019-06-11 08:00:20 -04:00
Shrikrishna Singh 361256aa6e Add preview support to list branches or PRs for a commit (#1186)
Fixes #1151.
2019-06-10 16:18:44 -04:00
Wasim Thabraze 6a358807e1 Added update branch API (#1187)
Fixes #1183.
2019-06-09 17:02:41 -04:00
Glenn Lewis 6264c79745 Return new http.Client when nil passed to NewClient (#1178)
Fixes #1173.
2019-05-29 22:05:01 -04:00
Carlos Tadeu Panato Junior 901030391a add vulnerability-alerts endpoint (#1166) 2019-05-13 01:18:47 -04:00
Vaibhav Singh 6e47fb4b54 Update custom media type to preview Enable and Disable Pages API (#1143)
Fixes #1133.
2019-04-13 22:13:44 -04:00
Joshua Bezaleel Abednego 4e1a504644 Add support for Draft Pull Requests Preview API
This change implements support for a preview of a new Draft Pull
Requests API, announced at
https://developer.github.com/changes/2019-02-14-draft-pull-requests/.

• Add new media type constant.
• Use that media type in "list pull requests" and "get pull request"
  endpoints.
• Add Draft struct field to the PullRequest struct.

The "create pull request" and "update pull request" endpoints don't set
the new media type yet, but that can be dealt with in a future change.

Fixes #1120.
2019-02-15 12:35:18 -05:00
Aiden Keating 2406bfd7f3 Allow label to be specified in release asset upload (#1104)
Fixes #1103.
2019-01-27 23:17:15 -05:00
Aiden Keating 10ee8e064f Allow media type to be specified in release asset upload (#1102)
Helps #1097.
2019-01-25 09:20:04 -05:00
Wasim Thabraze e9b93d491f Renamed InteractionService methods to be specific to repositories and also renamed the header constant (#1087)
Helps #1077.
2019-01-03 18:16:33 -05:00
Wasim Thabraze 5cf405a8f9 Adding the new Interactions API support for repositories (#1079)
Helps #1077.
2018-12-28 09:59:33 -05:00