Revolutio · Capability

Revolutio Hazard API — Snow And Ice

Revolutio Hazard API — Snow And Ice. 2 operations. Lead operation: Get Snow Hazard Analysis. Self-contained Naftiko capability covering one Revolutio business surface.

Run with Naftiko RevolutioSnow And Ice

What You Can Do

GET
Getsnowhazardget — Get Snow Hazard Analysis
/v1/asnzs1170/snow
POST
Getsnowhazardpost — Post Snow Hazard Analysis
/v1/asnzs1170/snow

MCP Tools

get-snow-hazard-analysis

Get Snow Hazard Analysis

read-only idempotent
post-snow-hazard-analysis

Post Snow Hazard Analysis

Capability Spec

hazard-snow-and-ice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Revolutio Hazard API — Snow And Ice
  description: 'Revolutio Hazard API — Snow And Ice. 2 operations. Lead operation: Get Snow Hazard Analysis. Self-contained
    Naftiko capability covering one Revolutio business surface.'
  tags:
  - Revolutio
  - Snow And Ice
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    REVOLUTIO_API_KEY: REVOLUTIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: hazard-snow-and-ice
    baseUri: https://api.revolutio.com.au
    description: Revolutio Hazard API — Snow And Ice business capability. Self-contained, no shared references.
    resources:
    - name: asnzs1170-snow
      path: /asnzs1170/snow
      operations:
      - name: getsnowhazardget
        method: GET
        description: Get Snow Hazard Analysis
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiKey
          in: query
          type: string
          required: true
        - name: latitude
          in: query
          type: number
          required: true
        - name: longitude
          in: query
          type: number
          required: true
        - name: h
          in: query
          type: number
        - name: units
          in: query
          type: string
      - name: getsnowhazardpost
        method: POST
        description: Post Snow Hazard Analysis
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: apiKey
      value: '{{env.REVOLUTIO_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: hazard-snow-and-ice-rest
    port: 8080
    description: REST adapter for Revolutio Hazard API — Snow And Ice. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/asnzs1170/snow
      name: asnzs1170-snow
      description: REST surface for asnzs1170-snow.
      operations:
      - method: GET
        name: getsnowhazardget
        description: Get Snow Hazard Analysis
        call: hazard-snow-and-ice.getsnowhazardget
        with:
          apiKey: rest.apiKey
          latitude: rest.latitude
          longitude: rest.longitude
          h: rest.h
          units: rest.units
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: getsnowhazardpost
        description: Post Snow Hazard Analysis
        call: hazard-snow-and-ice.getsnowhazardpost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hazard-snow-and-ice-mcp
    port: 9090
    transport: http
    description: MCP adapter for Revolutio Hazard API — Snow And Ice. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-snow-hazard-analysis
      description: Get Snow Hazard Analysis
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hazard-snow-and-ice.getsnowhazardget
      with:
        apiKey: tools.apiKey
        latitude: tools.latitude
        longitude: tools.longitude
        h: tools.h
        units: tools.units
      outputParameters:
      - type: object
        mapping: $.
    - name: post-snow-hazard-analysis
      description: Post Snow Hazard Analysis
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: hazard-snow-and-ice.getsnowhazardpost
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.