repos
Create an autolink reference for a repository
Users with admin access to the repository can create an autolink.
post/repos/{owner}/{repo}/autolinks
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Request body
Response
response
Example response
{
"id": 3,
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
}