Flickr · Capability

Flickr API — URLs

Photos — URLs. 1 operations. Lead operation: Look Up User By URL. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosURLs

What You Can Do

GET
Urlslookupuser — Look Up User By URL
/v1/urls/lookup-user

MCP Tools

look-up-user-url

Look Up User By URL

read-only idempotent

Capability Spec

flickr-urls.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — URLs
  description: 'Photos — URLs. 1 operations. Lead operation: Look Up User By URL. Self-contained Naftiko capability covering one Flickr business surface.'
  tags:
    - Flickr
    - Photos
    - URLs
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      FLICKR_API_KEY: FLICKR_API_KEY
capability:
  consumes:
    - type: http
      namespace: flickr-urls
      baseUri: https://api.flickr.com/services
      description: Flickr API — URLs business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FLICKR_API_KEY}}'
        placement: query
      resources:
        - name: rest-flickr-urls-lookupuser
          path: /rest/flickr.urls.lookupUser
          operations:
            - name: urlsLookupUser
              method: GET
              description: Look Up User By URL
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: url
                  in: query
                  type: string
                  required: true
                  description: url
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-urls-rest
      port: 8080
      description: REST adapter for Flickr API — URLs. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/urls/lookup-user
          name: rest-flickr-urls-lookupuser
          description: REST surface for Look Up User By URL.
          operations:
            - method: GET
              name: urlsLookupUser
              description: Look Up User By URL
              call: flickr-urls.urlsLookupUser
              with:
                api_key: rest.api_key
                url: rest.url
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-urls-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — URLs. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: look-up-user-url
          description: Look Up User By URL
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-urls.urlsLookupUser
          with:
            api_key: tools.api_key
            url: tools.url
          outputParameters:
            - type: object
              mapping: $.