Revolutio · Capability

Revolutio Hazard API — Combined Hazard

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

Run with Naftiko RevolutioCombined Hazard

What You Can Do

GET
Getcombinedhazardget — Get Combined Hazard Analysis
/v1/asnzs1170/combined
POST
Getcombinedhazardpost — Post Combined Hazard Analysis
/v1/asnzs1170/combined

MCP Tools

get-combined-hazard-analysis

Get Combined Hazard Analysis

read-only idempotent
post-combined-hazard-analysis

Post Combined Hazard Analysis

Capability Spec

hazard-combined-hazard.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Revolutio Hazard API — Combined Hazard
  description: 'Revolutio Hazard API — Combined Hazard. 2 operations. Lead operation: Get Combined Hazard Analysis. Self-contained
    Naftiko capability covering one Revolutio business surface.'
  tags:
  - Revolutio
  - Combined Hazard
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    REVOLUTIO_API_KEY: REVOLUTIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: hazard-combined-hazard
    baseUri: https://api.revolutio.com.au
    description: Revolutio Hazard API — Combined Hazard business capability. Self-contained, no shared references.
    resources:
    - name: asnzs1170-combined
      path: /asnzs1170/combined
      operations:
      - name: getcombinedhazardget
        method: GET
        description: Get Combined 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: advancedDetection
          in: query
          type: boolean
        - name: googleApiKey
          in: query
          type: string
      - name: getcombinedhazardpost
        method: POST
        description: Post Combined 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-combined-hazard-rest
    port: 8080
    description: REST adapter for Revolutio Hazard API — Combined Hazard. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/asnzs1170/combined
      name: asnzs1170-combined
      description: REST surface for asnzs1170-combined.
      operations:
      - method: GET
        name: getcombinedhazardget
        description: Get Combined Hazard Analysis
        call: hazard-combined-hazard.getcombinedhazardget
        with:
          apiKey: rest.apiKey
          latitude: rest.latitude
          longitude: rest.longitude
          h: rest.h
          units: rest.units
          advancedDetection: rest.advancedDetection
          googleApiKey: rest.googleApiKey
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: getcombinedhazardpost
        description: Post Combined Hazard Analysis
        call: hazard-combined-hazard.getcombinedhazardpost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hazard-combined-hazard-mcp
    port: 9090
    transport: http
    description: MCP adapter for Revolutio Hazard API — Combined Hazard. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-combined-hazard-analysis
      description: Get Combined Hazard Analysis
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hazard-combined-hazard.getcombinedhazardget
      with:
        apiKey: tools.apiKey
        latitude: tools.latitude
        longitude: tools.longitude
        h: tools.h
        units: tools.units
        advancedDetection: tools.advancedDetection
        googleApiKey: tools.googleApiKey
      outputParameters:
      - type: object
        mapping: $.
    - name: post-combined-hazard-analysis
      description: Post Combined Hazard Analysis
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: hazard-combined-hazard.getcombinedhazardpost
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.