Get all autolinks of a repository
GET
/repos/{owner}/{repo}/autolinks
Gets all autolinks that are configured for a repository.
Information about autolinks are only available to repository administrators.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” owner
required
string
The account owner of the repository. The name is not case sensitive.
repo
required
string
The name of the repository without the .git extension. The name is not case sensitive.
Responses
Section titled “ Responses ”Response
Media type application/json
Array<object>
Autolink reference An autolink reference.
object
id
required
integer
key_prefix
required
The prefix of a key that is linkified.
string
url_template
required
A template for the target URL that is generated if a key was found.
string
is_alphanumeric
required
Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.
boolean
updated_at
string format: date-time
Examples
Example default
[ { "id": 1, "key_prefix": "TICKET-", "url_template": "https://example.com/TICKET?query=<num>", "is_alphanumeric": true }]