Sample - GitHub REST API
GET/repos/{owner}/{repo}/autolinks/{autolink_id}

Get an autolink reference of a repository

This returns a single autolink reference by ID that was configured for the given repository.

Information about autolinks are only available to repository administrators.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
autolink_idintegerrequired
The unique identifier of the autolink.

2 status codes
200Response
idintegerrequired
key_prefixstringrequired
The prefix of a key that is linkified.
url_templatestringrequired
A template for the target URL that is generated if a key was found.
is_alphanumericbooleanrequired
Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.
updated_atstringoptional
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned: Resource not found.