Skip to content

Commit

Permalink
feat: .repos.{enableVulnerabilityAlerts|disableVulnerabilityAlerts}()
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed May 17, 2019
1 parent 2211bd8 commit c0bd5c3
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions plugins/rest-api-endpoints/routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -7432,6 +7432,23 @@
},
"url": "/repos/:owner/:repo/pages"
},
"disableVulnerabilityAlerts": {
"headers": {
"accept": "application/vnd.github.dorian-preview+json"
},
"method": "DELETE",
"params": {
"owner": {
"required": true,
"type": "string"
},
"repo": {
"required": true,
"type": "string"
}
},
"url": "/repos/:owner/:repo/vulnerability-alerts"
},
"enablePagesSite": {
"headers": {
"accept": "application/vnd.github.switcheroo-preview+json"
Expand All @@ -7446,19 +7463,39 @@
"required": true,
"type": "string"
},
"source[branch]": {
"source": {
"type": "object"
},
"source.branch": {
"enum": [
"master",
"gh-pages"
],
"type": "string"
},
"source[path]": {
"source.path": {
"type": "string"
}
},
"url": "/repos/:owner/:repo/pages"
},
"enableVulnerabilityAlerts": {
"headers": {
"accept": "application/vnd.github.dorian-preview+json"
},
"method": "PUT",
"params": {
"owner": {
"required": true,
"type": "string"
},
"repo": {
"required": true,
"type": "string"
}
},
"url": "/repos/:owner/:repo/vulnerability-alerts"
},
"get": {
"method": "GET",
"params": {
Expand Down

0 comments on commit c0bd5c3

Please sign in to comment.