Get all labels for the issue of the repository.
Get all labels for the issue of the repository.
Path Parameters
- owner required
The owner of the code repository, generally referred to as the 'username'. This name is case-insensitive.
- repo required
repository path(This name is case-insensitive)
- issue_number required
the number of issue
Header Parameters
- Authorization required
Oauth2 token or private token (must be prefixed with 'Bearer' followed by a space).
Responses
- 200
- 401
- 403
- 404
success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id string
tag id
- name string
tag name
- color string
tag color
- desc string
tag description
- repository_id string
Repository id
- created_at string
tag create time
- updated_at string
tag update time
- ]
[
{
"id": "655c0046df514a6764aa00b0",
"name": "系统BUG",
"color": "#ED4014",
"desc": "系统BUG",
"repository_id": 34309,
"created_at": "2023-11-21T08:56:39+08:00",
"updated_at": "2023-11-21T08:56:39+08:00"
}
]
Fail,need login or invalid token
No permission, operation failed.
The resource does not exist.
Loading...