Get-BirdWeatherBaseURI

SYNOPSIS

Shows the BirdWeather base URI

SYNTAX

Index (Default)

Get-BirdWeatherBaseURI [[-Api] <string>]

ALIASES

This cmdlet has the following aliases,

  • Get-BWBaseURI

DESCRIPTION

The Get-BirdWeatherBaseURI cmdlet shows the BirdWeather base URI from the global variable

By default the base URI (the host) is returned. The Api parameter returns the full URI of the REST or the GraphQL API

EXAMPLES

EXAMPLE 1

Get-BirdWeatherBaseURI

Shows the BirdWeather base URI value defined in the global variable

EXAMPLE 2

Get-BirdWeatherBaseURI -Api GraphQL

Shows the full URI of the GraphQL API, such as https://app.birdweather.com/graphql

PARAMETERS

-Api

Returns the full URI of an API instead of the base URI

Allowed values: ‘REST’ (base URI + /api/v1), ‘GraphQL’ (base URI + /graphql)

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  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

N/A