New-BirdWeatherRESTStationConfig
SYNOPSIS
Update Station Config
SYNTAX
__AllParameterSets
New-BirdWeatherRESTStationConfig [[-Token] <string>] [[-Name] <string>] [[-LocationPrivacy] <bool>]
[[-MinConfidence] <double>] [[-MinProbability] <double>] [[-MinScore] <double>]
[[-MinHumanConfidence] <double>] [-Raw] [-WhatIf] [-Confirm]
ALIASES
This cmdlet has the following aliases,
- New-BWRStationConfig
DESCRIPTION
The New-BirdWeatherRESTStationConfig cmdlet invokes the POST method of the /stations/{token}/config endpoint (Update Station Config)
Updates the configuration for the given station.
This is a write function. It changes data in BirdWeather. Use -WhatIf to see the request without sending it
EXAMPLES
EXAMPLE 1
New-BirdWeatherRESTStationConfig -WhatIf
Shows the POST request to the /stations/{token}/config endpoint without sending it
EXAMPLE 2
New-BirdWeatherRESTStationConfig -Token 21934 -WhatIf
Uses the defined station token (or station ID) instead of the station token that was stored with Add-BirdWeatherAPIKey
PARAMETERS
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-LocationPrivacy
Toggle location privacy.
Type: System.Boolean
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 2
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-MinConfidence
Set minimum confidence for a valid detection (0.35 … 1.0).
Valid range: 0.35 - 1
Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 3
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-MinHumanConfidence
Set minimum confidence for flagging human detections (0.01 … 0.25) [default: 0.04]. A lower value is more sensitive and will result in more soundscapes being auto-purged. Default value when not set: 0.04
Valid range: 0.01 - 0.25
Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 6
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-MinProbability
Set minimum probability for a valid detection (0.0 … 1.0).
Valid range: 0 - 1
Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 4
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-MinScore
Set minimum score for a valid detection (0.0 … 10.0).
Valid range: 0 - 10
Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 5
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Name
The new name for the station.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Raw
Returns the full API response (including the success flag) instead of only the results
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: ''
-Token
Defines the station token, or the numeric station ID (such as 21934) of a public station or when an administrator API token is used
The PUC-21934 style name of a station is not accepted by the API
By default the station token defined by Add-BirdWeatherAPIKey is used
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- StationToken
- StationId
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-WhatIf
Runs the command in a mode that only reports what would happen without performing the actions.
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
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
Endpoint : POST /stations/{token}/config