File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -307,6 +307,7 @@ var repos = module.exports = {
307307 * - has_issues (Boolean): Optional. True to enable issues for this repository, false to disable them. Default is true.
308308 * - has_wiki (Boolean): Optional. True to enable the wiki for this repository, false to disable it. Default is true.
309309 * - has_downloads (Boolean): Optional. True to enable downloads for this repository, false to disable them. Default is true.
310+ * - default_branch (String): Optional. Updates the default branch for this repository.
310311 **/
311312 this . update = function ( msg , block , callback ) {
312313 var self = this ;
Original file line number Diff line number Diff line change 232232 "invalidmsg" : " " ,
233233 "description" : " True to enable downloads for this repository, false to disable them. Default is true."
234234 },
235+ "default_branch" : {
236+ "type" : " String" ,
237+ "required" : false ,
238+ "validation" : " " ,
239+ "invalidmsg" : " " ,
240+ "description" : " Updates the default branch for this repository."
241+ },
235242 "collabuser" : {
236243 "type" : " String" ,
237244 "required" : true ,
18981905 "$private" : null ,
18991906 "$has_issues" : null ,
19001907 "$has_wiki" : null ,
1901- "$has_downloads" : null
1908+ "$has_downloads" : null ,
1909+ "$default_branch" : null
19021910 }
19031911 },
19041912
You can’t perform that action at this time.
0 commit comments