Flickr Cameras API

Camera brand and model metadata

OpenAPI Specification

flickr-cameras-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Flickr Activity Cameras API
  description: 'The Flickr API exposes the photo, group, people, place, tag, gallery, and

    photoset capabilities that power flickr.com. Almost all flickr.com

    functionality is reachable through a single REST-like endpoint

    `https://api.flickr.com/services/rest` using a `method=flickr.{namespace}.{method}`

    query parameter and `format=json&nojsoncallback=1` for JSON output.


    This OpenAPI specification models a curated set of the most widely used

    methods across the Flickr API''s 250+ method namespaces (activity, auth,

    blogs, cameras, collections, commons, contacts, favorites, galleries,

    groups, groupsDiscuss, interestingness, machinetags, panda, people, photos,

    photos.geo, photos.licenses, photos.notes, photos.transform, photos.upload,

    photosets, places, prefs, profile, push, reflection, stats, tags, test, urls).


    Authentication is API key + OAuth 1.0a (HMAC-SHA1). Commercial use of the

    API requires prior permission from Flickr.

    '
  version: 1.0.0
  termsOfService: https://www.flickr.com/services/api/tos/
  contact:
    name: Flickr API Support
    url: https://www.flickr.com/help/api/
  license:
    name: Flickr API Terms of Use
    url: https://www.flickr.com/services/api/tos/
  x-generated-from: documentation
  x-last-validated: '2026-05-30'
servers:
- url: https://api.flickr.com/services
  description: Flickr REST API
- url: https://up.flickr.com/services
  description: Flickr Upload endpoint
security:
- ApiKeyAuth: []
- OAuth1:
  - read
  - write
  - delete
tags:
- name: Cameras
  description: Camera brand and model metadata
paths:
  /rest/flickr.cameras.getBrands:
    get:
      operationId: camerasGetBrands
      summary: List Camera Brands
      description: Returns all camera brands supported in the Flickr camera taxonomy.
      tags:
      - Cameras
      parameters:
      - $ref: '#/components/parameters/ApiKey'
      responses:
        '200':
          description: Brand list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrandList'
              examples:
                CamerasGetBrands200Example:
                  summary: Default camerasGetBrands 200 response
                  x-microcks-default: true
                  value:
                    brand:
                    - id: '52345678901'
                      name: Bay Area Photographers
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /rest/flickr.cameras.getBrandModels:
    get:
      operationId: camerasGetBrandModels
      summary: List Camera Models For A Brand
      description: Returns all camera models for the given brand.
      tags:
      - Cameras
      parameters:
      - $ref: '#/components/parameters/ApiKey'
      - name: brand
        in: query
        required: true
        description: The brand ID.
        schema:
          type: string
        example: nikon
      responses:
        '200':
          description: Model list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CameraList'
              examples:
                CamerasGetBrandModels200Example:
                  summary: Default camerasGetBrandModels 200 response
                  x-microcks-default: true
                  value:
                    camera:
                    - id: '52345678901'
                      name: Bay Area Photographers
                      details: {}
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Brand:
      type: object
      properties:
        id:
          type: string
          example: '52345678901'
        name:
          type: string
          example: Bay Area Photographers
    BrandList:
      type: object
      properties:
        brand:
          type: array
          items:
            $ref: '#/components/schemas/Brand'
    CameraList:
      type: object
      properties:
        camera:
          type: array
          items:
            $ref: '#/components/schemas/Camera'
    Camera:
      type: object
      properties:
        id:
          type: string
          example: '52345678901'
        name:
          type: string
          example: Bay Area Photographers
        details:
          type: object
          additionalProperties: true
          example: {}
  parameters:
    ApiKey:
      name: api_key
      in: query
      required: true
      description: Application API key.
      schema:
        type: string
      example: ab1234567890cdef1234567890abcd12
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: api_key
      description: Application API key for non-authenticated and read-only public requests.
    OAuth1:
      type: oauth2
      description: 'Flickr uses OAuth 1.0a (HMAC-SHA1). The OpenAPI 3 schema cannot model

        OAuth 1.0a directly, so this entry approximates the flow. Token URLs:

        - Request token: https://www.flickr.com/services/oauth/request_token

        - Authorize:     https://www.flickr.com/services/oauth/authorize

        - Access token:  https://www.flickr.com/services/oauth/access_token

        '
      flows:
        authorizationCode:
          authorizationUrl: https://www.flickr.com/services/oauth/authorize
          tokenUrl: https://www.flickr.com/services/oauth/access_token
          scopes:
            read: Read access to private content owned by the user
            write: Modify content owned by the user
            delete: Delete content owned by the user