Get-GitHubRepositoryAutolink¶
SYNOPSIS¶
List all autolinks of a repository
SYNTAX¶
__AllParameterSets (Default)¶
Get-GitHubRepositoryAutolink -Owner <string> -Repository <string> [-Context <Object>]
[<CommonParameters>]
ById¶
Get-GitHubRepositoryAutolink -Owner <string> -Repository <string> -ID <int> [-Context <Object>]
[<CommonParameters>]
ALIASES¶
This cmdlet has the following aliases, {{Insert list of aliases}}
DESCRIPTION¶
This returns a list of autolinks configured for the given repository.
Information about autolinks are only available to repository administrators.
EXAMPLES¶
EXAMPLE 1¶
Get-GitHubRepositoryAutolink -Owner 'octocat' -Repository 'Hello-World'
Gets all autolinks for the repository 'Hello-World' owned by 'octocat'.
EXAMPLE 2¶
Get-GitHubRepositoryAutolink -Owner 'octocat' -Repository 'Hello-World' -ID 1
Gets the autolink with the ID 1 for the repository 'Hello-World' owned by 'octocat'.
PARAMETERS¶
-Context¶
The context to run the command in. Used to get the details for the API call. Can be either a string or a GitHubContext object.
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-ID¶
The unique identifier of the autolink.
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases:
- autolink_id
- AutolinkID
ParameterSets:
- Name: ById
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Owner¶
The account owner of the repository. The name is not case sensitive.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- User
- Organization
ParameterSets:
- Name: (All)
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Repository¶
The name of the repository without the .git extension. The name is not case sensitive.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS¶
OUTPUTS¶
NOTES¶
Get all autolinks of a repository