Get-GitHubBaseUri
SYNOPSIS
Gets the base uri of the GitHub API
SYNTAX
__AllParameterSets
Get-GitHubBaseUri [-UploadUri]
ALIASES
This cmdlet has the following aliases,
- Get-GHBaseUri
DESCRIPTION
The Get-GitHubBaseUri function returns the base uri that requests are sent to (default https://api.github.com), or the upload uri with -UploadUri
EXAMPLES
EXAMPLE 1
Get-GitHubBaseUri
Returns https://api.github.com unless it was changed
EXAMPLE 2
Get-GitHubBaseUri -UploadUri
Returns https://uploads.github.com unless it was changed
PARAMETERS
-UploadUri
Return the upload uri instead of the base uri
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
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
Aliases: Get-GHBaseUri