Skip to content

Commit 5046fd5

Browse files
committed
Add creator field to repoIssues. Fixes octokit#193
1 parent a1115dc commit 5046fd5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

api/v3.0.0/issues.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ var issues = module.exports = {
8484
* - milestone (String): Optional. Validation rule: ` ^([0-9]+|none|\*)$ `.
8585
* - state (String): Optional. open, closed, or all Validation rule: ` ^(open|closed|all)$ `.
8686
* - assignee (String): Optional. String User login, `none` for Issues with no assigned User. `*` for Issues with any assigned User.
87+
* - creator (String): Optional. The user that created the issue.
8788
* - mentioned (String): Optional. String User login.
8889
* - labels (String): Optional. String list of comma separated Label names. Example: bug,ui,@high
8990
* - sort (String): Optional. Validation rule: ` ^(created|updated|comments)$ `.

api/v3.0.0/routes.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"If-None-Match",
2727
"Cookie",
2828
"User-Agent",
29+
"Accept",
2930
"X-GitHub-OTP"
3031
],
3132
"params": {
@@ -823,9 +824,16 @@
823824
"type": "String",
824825
"required": false,
825826
"validation": "",
826-
"invalidmsg": "String User login, `none` for Issues with no assigned User. `*` for Issues with any assigned User.",
827+
"invalidmsg": "",
827828
"description": "String User login, `none` for Issues with no assigned User. `*` for Issues with any assigned User."
828829
},
830+
"creator": {
831+
"type": "String",
832+
"required": false,
833+
"validation": "",
834+
"invalidmsg": "",
835+
"description": "The user that created the issue."
836+
},
829837
"mentioned": {
830838
"type": "String",
831839
"required": false,

0 commit comments

Comments
 (0)