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
`type`|`string` | Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`. | |`all`
55
+
58
56
59
57
### Response
60
58
@@ -73,8 +71,10 @@ repositories.
73
71
74
72
### Parameters
75
73
76
-
since
77
-
: The integer ID of the last Repository that you've seen.
74
+
Name | Type | Description | Required? | Default
75
+
-----|------|--------------|----------|---------
76
+
`since`| | The integer ID of the last Repository that you've seen.| |
77
+
78
78
79
79
### Response
80
80
@@ -95,46 +95,19 @@ be a member of the specified organization.
95
95
96
96
### Input
97
97
98
-
name
99
-
: _Required_**string**
100
-
101
-
description
102
-
: _Optional_**string**
103
-
104
-
homepage
105
-
: _Optional_**string**
106
-
107
-
private
108
-
: _Optional_**boolean** - `true` to create a private repository, `false`
109
-
to create a public one. Creating private repositories requires a paid
110
-
GitHub account. Default is `false`.
111
-
112
-
has\_issues
113
-
: _Optional_**boolean** - `true` to enable issues for this repository,
114
-
`false` to disable them. Default is `true`.
115
-
116
-
has\_wiki
117
-
: _Optional_**boolean** - `true` to enable the wiki for this
118
-
repository, `false` to disable it. Default is `true`.
119
-
120
-
has\_downloads
121
-
: _Optional_**boolean** - `true` to enable downloads for this
122
-
repository, `false` to disable them. Default is `true`.
98
+
Name | Type | Description | Required? | Default
99
+
-----|------|--------------|----------|---------
100
+
`name`|`string` | The name of the repository|**YES**|
101
+
`description`|`string` | A short description of the repository| |
102
+
`homepage`|`string` | A URL with more information about the repository| |
103
+
`private`|`boolean` | Either `true` to create a private repository, or `false` to create a public one. Creating private repositories requires a paid GitHub account. | |`false`
104
+
`has_issues`|`boolean` | Either `true` to enable issues for this repository, `false` to disable them. | |`true`
105
+
`has_wiki`|`boolean` | Either `true` to enable the wiki for this repository, `false` to disable it. | |`true`
106
+
`has_downloads`|`boolean` | Either `true` to enable downloads for this repository, `false` to disable them. | |`true`
107
+
`team_id`|`number` | The id of the team that will be granted access to this repository. This is only valid when creating a repo in an organization.| |
108
+
`auto_init`|`boolean` | Pass `true` to create an initial commit with empty README. | |`false`
109
+
`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". _Ignored if the `auto_init` parameter is not provided._| |
123
110
124
-
team\_id
125
-
: _Optional_**number** - The id of the team that will be granted access
126
-
to this repository. This is only valid when creating a repo in an
127
-
organization.
128
-
129
-
auto\_init
130
-
: _Optional_**boolean** - `true` to create an initial commit with empty
131
-
README. Default is `false`.
132
-
133
-
gitignore\_template
134
-
: _Optional_**string** - Desired language or platform [.gitignore
135
-
template](https://github.com/github/gitignore) to
136
-
apply. Use the name of the template without the extension. For example, "Haskell"
137
-
_Ignored if `auto_init` parameter is not provided._
138
111
139
112
<%= json \
140
113
:name => "Hello-World",
@@ -172,33 +145,17 @@ The `parent` and `source` objects are present when the repo is a fork.
172
145
173
146
### Input
174
147
175
-
name
176
-
: _Required_**string**
177
-
178
-
description
179
-
: _Optional_**string**
180
-
181
-
homepage
182
-
: _Optional_**string**
183
-
184
-
private
185
-
: _Optional_**boolean** - `true` makes the repository private, and
186
-
`false` makes it public.
148
+
Name | Type | Description | Required? | Default
149
+
-----|------|--------------|----------|---------
150
+
`name`|`string` | The name of the repository|**YES**|
151
+
`description`|`string` | A short description of the repository| |
152
+
`homepage`|`string` | A URL with more information about the repository| |
153
+
`private`|`boolean` | Either `true` to make the repository private, or `false` to make it public. Creating private repositories requires a paid GitHub account. | |`false`
154
+
`has_issues`|`boolean` | Either `true` to enable issues for this repository, `false` to disable them. | |`true`
155
+
`has_wiki`|`boolean` | Either `true` to enable the wiki for this repository, `false` to disable it. | |`true`
156
+
`has_downloads`|`boolean` | Either `true` to enable downloads for this repository, `false` to disable them. | |`true`
157
+
`default_branch`|`String` | Updates the default branch for this repository.| |
187
158
188
-
has\_issues
189
-
: _Optional_**boolean** - `true` to enable issues for this repository,
190
-
`false` to disable them. Default is `true`.
191
-
192
-
has\_wiki
193
-
: _Optional_**boolean** - `true` to enable the wiki for this
194
-
repository, `false` to disable it. Default is `true`.
195
-
196
-
has\_downloads
197
-
: _Optional_**boolean** - `true` to enable downloads for this
198
-
repository, `false` to disable them. Default is `true`.
199
-
200
-
default\_branch
201
-
: _Optional_**String** - Update the default branch for this repository.
202
159
203
160
<%= json \
204
161
:name => "Hello-World",
@@ -221,9 +178,10 @@ default\_branch
221
178
222
179
### Parameters
223
180
224
-
anon
225
-
: Optional flag. Set to `1` or `true` to include anonymous contributors
226
-
in results.
181
+
Name | Type | Description | Required? | Default
182
+
-----|------|--------------|----------|---------
183
+
`anon`|`string` | Set to `1` or `true` to include anonymous contributors in results.| |
0 commit comments