Skip to content

Commit

Permalink
feat: visibility parameter for `.repos.createForAuthenticatedUser()…
Browse files Browse the repository at this point in the history
…` and `.repos.createInOrg()`
  • Loading branch information
gr2m committed Jan 18, 2020
1 parent c783249 commit 31b094b
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions plugins/rest-api-endpoints/routes.json
Expand Up @@ -4064,7 +4064,11 @@
"license_template": { "type": "string" },
"name": { "required": true, "type": "string" },
"private": { "type": "boolean" },
"team_id": { "type": "integer" }
"team_id": { "type": "integer" },
"visibility": {
"enum": ["public", "private", "visibility", "internal"],
"type": "string"
}
},
"url": "/user/repos"
},
Expand Down Expand Up @@ -4112,7 +4116,11 @@
"name": { "required": true, "type": "string" },
"org": { "required": true, "type": "string" },
"private": { "type": "boolean" },
"team_id": { "type": "integer" }
"team_id": { "type": "integer" },
"visibility": {
"enum": ["public", "private", "visibility", "internal"],
"type": "string"
}
},
"url": "/orgs/:org/repos"
},
Expand Down Expand Up @@ -5292,7 +5300,11 @@
"name": { "type": "string" },
"owner": { "required": true, "type": "string" },
"private": { "type": "boolean" },
"repo": { "required": true, "type": "string" }
"repo": { "required": true, "type": "string" },
"visibility": {
"enum": ["public", "private", "visibility", "internal"],
"type": "string"
}
},
"url": "/repos/:owner/:repo"
},
Expand Down

0 comments on commit 31b094b

Please sign in to comment.