|
|
|
@ -1225,91 +1225,6 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/repos/{owner}/{repo}/comments/{id}": {
|
|
|
|
|
"delete": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"issue"
|
|
|
|
|
],
|
|
|
|
|
"summary": "Delete a comment",
|
|
|
|
|
"operationId": "issueDeleteComment",
|
|
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "owner of the repo",
|
|
|
|
|
"name": "owner",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "name of the repo",
|
|
|
|
|
"name": "repo",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"description": "id of comment to delete",
|
|
|
|
|
"name": "id",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"responses": {
|
|
|
|
|
"204": {
|
|
|
|
|
"$ref": "#/responses/empty"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"patch": {
|
|
|
|
|
"consumes": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"produces": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"tags": [
|
|
|
|
|
"issue"
|
|
|
|
|
],
|
|
|
|
|
"summary": "Edit a comment",
|
|
|
|
|
"operationId": "issueEditComment",
|
|
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "owner of the repo",
|
|
|
|
|
"name": "owner",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "name of the repo",
|
|
|
|
|
"name": "repo",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"description": "id of the comment to edit",
|
|
|
|
|
"name": "id",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "body",
|
|
|
|
|
"in": "body",
|
|
|
|
|
"schema": {
|
|
|
|
|
"$ref": "#/definitions/EditIssueCommentOption"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"$ref": "#/responses/Comment"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/repos/{owner}/{repo}/commits/{ref}/statuses": {
|
|
|
|
|
"get": {
|
|
|
|
|
"produces": [
|
|
|
|
@ -1965,6 +1880,91 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/repos/{owner}/{repo}/issues/comments/{id}": {
|
|
|
|
|
"delete": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"issue"
|
|
|
|
|
],
|
|
|
|
|
"summary": "Delete a comment",
|
|
|
|
|
"operationId": "issueDeleteComment",
|
|
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "owner of the repo",
|
|
|
|
|
"name": "owner",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "name of the repo",
|
|
|
|
|
"name": "repo",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"description": "id of comment to delete",
|
|
|
|
|
"name": "id",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"responses": {
|
|
|
|
|
"204": {
|
|
|
|
|
"$ref": "#/responses/empty"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"patch": {
|
|
|
|
|
"consumes": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"produces": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"tags": [
|
|
|
|
|
"issue"
|
|
|
|
|
],
|
|
|
|
|
"summary": "Edit a comment",
|
|
|
|
|
"operationId": "issueEditComment",
|
|
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "owner of the repo",
|
|
|
|
|
"name": "owner",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "name of the repo",
|
|
|
|
|
"name": "repo",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"description": "id of the comment to edit",
|
|
|
|
|
"name": "id",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "body",
|
|
|
|
|
"in": "body",
|
|
|
|
|
"schema": {
|
|
|
|
|
"$ref": "#/definitions/EditIssueCommentOption"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"$ref": "#/responses/Comment"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/repos/{owner}/{repo}/issues/{id}": {
|
|
|
|
|
"get": {
|
|
|
|
|
"produces": [
|
|
|
|
@ -2103,6 +2103,107 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/repos/{owner}/{repo}/issues/{index}/comments/{id}": {
|
|
|
|
|
"delete": {
|
|
|
|
|
"tags": [
|
|
|
|
|
"issue"
|
|
|
|
|
],
|
|
|
|
|
"summary": "Delete a comment",
|
|
|
|
|
"operationId": "issueDeleteCommentDeprecated",
|
|
|
|
|
"deprecated": true,
|
|
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "owner of the repo",
|
|
|
|
|
"name": "owner",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "name of the repo",
|
|
|
|
|
"name": "repo",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"description": "this parameter is ignored",
|
|
|
|
|
"name": "index",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"description": "id of comment to delete",
|
|
|
|
|
"name": "id",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"responses": {
|
|
|
|
|
"204": {
|
|
|
|
|
"$ref": "#/responses/empty"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"patch": {
|
|
|
|
|
"consumes": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"produces": [
|
|
|
|
|
"application/json"
|
|
|
|
|
],
|
|
|
|
|
"tags": [
|
|
|
|
|
"issue"
|
|
|
|
|
],
|
|
|
|
|
"summary": "Edit a comment",
|
|
|
|
|
"operationId": "issueEditCommentDeprecated",
|
|
|
|
|
"deprecated": true,
|
|
|
|
|
"parameters": [
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "owner of the repo",
|
|
|
|
|
"name": "owner",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"description": "name of the repo",
|
|
|
|
|
"name": "repo",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"description": "this parameter is ignored",
|
|
|
|
|
"name": "index",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"description": "id of the comment to edit",
|
|
|
|
|
"name": "id",
|
|
|
|
|
"in": "path",
|
|
|
|
|
"required": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "body",
|
|
|
|
|
"in": "body",
|
|
|
|
|
"schema": {
|
|
|
|
|
"$ref": "#/definitions/EditIssueCommentOption"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"responses": {
|
|
|
|
|
"200": {
|
|
|
|
|
"$ref": "#/responses/Comment"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"/repos/{owner}/{repo}/issues/{index}/labels": {
|
|
|
|
|
"get": {
|
|
|
|
|
"produces": [
|
|
|
|
|