Flickr · Capability

Flickr API — Activity

Photos — Activity. 1 operations. Lead operation: Get Activity On The User's Photos. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosActivity

What You Can Do

GET
Activityuserphotos — Get Activity On The User's Photos
/v1/activity/user-photos

MCP Tools

get-activity-user-s-photos

Get Activity On The User's Photos

read-only idempotent

Capability Spec

flickr-activity.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — Activity
  description: "Photos — Activity. 1 operations. Lead operation: Get Activity On The User's Photos. Self-contained Naftiko capability covering one Flickr business surface."
  tags:
    - Flickr
    - Photos
    - Activity
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      FLICKR_API_KEY: FLICKR_API_KEY
capability:
  consumes:
    - type: http
      namespace: flickr-activity
      baseUri: https://api.flickr.com/services
      description: Flickr API — Activity business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FLICKR_API_KEY}}'
        placement: query
      resources:
        - name: rest-flickr-activity-userphotos
          path: /rest/flickr.activity.userPhotos
          operations:
            - name: activityUserPhotos
              method: GET
              description: Get Activity On The User's Photos
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: timeframe
                  in: query
                  type: string
                  required: false
                  description: Time window such as "1h" or "12h".
                - name: per_page
                  in: query
                  type: integer
                  required: false
                  description: per_page
                - name: page
                  in: query
                  type: integer
                  required: false
                  description: page
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-activity-rest
      port: 8080
      description: REST adapter for Flickr API — Activity. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/activity/user-photos
          name: rest-flickr-activity-userphotos
          description: REST surface for Get Activity On The User's Photos.
          operations:
            - method: GET
              name: activityUserPhotos
              description: Get Activity On The User's Photos
              call: flickr-activity.activityUserPhotos
              with:
                api_key: rest.api_key
                timeframe: rest.timeframe
                per_page: rest.per_page
                page: rest.page
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-activity-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — Activity. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: get-activity-user-s-photos
          description: Get Activity On The User's Photos
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-activity.activityUserPhotos
          with:
            api_key: tools.api_key
            timeframe: tools.timeframe
            per_page: tools.per_page
            page: tools.page
          outputParameters:
            - type: object
              mapping: $.