You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: content/v3/issues.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Name | Type | Description
54
54
55
55
Name | Type | Description
56
56
-----|------|--------------
57
-
`milestone`|`integer` or`string`| If an`integer` is passed, it should refer to a milestone number. If the string`*` is passed, issues with any milestone are accepted. If the string`none` is passed, issues without milestones are returned.
57
+
`milestone`|`integer` or`string`| If an`integer` is passed, it should refer to a milestoneby its`number` field. If the string`*` is passed, issues with any milestone are accepted. If the string`none` is passed, issues without milestones are returned.
58
58
`state`|`string`| Indicates the state of the issues to return. Can be either`open`,`closed`, or`all`. Default:`open`
59
59
`assignee`|`string`| Can be the name of a user. Pass in`none` for issues with no assigned user, and`*` for issues assigned to any user.
60
60
`creator`|`string`| The user that created the issue.
@@ -93,7 +93,7 @@ Name | Type | Description
93
93
`title`|`string` |**Required**. The title of the issue.
94
94
`body`|`string` | The contents of the issue.
95
95
`assignee`|`string` | Login for the user that this issue should be assigned to._NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise._
96
-
`milestone`|`number` |Milestone to associate this issue with._NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._
96
+
`milestone`|`integer` |The`number` of the milestone to associate this issue with._NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._
97
97
`labels`|`array` of`strings` | Labels to associate with this issue._NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._
98
98
99
99
####Example
@@ -125,7 +125,7 @@ Name | Type | Description
125
125
`body`|`string` | The contents of the issue.
126
126
`assignee`|`string` | Login for the user that this issue should be assigned to.
127
127
`state`|`string` | State of the issue. Either`open` or`closed`.
128
-
`milestone`|`number` |Milestone to associate this issue with or`null` to remove current._NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._
128
+
`milestone`|`integer` |The`number` of the milestone to associate this issue with or`null` to remove current._NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._
129
129
`labels`|`array` of`strings` | Labels to associate with this issue. Pass one or more Labels to_replace_ the set of Labels on this Issue. Send an empty array (`[]`) to clear all Labels from the Issue._NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise._
Copy file name to clipboardExpand all lines: content/v3/repos.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ Name | Type | Description
124
124
`has_issues`|`boolean` | Either`true` to enable issues for this repository,`false` to disable them. Default:`true`
125
125
`has_wiki`|`boolean` | Either`true` to enable the wiki for this repository,`false` to disable it. Default:`true`
126
126
`has_downloads`|`boolean` | Either`true` to enable downloads for this repository,`false` to disable them. Default:`true`
127
-
`team_id`|`number` | The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
127
+
`team_id`|`integer` | The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
128
128
`auto_init`|`boolean` | Pass`true` to create an initial commit with empty README. Default:`false`
129
129
`gitignore_template`|`string` | Desired language or platform[.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell".
130
130
`license_template`|`string` | Desired[LICENSE template](https://github.com/github/choosealicense.com) to apply. Use the[name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mozilla".