зеркало из https://github.com/github/docs.git
Коммит
4e931724b5
|
@ -9344,6 +9344,26 @@
|
|||
"type": "string"
|
||||
},
|
||||
"descriptionHTML": "<p>The slug version of the enterprise name. You can also substitute this value with the enterprise id.</p>"
|
||||
},
|
||||
{
|
||||
"name": "per_page",
|
||||
"description": "Results per page (max 100)",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 30
|
||||
},
|
||||
"descriptionHTML": "<p>Results per page (max 100)</p>"
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"description": "Page number of the results to fetch.",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
},
|
||||
"descriptionHTML": "<p>Page number of the results to fetch.</p>"
|
||||
}
|
||||
],
|
||||
"x-codeSamples": [
|
||||
|
@ -9389,6 +9409,11 @@
|
|||
"httpStatusMessage": "OK",
|
||||
"description": "Success",
|
||||
"payload": "<pre><code class=\"hljs language-json\"><span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"total_advanced_security_committers\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-number\">2</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"repositories\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">[</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"name\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octocat-org/Hello-World\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"advanced_security_committers\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-number\">2</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"advanced_security_committers_breakdown\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">[</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"user_login\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octocat\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"last_pushed_date\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"2021-11-03\"</span>\n <span class=\"hljs-punctuation\">}</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"user_login\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octokitten\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"last_pushed_date\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"2021-10-25\"</span>\n <span class=\"hljs-punctuation\">}</span>\n <span class=\"hljs-punctuation\">]</span>\n <span class=\"hljs-punctuation\">}</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"name\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octocat-org/server\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"advanced_security_committers\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-number\">1</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"advanced_security_committers_breakdown\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">[</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"user_login\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octokitten\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"last_pushed_date\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"2021-10-26\"</span>\n <span class=\"hljs-punctuation\">}</span>\n <span class=\"hljs-punctuation\">]</span>\n <span class=\"hljs-punctuation\">}</span>\n <span class=\"hljs-punctuation\">]</span>\n<span class=\"hljs-punctuation\">}</span>\n</code></pre>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
"httpStatusMessage": "Forbidden",
|
||||
"description": "Response if GitHub Advanced Security is not enabled for this repository"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -25028,6 +25053,26 @@
|
|||
"type": "string"
|
||||
},
|
||||
"descriptionHTML": ""
|
||||
},
|
||||
{
|
||||
"name": "per_page",
|
||||
"description": "Results per page (max 100)",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 30
|
||||
},
|
||||
"descriptionHTML": "<p>Results per page (max 100)</p>"
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"description": "Page number of the results to fetch.",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
},
|
||||
"descriptionHTML": "<p>Page number of the results to fetch.</p>"
|
||||
}
|
||||
],
|
||||
"x-codeSamples": [
|
||||
|
@ -25071,6 +25116,11 @@
|
|||
"httpStatusMessage": "OK",
|
||||
"description": "Success",
|
||||
"payload": "<pre><code class=\"hljs language-json\"><span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"total_advanced_security_committers\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-number\">2</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"repositories\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">[</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"name\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octocat-org/Hello-World\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"advanced_security_committers\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-number\">2</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"advanced_security_committers_breakdown\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">[</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"user_login\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octocat\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"last_pushed_date\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"2021-11-03\"</span>\n <span class=\"hljs-punctuation\">}</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"user_login\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octokitten\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"last_pushed_date\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"2021-10-25\"</span>\n <span class=\"hljs-punctuation\">}</span>\n <span class=\"hljs-punctuation\">]</span>\n <span class=\"hljs-punctuation\">}</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"name\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octocat-org/server\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"advanced_security_committers\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-number\">1</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"advanced_security_committers_breakdown\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">[</span>\n <span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"user_login\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"octokitten\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"last_pushed_date\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"2021-10-26\"</span>\n <span class=\"hljs-punctuation\">}</span>\n <span class=\"hljs-punctuation\">]</span>\n <span class=\"hljs-punctuation\">}</span>\n <span class=\"hljs-punctuation\">]</span>\n<span class=\"hljs-punctuation\">}</span>\n</code></pre>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
"httpStatusMessage": "Forbidden",
|
||||
"description": "Response if GitHub Advanced Security is not enabled for this repository"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -22202,6 +22202,24 @@
|
|||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "per_page",
|
||||
"description": "Results per page (max 100)",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 30
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"description": "Page number of the results to fetch.",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
@ -22296,6 +22314,32 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Response if GitHub Advanced Security is not enabled for this repository",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"title": "Basic Error",
|
||||
"description": "Basic Error",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"documentation_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-github": {
|
||||
|
@ -95708,6 +95752,24 @@
|
|||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "per_page",
|
||||
"description": "Results per page (max 100)",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 30
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "page",
|
||||
"description": "Page number of the results to fetch.",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"default": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
@ -95802,6 +95864,32 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Response if GitHub Advanced Security is not enabled for this repository",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"title": "Basic Error",
|
||||
"description": "Basic Error",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"documentation_url": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-github": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче