Pull Request关联issue
POST/api/v5/repos/:owner/:repo/pulls/:number/issues
Request
Path Parameters
owner stringrequired
仓库所属空间地址(组织或个人的地址path)
repo stringrequired
仓库路径(path)
number stringrequired
第几个PR,即本仓库PR的序数
Query Parameters
access_token stringrequired
用户授权码
- application/json
Body array
- Array [
- ]
integer
第几个Issue,即本仓库Issue的序数
Responses
- 200
成功响应
Response Headers
- application/json
- Schema
- Example (auto)
- Example
Schema
- Array [
- ]
idintegerrequired
numberstringrequired
titlestringrequired
[
{
"id": 0,
"number": "string",
"title": "string"
}
]
[
{
"id": 553397,
"number": "3",
"title": "222"
},
{
"id": 553716,
"number": "7",
"title": "123"
},
{
"id": 553721,
"number": "8",
"title": "[Bug]: 111"
},
{
"id": 546954,
"number": "1",
"title": "asd"
}
]