v68

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.3 MB
repos

Get all autolinks of a repository

Gets all autolinks that are configured for a repository.

Information about autolinks are only available to repository administrators.

get/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.

Response

Response

idinteger required
key_prefixstring required

The prefix of a key that is linkified.

url_templatestring required

A template for the target URL that is generated if a key was found.

is_alphanumericboolean required

Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.

updated_atstring date-time nullable

Example response

[
  {
    "id": 3,
    "key_prefix": "TICKET-",
    "url_template": "https://example.com/TICKET?query=<num>",
    "is_alphanumeric": true
  }
]