repos
Get an autolink reference of a repository
Changed onThis returns a single autolink reference by ID that was configured for the given repository.
Information about autolinks are only available to repository administrators.
get/repos/{owner}/{repo}/autolinks/{autolink_id}
Request
- Base URLhttps://api.github.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
autolink_idinteger required
The unique identifier of the autolink.
Response
Response
Example response
{
"id": 3,
"key_prefix": "TICKET-",
"url_template": "https://example.com/TICKET?query=<num>",
"is_alphanumeric": true
}Changes
- info
added the optional property
to the response with the status
- info