Get-BirdWeatherRESTDetectionsById

SYNOPSIS

Detection Info

SYNTAX

__AllParameterSets

Get-BirdWeatherRESTDetectionsById [-Id] <long> [-Raw]

ALIASES

This cmdlet has the following aliases,

  • Get-BWRDetectionsById

DESCRIPTION

The Get-BirdWeatherRESTDetectionsById cmdlet invokes the GET method of the /detections/{id} endpoint (Detection Info)

Retrieves information for the detection with the given ID, regardless of which station recorded it. No authentication is required.

The response is identical to the station-scoped endpoint above, including behavior and shortlist where available.

Detections recorded before May 2025 are not served by this endpoint; request them through the station-scoped endpoint instead.

EXAMPLES

EXAMPLE 1

Get-BirdWeatherRESTDetectionsById -Id 12297900660

Returns the result of the /detections/{id} endpoint

PARAMETERS

-Id

Detection ID

Valid range: 1 - 9223372036854775807

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

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

System.Int64

OUTPUTS

NOTES

Endpoint : GET /detections/{id}