Flickr · Capability

Flickr API — Cameras

Photos — Cameras. 2 operations. Lead operation: List Camera Brands. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosCameras

What You Can Do

GET
Camerasgetbrands — List Camera Brands
/v1/cameras/get-brands
GET
Camerasgetbrandmodels — List Camera Models For A Brand
/v1/cameras/get-brand-models

MCP Tools

list-camera-brands

List Camera Brands

read-only idempotent
list-camera-models-brand

List Camera Models For A Brand

read-only idempotent

Capability Spec

flickr-cameras.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — Cameras
  description: 'Photos — Cameras. 2 operations. Lead operation: List Camera Brands. Self-contained Naftiko capability covering one Flickr business surface.'
  tags:
    - Flickr
    - Photos
    - Cameras
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      FLICKR_API_KEY: FLICKR_API_KEY
capability:
  consumes:
    - type: http
      namespace: flickr-cameras
      baseUri: https://api.flickr.com/services
      description: Flickr API — Cameras business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FLICKR_API_KEY}}'
        placement: query
      resources:
        - name: rest-flickr-cameras-getbrands
          path: /rest/flickr.cameras.getBrands
          operations:
            - name: camerasGetBrands
              method: GET
              description: List Camera Brands
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: rest-flickr-cameras-getbrandmodels
          path: /rest/flickr.cameras.getBrandModels
          operations:
            - name: camerasGetBrandModels
              method: GET
              description: List Camera Models For A Brand
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: brand
                  in: query
                  type: string
                  required: true
                  description: The brand ID.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-cameras-rest
      port: 8080
      description: REST adapter for Flickr API — Cameras. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/cameras/get-brands
          name: rest-flickr-cameras-getbrands
          description: REST surface for List Camera Brands.
          operations:
            - method: GET
              name: camerasGetBrands
              description: List Camera Brands
              call: flickr-cameras.camerasGetBrands
              with:
                api_key: rest.api_key
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/cameras/get-brand-models
          name: rest-flickr-cameras-getbrandmodels
          description: REST surface for List Camera Models For A Brand.
          operations:
            - method: GET
              name: camerasGetBrandModels
              description: List Camera Models For A Brand
              call: flickr-cameras.camerasGetBrandModels
              with:
                api_key: rest.api_key
                brand: rest.brand
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-cameras-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — Cameras. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: list-camera-brands
          description: List Camera Brands
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-cameras.camerasGetBrands
          with:
            api_key: tools.api_key
          outputParameters:
            - type: object
              mapping: $.
        - name: list-camera-models-brand
          description: List Camera Models For A Brand
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-cameras.camerasGetBrandModels
          with:
            api_key: tools.api_key
            brand: tools.brand
          outputParameters:
            - type: object
              mapping: $.