observations

post/observations

Request

  • Base URL: https://dev.avalanche.report/albina/api
  • URL: https://dev.avalanche.report/albina/api/observations
  • Auth: HTTP bearer

Request body

$sourcestring required

Source of this observation

$idstring required

External ID of this observation

$type'SimpleObservation' | 'Evaluation' | 'Avalanche' | 'Blasting' | 'Closure' | 'Profile' | 'TimeSeries' | 'Webcam' | 'DrySnowfallLevel' required
$externalURLstring

External URL to display as iframe

stabilitystring

Snowpack stability that can be inferred from this observation

aspectsAspect[]

Aspects corresponding with this observation

authorNamestring

Name of the author

contentstring

Free-text content

$dataobject

Additional data (e.g. original data stored when fetching from external API)

elevationinteger

Elevation in meters

elevationLowerBoundinteger

Lower bound of elevation in meters

elevationUpperBoundinteger

Upper bound of elevation in meters

eventDatestring date-time

Date when the event occurred

latitudenumber double

Location latitude (WGS 84)

locationNamestring

Location name

longitudenumber double

Location longitude (WGS 84)

regionstring

Micro-region code (possibly computed from latitude/longitude)

reportDatestring date-time

Date when the observation has been reported

avalancheProblemsAvalancheProblem1[]

Avalanche problems corresponding with this observation

dangerPatternsDangerPattern[]

Danger patterns corresponding with this observation

importantObservationGenericObservationImportantObservation[]

Important observations

extraDialogRowsobject

Additional information to display as table rows in the observation dialog

$externalImgsstring

External image to display. Multiple images are persisted using line separator.

personInvolvement'Dead' | 'Injured' | 'Uninjured' | 'No' | 'Unknown'
$deletedboolean

Observations marked as deleted will no longer be returned in the list

allowEditboolean

Allows modifying observations fetched from external sources

Response

saveOrUpdateGenericObservation 200 response

Changes

No recorded changes to this operation across all 1 revision of this API.