booking-com · Capability

Booking.com Connectivity Content API — Photos

Booking.com Connectivity Content API — Photos. 2 operations. Lead operation: Upload a property photo. Self-contained Naftiko capability covering one Booking Com business surface.

Run with Naftiko Booking ComPhotos

What You Can Do

POST
Uploadphoto — Upload a property photo
/v1/properties/{property-id}/photos
GET
Listphotos — List property photos
/v1/properties/{property-id}/photos

MCP Tools

upload-property-photo

Upload a property photo

list-property-photos

List property photos

read-only idempotent

Capability Spec

connectivity-content-photos.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Booking.com Connectivity Content API — Photos
  description: 'Booking.com Connectivity Content API — Photos. 2 operations. Lead operation: Upload a property photo. Self-contained
    Naftiko capability covering one Booking Com business surface.'
  tags:
  - Booking Com
  - Photos
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOOKING_COM_API_KEY: BOOKING_COM_API_KEY
capability:
  consumes:
  - type: http
    namespace: connectivity-content-photos
    baseUri: https://supply-xml.booking.com
    description: Booking.com Connectivity Content API — Photos business capability. Self-contained, no shared references.
    resources:
    - name: properties-property_id-photos
      path: /properties/{property_id}/photos
      operations:
      - name: uploadphoto
        method: POST
        description: Upload a property photo
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listphotos
        method: GET
        description: List property photos
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.BOOKING_COM_USER}}'
      password: '{{env.BOOKING_COM_PASS}}'
  exposes:
  - type: rest
    namespace: connectivity-content-photos-rest
    port: 8080
    description: REST adapter for Booking.com Connectivity Content API — Photos. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/properties/{property-id}/photos
      name: properties-property-id-photos
      description: REST surface for properties-property_id-photos.
      operations:
      - method: POST
        name: uploadphoto
        description: Upload a property photo
        call: connectivity-content-photos.uploadphoto
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listphotos
        description: List property photos
        call: connectivity-content-photos.listphotos
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: connectivity-content-photos-mcp
    port: 9090
    transport: http
    description: MCP adapter for Booking.com Connectivity Content API — Photos. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: upload-property-photo
      description: Upload a property photo
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connectivity-content-photos.uploadphoto
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-property-photos
      description: List property photos
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: connectivity-content-photos.listphotos
      outputParameters:
      - type: object
        mapping: $.