Flickr · Capability

Flickr API — Photos Upload

Photos — Photos Upload. 2 operations. Lead operation: Check Async Upload Tickets. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosPhotos Upload

What You Can Do

GET
Photosuploadchecktickets — Check Async Upload Tickets
/v1/photos/upload/check-tickets
POST
Photosupload — Upload A Photo Or Video
/v1/upload

MCP Tools

check-async-upload-tickets

Check Async Upload Tickets

read-only idempotent
upload-photo-video

Upload A Photo Or Video

Capability Spec

flickr-photos-upload.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — Photos Upload
  description: 'Photos — Photos Upload. 2 operations. Lead operation: Check Async Upload Tickets. Self-contained Naftiko capability covering one Flickr business surface.'
  tags:
    - Flickr
    - Photos
    - Photos Upload
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      FLICKR_API_KEY: FLICKR_API_KEY
capability:
  consumes:
    - type: http
      namespace: flickr-photos-upload
      baseUri: https://api.flickr.com/services
      description: Flickr API — Photos Upload business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FLICKR_API_KEY}}'
        placement: query
      resources:
        - name: rest-flickr-photos-upload-checktickets
          path: /rest/flickr.photos.upload.checkTickets
          operations:
            - name: photosUploadCheckTickets
              method: GET
              description: Check Async Upload Tickets
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: tickets
                  in: query
                  type: string
                  required: true
                  description: Comma-delimited list of ticket IDs.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: upload
          path: /upload
          operations:
            - name: photosUpload
              method: POST
              description: Upload A Photo Or Video
              inputParameters:
                - name: body
                  in: body
                  type: object
                  required: true
                  description: Request body payload.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-photos-upload-rest
      port: 8080
      description: REST adapter for Flickr API — Photos Upload. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/photos/upload/check-tickets
          name: rest-flickr-photos-upload-checktickets
          description: REST surface for Check Async Upload Tickets.
          operations:
            - method: GET
              name: photosUploadCheckTickets
              description: Check Async Upload Tickets
              call: flickr-photos-upload.photosUploadCheckTickets
              with:
                api_key: rest.api_key
                tickets: rest.tickets
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/upload
          name: upload
          description: REST surface for Upload A Photo Or Video.
          operations:
            - method: POST
              name: photosUpload
              description: Upload A Photo Or Video
              call: flickr-photos-upload.photosUpload
              with:
                body: rest.body
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-photos-upload-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — Photos Upload. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: check-async-upload-tickets
          description: Check Async Upload Tickets
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-photos-upload.photosUploadCheckTickets
          with:
            api_key: tools.api_key
            tickets: tools.tickets
          outputParameters:
            - type: object
              mapping: $.
        - name: upload-photo-video
          description: Upload A Photo Or Video
          hints:
            readOnly: false
            destructive: false
            idempotent: false
          call: flickr-photos-upload.photosUpload
          with:
            body: tools.body
          outputParameters:
            - type: object
              mapping: $.