зеркало из https://github.com/github/docs.git
Update OpenAPI Descriptions
This commit is contained in:
Родитель
29f03e7c54
Коммит
1b294e7d5f
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче