Merge pull request #28286 from github/openapi-update-76cdb06a62a07c3f7d2c8be9914d68f950b31226a2864214a48151f94ea69f82
Update OpenAPI Descriptions
This commit is contained in:
@@ -189704,7 +189704,7 @@
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "204",
|
||||
"description": "<p>Response when person is already a collaborator</p>"
|
||||
"description": "<p>Response when:</p>\n<ul>\n<li>an existing collaborator is added as a collaborator</li>\n<li>an organization member is added as an individual collaborator</li>\n<li>an existing team member (whose team is also a repository collaborator) is added as an individual collaborator</li>\n</ul>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -231469,8 +231469,17 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json"
|
||||
"description": "Creating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"statusCode": "201",
|
||||
@@ -235226,8 +235235,16 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -241081,8 +241098,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Creating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is a comment to a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -241778,8 +241798,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID",
|
||||
"comment_id": "COMMENT_ID"
|
||||
@@ -489644,6 +489667,19 @@
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"updated_at": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The REST API URL of the alert resource.",
|
||||
@@ -492601,6 +492637,19 @@
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"updated_at": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The REST API URL of the alert resource.",
|
||||
|
||||
@@ -124852,7 +124852,7 @@
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "204",
|
||||
"description": "<p>Response when person is already a collaborator</p>"
|
||||
"description": "<p>Response when:</p>\n<ul>\n<li>an existing collaborator is added as a collaborator</li>\n<li>an organization member is added as an individual collaborator</li>\n<li>an existing team member (whose team is also a repository collaborator) is added as an individual collaborator</li>\n</ul>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -166543,8 +166543,17 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json"
|
||||
"description": "Creating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"statusCode": "201",
|
||||
@@ -170300,8 +170309,16 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -176155,8 +176172,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Creating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is a comment to a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -176852,8 +176872,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID",
|
||||
"comment_id": "COMMENT_ID"
|
||||
|
||||
@@ -128102,7 +128102,7 @@
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "204",
|
||||
"description": "<p>Response when person is already a collaborator</p>"
|
||||
"description": "<p>Response when:</p>\n<ul>\n<li>an existing collaborator is added as a collaborator</li>\n<li>an organization member is added as an individual collaborator</li>\n<li>an existing team member (whose team is also a repository collaborator) is added as an individual collaborator</li>\n</ul>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -172286,8 +172286,17 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json"
|
||||
"description": "Creating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"statusCode": "201",
|
||||
@@ -176043,8 +176052,16 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -181898,8 +181915,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Creating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is a comment to a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -182595,8 +182615,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID",
|
||||
"comment_id": "COMMENT_ID"
|
||||
|
||||
@@ -128395,7 +128395,7 @@
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "204",
|
||||
"description": "<p>Response when person is already a collaborator</p>"
|
||||
"description": "<p>Response when:</p>\n<ul>\n<li>an existing collaborator is added as a collaborator</li>\n<li>an organization member is added as an individual collaborator</li>\n<li>an existing team member (whose team is also a repository collaborator) is added as an individual collaborator</li>\n</ul>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -172868,8 +172868,17 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json"
|
||||
"description": "Creating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"statusCode": "201",
|
||||
@@ -176625,8 +176634,16 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -182480,8 +182497,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Creating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is a comment to a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -183177,8 +183197,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID",
|
||||
"comment_id": "COMMENT_ID"
|
||||
|
||||
@@ -132655,7 +132655,7 @@
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "204",
|
||||
"description": "<p>Response when person is already a collaborator</p>"
|
||||
"description": "<p>Response when:</p>\n<ul>\n<li>an existing collaborator is added as a collaborator</li>\n<li>an organization member is added as an individual collaborator</li>\n<li>an existing team member (whose team is also a repository collaborator) is added as an individual collaborator</li>\n</ul>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -180784,8 +180784,17 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json"
|
||||
"description": "Creating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"statusCode": "201",
|
||||
@@ -184541,8 +184550,16 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -190396,8 +190413,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Creating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is a comment to a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -191093,8 +191113,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID",
|
||||
"comment_id": "COMMENT_ID"
|
||||
|
||||
@@ -144450,7 +144450,7 @@
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "204",
|
||||
"description": "<p>Response when person is already a collaborator</p>"
|
||||
"description": "<p>Response when:</p>\n<ul>\n<li>an existing collaborator is added as a collaborator</li>\n<li>an organization member is added as an individual collaborator</li>\n<li>an existing team member (whose team is also a repository collaborator) is added as an individual collaborator</li>\n</ul>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -192623,8 +192623,17 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json"
|
||||
"description": "Creating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"statusCode": "201",
|
||||
@@ -196380,8 +196389,16 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -202235,8 +202252,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Creating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is a comment to a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -202932,8 +202952,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID",
|
||||
"comment_id": "COMMENT_ID"
|
||||
|
||||
@@ -128023,7 +128023,7 @@
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "204",
|
||||
"description": "<p>Response when person is already a collaborator</p>"
|
||||
"description": "<p>Response when:</p>\n<ul>\n<li>an existing collaborator is added as a collaborator</li>\n<li>an organization member is added as an individual collaborator</li>\n<li>an existing team member (whose team is also a repository collaborator) is added as an individual collaborator</li>\n</ul>"
|
||||
},
|
||||
{
|
||||
"httpStatusCode": "403",
|
||||
@@ -169522,8 +169522,17 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"acceptHeader": "application/vnd.github.v3+json"
|
||||
"description": "Creating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"statusCode": "201",
|
||||
@@ -173279,8 +173288,16 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -179134,8 +179151,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Creating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is a comment to a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID"
|
||||
}
|
||||
@@ -179831,8 +179851,11 @@
|
||||
"key": "default",
|
||||
"request": {
|
||||
"contentType": "application/json",
|
||||
"description": "Example",
|
||||
"description": "Updating a comment in a gist",
|
||||
"acceptHeader": "application/vnd.github.v3+json",
|
||||
"bodyParameters": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
},
|
||||
"parameters": {
|
||||
"gist_id": "GIST_ID",
|
||||
"comment_id": "COMMENT_ID"
|
||||
|
||||
@@ -28748,6 +28748,19 @@
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"updated_at": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The REST API URL of the alert resource.",
|
||||
@@ -36979,6 +36992,20 @@
|
||||
"files"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a gist",
|
||||
"value": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -41025,6 +41052,19 @@
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a gist",
|
||||
"value": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42875,6 +42915,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is a comment to a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -43675,6 +43723,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -124645,6 +124701,19 @@
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
},
|
||||
"updated_at": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
|
||||
"format": "date-time",
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The REST API URL of the alert resource.",
|
||||
@@ -254924,7 +254993,7 @@
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"description": "Response when person is already a collaborator"
|
||||
"description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation failed",
|
||||
|
||||
@@ -40191,6 +40191,20 @@
|
||||
"files"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a gist",
|
||||
"value": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -44237,6 +44251,19 @@
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a gist",
|
||||
"value": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -46087,6 +46114,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is a comment to a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -46887,6 +46922,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -197202,7 +197245,7 @@
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"description": "Response when person is already a collaborator"
|
||||
"description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation failed",
|
||||
|
||||
@@ -41281,6 +41281,20 @@
|
||||
"files"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a gist",
|
||||
"value": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -45327,6 +45341,19 @@
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a gist",
|
||||
"value": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -47177,6 +47204,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is a comment to a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -47977,6 +48012,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -201636,7 +201679,7 @@
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"description": "Response when person is already a collaborator"
|
||||
"description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation failed",
|
||||
|
||||
@@ -41531,6 +41531,20 @@
|
||||
"files"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a gist",
|
||||
"value": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -45577,6 +45591,19 @@
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a gist",
|
||||
"value": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -47427,6 +47454,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is a comment to a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48227,6 +48262,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -205202,7 +205245,7 @@
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"description": "Response when person is already a collaborator"
|
||||
"description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation failed",
|
||||
|
||||
@@ -43625,6 +43625,20 @@
|
||||
"files"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a gist",
|
||||
"value": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -47671,6 +47685,19 @@
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a gist",
|
||||
"value": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -49521,6 +49548,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is a comment to a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50321,6 +50356,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -223424,7 +223467,7 @@
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"description": "Response when person is already a collaborator"
|
||||
"description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation failed",
|
||||
|
||||
@@ -44005,6 +44005,20 @@
|
||||
"files"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a gist",
|
||||
"value": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48051,6 +48065,19 @@
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a gist",
|
||||
"value": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -49901,6 +49928,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is a comment to a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50701,6 +50736,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -235389,7 +235432,7 @@
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"description": "Response when person is already a collaborator"
|
||||
"description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation failed",
|
||||
|
||||
@@ -24589,6 +24589,20 @@
|
||||
"files"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a gist",
|
||||
"value": {
|
||||
"description": "Example of a gist",
|
||||
"public": false,
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28635,6 +28649,19 @@
|
||||
"object",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a gist",
|
||||
"value": {
|
||||
"description": "An update to a gist",
|
||||
"files": {
|
||||
"README.md": {
|
||||
"content": "Hello World from GitHub"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -30485,6 +30512,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Creating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is a comment to a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31285,6 +31320,14 @@
|
||||
"required": [
|
||||
"body"
|
||||
]
|
||||
},
|
||||
"examples": {
|
||||
"default": {
|
||||
"summary": "Updating a comment in a gist",
|
||||
"value": {
|
||||
"body": "This is an update to a comment in a gist"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -188452,7 +188495,7 @@
|
||||
}
|
||||
},
|
||||
"204": {
|
||||
"description": "Response when person is already a collaborator"
|
||||
"description": "Response when:\n- an existing collaborator is added as a collaborator\n- an organization member is added as an individual collaborator\n- an existing team member (whose team is also a repository collaborator) is added as an individual collaborator"
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation failed",
|
||||
|
||||
Reference in New Issue
Block a user