Paradox · Capability

Paradox API — Location Rooms

Paradox API — Location Rooms. 5 operations. Lead operation: Paradox Get location rooms. Self-contained Naftiko capability covering one Paradox business surface.

Run with Naftiko ParadoxLocation Rooms

What You Can Do

GET
Getlocationrooms — Paradox Get location rooms
/v1/location/{location-id}/rooms
POST
Createlocationroom — Paradox Create location room
/v1/location/{location-id}/rooms
GET
Getlocationroom — Paradox Get single location room
/v1/location/{location-id}/rooms/{room-id}
PUT
Updatelocationroom — Paradox Update location room
/v1/location/{location-id}/rooms/{room-id}
DELETE
Deletelocationroom — Paradox Delete location room
/v1/location/{location-id}/rooms/{room-id}

MCP Tools

paradox-get-location-rooms

Paradox Get location rooms

read-only idempotent
paradox-create-location-room

Paradox Create location room

paradox-get-single-location-room

Paradox Get single location room

read-only idempotent
paradox-update-location-room

Paradox Update location room

idempotent
paradox-delete-location-room

Paradox Delete location room

idempotent

Capability Spec

paradox-location-rooms.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Paradox API — Location Rooms
  description: 'Paradox API — Location Rooms. 5 operations. Lead operation: Paradox Get location rooms. Self-contained Naftiko
    capability covering one Paradox business surface.'
  tags:
  - Paradox
  - Location Rooms
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PARADOX_API_KEY: PARADOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: paradox-location-rooms
    baseUri: https://api.paradox.ai/api/v1/public
    description: Paradox API — Location Rooms business capability. Self-contained, no shared references.
    resources:
    - name: location-location_id-rooms
      path: /location/{location_id}/rooms
      operations:
      - name: getlocationrooms
        method: GET
        description: Paradox Get location rooms
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: location_id
          in: path
          type: string
          description: Location identifier
          required: true
      - name: createlocationroom
        method: POST
        description: Paradox Create location room
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: location_id
          in: path
          type: string
          description: Location identifier
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: location-location_id-rooms-room_id
      path: /location/{location_id}/rooms/{room_id}
      operations:
      - name: getlocationroom
        method: GET
        description: Paradox Get single location room
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: location_id
          in: path
          type: string
          description: Location identifier
          required: true
        - name: room_id
          in: path
          type: string
          description: Room identifier
          required: true
      - name: updatelocationroom
        method: PUT
        description: Paradox Update location room
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: location_id
          in: path
          type: string
          description: Location identifier
          required: true
        - name: room_id
          in: path
          type: string
          description: Room identifier
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletelocationroom
        method: DELETE
        description: Paradox Delete location room
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: location_id
          in: path
          type: string
          description: Location identifier
          required: true
        - name: room_id
          in: path
          type: string
          description: Room identifier
          required: true
    authentication:
      type: bearer
      token: '{{env.PARADOX_API_KEY}}'
  exposes:
  - type: rest
    namespace: paradox-location-rooms-rest
    port: 8080
    description: REST adapter for Paradox API — Location Rooms. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/location/{location-id}/rooms
      name: location-location-id-rooms
      description: REST surface for location-location_id-rooms.
      operations:
      - method: GET
        name: getlocationrooms
        description: Paradox Get location rooms
        call: paradox-location-rooms.getlocationrooms
        with:
          location_id: rest.location_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createlocationroom
        description: Paradox Create location room
        call: paradox-location-rooms.createlocationroom
        with:
          location_id: rest.location_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/location/{location-id}/rooms/{room-id}
      name: location-location-id-rooms-room-id
      description: REST surface for location-location_id-rooms-room_id.
      operations:
      - method: GET
        name: getlocationroom
        description: Paradox Get single location room
        call: paradox-location-rooms.getlocationroom
        with:
          location_id: rest.location_id
          room_id: rest.room_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatelocationroom
        description: Paradox Update location room
        call: paradox-location-rooms.updatelocationroom
        with:
          location_id: rest.location_id
          room_id: rest.room_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletelocationroom
        description: Paradox Delete location room
        call: paradox-location-rooms.deletelocationroom
        with:
          location_id: rest.location_id
          room_id: rest.room_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: paradox-location-rooms-mcp
    port: 9090
    transport: http
    description: MCP adapter for Paradox API — Location Rooms. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: paradox-get-location-rooms
      description: Paradox Get location rooms
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: paradox-location-rooms.getlocationrooms
      with:
        location_id: tools.location_id
      outputParameters:
      - type: object
        mapping: $.
    - name: paradox-create-location-room
      description: Paradox Create location room
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: paradox-location-rooms.createlocationroom
      with:
        location_id: tools.location_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: paradox-get-single-location-room
      description: Paradox Get single location room
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: paradox-location-rooms.getlocationroom
      with:
        location_id: tools.location_id
        room_id: tools.room_id
      outputParameters:
      - type: object
        mapping: $.
    - name: paradox-update-location-room
      description: Paradox Update location room
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: paradox-location-rooms.updatelocationroom
      with:
        location_id: tools.location_id
        room_id: tools.room_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: paradox-delete-location-room
      description: Paradox Delete location room
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: paradox-location-rooms.deletelocationroom
      with:
        location_id: tools.location_id
        room_id: tools.room_id
      outputParameters:
      - type: object
        mapping: $.