Get Project Protection Tag Details
GET/api/v5/repos/:owner/:repo/protected_tags/:tag_name
Request
Path Parameters
owner stringrequired
Repository space address (organization or individual's address path)
repo stringrequired
Repository path (path)
tag_name stringrequired
Label name
Query Parameters
access_token stringrequired
User authorization code
Responses
- 200
Successful Response
Response Headers
- application/json
- Schema
- Example (auto)
- 1
Schema
namestring
create_access_levelinteger
create_access_level_descstring
{
"name": "string",
"create_access_level": 0,
"create_access_level_desc": "string"
}
Successful Example
{
"name": "tag_name",
"create_access_level": 30,
"create_access_level_desc": "developers, maintainers, administrators"
}