regions

Create or update region

post/regions

Request

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

Request body

string required

Response

saveRegion 200 response

idstring

Region ID

microRegionsinteger

Number of micro regions

subRegionsstring[]

ID of sub regions

superRegionsstring[]

ID of super regions

neighborRegionsstring[]

ID of neighbouring regions

staticUrlstring

URL to static avalanche files, e.g. https://static.avalanche.report. Bulletin PDFs and danger maps are published below /bulletins, simple HTML bulletins below /simple, and media files (e.g. audio) below /media_files.

enabledLanguagesLanguageCode[]

Enabled languages

ttsLanguagesLanguageCode[]

Text-to-speech languages

publishBulletinsboolean

Publish avalanche forecast

publishBlogsboolean

Publish blog posts

createCaamlV6boolean

Create CAAML v6

createJsonboolean

Create JSON

createMapsboolean

Create maps

createPdfboolean

Create PDF

createSimpleHtmlboolean

Create simple HTML

sendEmailsboolean

Send emails

sendTelegramMessagesboolean

Send telegram messages

sendWhatsAppMessagesboolean

Send WhatsApp messages

sendPushNotificationsboolean

Send push notifications

enableMediaFileboolean

Enable media file

enableIconboolean

Enable weather

enableAvalancheProblemCornicesboolean

Enable avalanche problem CORNICES

enableAvalancheProblemNoDistinctAvalancheProblemboolean

Enable avalanche problem NO DISTINCT AVALANCHE PROBLEM

showMatrixboolean

Show matrix

enableStrategicMindsetboolean

Enable strategic mindset

enableStressLevelboolean

Enable stress level

pdfColorstring

PDF color

emailColorstring

Email color

pdfMapYAmPminteger

Y for PDF map (am/pm)

pdfMapYFdinteger

Y for PDF map (fd)

pdfMapWidthAmPminteger

Map width for PDF (am/pm)

pdfMapWidthFdinteger

Map width for PDF (fd)

pdfMapHeightinteger

Map height for PDF

pdfFooterLogoboolean

Logo for PDF footer

pdfFooterLogoColorPathstring

Logo for PDF footer (color)

pdfFooterLogoBwPathstring

Logo for PDF footer (bw)

geoDataDirectorystring

Geodata directory

mapLogoPosition'topleft' | 'topright' | 'bottomleft' | 'bottomright'
imageColorbarColorPathstring

Colorbar (color)

imageColorbarBwPathstring

Colorbar (b/w)

enableDangerSourcesboolean

Enable danger sources

enableObservationsboolean

Enable observations

enableIncidentsboolean

Enable incidents

enableModellingboolean

Enable modelling

enabledTextcatFieldsTextPart[]

Textfields for bulletins to be entered using textcat

enabledEditableFieldsTextPart[]

Editable textfields instead of textcat for bulletins

enableLineaExportboolean

Enable LINEA export

defaultLang'de' | 'it' | 'en' | 'fr' | 'es' | 'ca' | 'oc'

The enum contains the ISO 639-1 codes for available languages.

logoPathstring

Logo for PDF (color)

logoBwPathstring

Logo for PDF (bw)

coatOfArmsstring

Image URL for coat of arms

serverImagesUrlstring

URL to server images

educationUrlstring

URL to education content

awsomeUrlstring

URL to AWSOME modelling configuration

Changes

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