Commit graph

524 commits

Author SHA1 Message Date
Iwan Budi Kusnanto
c317bcf8d1 Split Client.getResponse to Client.doRequest & Client.getResponse. (#44)
There is some API that give empty response and we only need
to check HTTP status code.
example :
https://developer.github.com/v3/issues/assignees/#check-assignee

But there is no way to do this in current code because
getResponse will parse the response body and not returning
HTTP status code.

Client.doRequest makes it possible to do this.
2016-08-26 10:52:08 -07:00
Unknwon
c52f7ee0cc #26 code cleanup 2016-08-24 20:58:09 -07:00
Iwan Budi Kusnanto
3d69f7ccdc issues comment API client (#26) 2016-08-24 20:49:11 -07:00
Unknwon
2ffd4704c6 Change EditMilestoneOption.Title to non-pointer 2016-08-24 15:52:02 -07:00
Unknwon
cdfad4c78c #39 code clean up 2016-08-24 14:36:36 -07:00
lstahlman
82d9ef436f Additional API support for milestones (#39) 2016-08-24 14:30:53 -07:00
Kim Carlbäcker
5e50f02925 Add Status-flag to EditIssueOption (#41)
* EditIssueOption takes Status-flag

* json-element renamed 'state' to reflect GitHub-API

* Renamed Status=>State for EditIssueOption
2016-08-19 08:13:44 -07:00
Unknwon
51c4df8c35 Rename Issue.User -> Issue.Poster 2016-08-16 10:16:51 -07:00
Unknwon
e363d3ff8f Remove unused payload types 2016-08-14 04:16:36 -07:00
Unknwon
5799eb65e0 Add pull request 2016-08-14 03:32:53 -07:00
Robin Lambertz
87e433464c Add optional MaxRepoCreation field to EditUserOption (#22) 2016-08-11 11:46:49 -07:00
Unknwon
1fef67c191 gofmt 2016-08-11 11:34:16 -07:00
Robin Lambertz
f286f03526 Add AddCollaborator API Endpoint (#24) 2016-08-11 09:07:42 -07:00
Unknwon
d1020b4da5 Add Timestamp to PayloadCommit 2016-08-09 18:26:35 -07:00
lstahlman
9cf52efdff Add committer information to webhook payload. (#40) 2016-08-09 16:24:17 -07:00
Unknwon
9408f9de81 Add binding validation rule 2016-08-05 21:25:42 -07:00
Unknwon
28d53c48e2 Fix compile error 2016-08-05 21:12:21 -07:00
Unknwon
58af7d8521 #21 code cleanup 2016-08-05 20:56:36 -07:00
Robin Lambertz
3a3b83760f Add the AddOrgMembership API endpoint (#21) 2016-08-05 20:52:27 -07:00
Unknwon
d725743594 #35 improve code structure 2016-08-03 11:50:33 -07:00
Unknwon
e3ad13b2f3 BREAK CHANGES: rename argument type for issue APIs
int -> int64
2016-08-02 11:59:54 -07:00
Unknwon
181ccc696c #35 code cleanup 2016-08-02 11:59:14 -07:00
lstahlman
84314343cb API Label Support (#35) 2016-08-02 11:51:02 -07:00
Richard Mahn
442b4e5ddc Added Full Name to CreateUserOption (#36) 2016-07-27 02:42:24 +08:00
Unknwon
f2f681f7cb Simplify code 2016-07-17 08:46:54 +08:00
lstahlman
ee68cd9eef Add timestamps to repository api response (#34)
Add created_at and updated_at properties to repository api response
2016-07-12 05:02:42 +08:00
Unknwon
872cf281aa Bump version 2016-07-11 05:01:11 +08:00
lstahlman
5ec1a10830 Extend the API to include more repository properties (#33)
Adds description, stars_count, forks_count, watchers_count and
open_issues_count.
2016-07-11 04:57:18 +08:00
Ahmed T. Youssef
e8d96b66be Update user_key.go (#29)
Fixing ListMyPublicKeys
2016-07-02 16:57:07 +08:00
Unknwon
01270dfe22 issue: add field to indicate state when create 2016-05-11 12:18:31 -04:00
Unknwon
1da1834d36 Add CreateTeamOption 2016-03-21 12:45:51 -04:00
Unknwon
788ec59749 Add CRUD issues 2016-03-13 23:18:27 -04:00
Unknwon
d584b1e0fb Merge pull request #20 from joshfng/add-default-branch-to-repo-hook
Add default branch to repo and change version
2016-02-12 16:27:11 -05:00
Josh Frye
af209485d5 Add default branch to repo and change version 2016-02-12 11:03:04 -05:00
Unknwon
4f98d4dc0d Minor fix for #15 2016-02-02 16:54:14 -05:00
Unknwon
01d5b5ee82 Merge pull request #15 from sapk/master
Add branch representation and API calls
2016-02-02 16:52:06 -05:00
Antoine GIRARD
25f8ed637d Fix import 2016-01-15 14:35:31 +01:00
Antoine GIRARD
3716eee47b Use uppercase for first letter 2016-01-15 14:30:47 +01:00
Antoine GIRARD
10296af427 Create repo_branches.go 2016-01-14 16:21:47 +01:00
Unknwon
2f4342d6de fix gogits/gogs#2329 2016-01-06 13:18:57 +08:00
Unknwon
7830cf2c51 fix #13 2016-01-04 04:51:12 +08:00
Unknwon
2a795f081a user - follow 2015-12-21 04:12:20 -08:00
Unknwon
78460e9b86 admin creare repo 2015-12-17 22:51:53 -05:00
Unknwon
ce7aab692f binding rule 2015-12-17 02:24:28 -05:00
Unknwon
30a98edc71 add orgs 2015-12-17 02:15:29 -05:00
Unknwon
6cc168ca78 add user_email 2015-12-15 22:56:44 -05:00
Unknwon
4b541faeee admin users 2015-12-05 17:12:43 -05:00
Unknwon
a27e272ebf add more field to repo payload 2015-12-05 13:24:40 -05:00
Unknwon
41ded8a3f9 minor tag fix 2015-12-04 17:10:37 -05:00
Unknwon
4663f3ae45 public key 2015-12-03 00:16:21 -05:00