Skip to main content
Query

lensModels

Searches the lenses of the gear catalog, ordered by manufacturer, series and focal length. Discontinued lenses are left out unless includeDiscontinued is true. Requires a signed-in user.

Arguments

  • afterString

    Returns the items after this cursor: the pageInfo.endCursor of the previous page. Omit to start at the beginning.

  • anamorphicBoolean

    True for anamorphic lenses only (squeeze above 1), false for spherical lenses only. Lenses with an unknown squeeze match neither.

  • coversSensorDiagonalMmFloat

    Only lenses whose image circle is at least this diagonal, in millimetres; pair it with CameraSensorMode.diagonalMm. Lenses with an unknown image circle are left out.

  • firstInt

    Maximum number of items to return, from 1 to 200. Defaults to 50.

  • includeDiscontinuedBoolean

    Also return discontinued lenses.

  • Only lenses of this kind.

  • manufacturerString

    Only lenses of this manufacturer, by manufacturerSlug.

  • Only lenses with this mount.

  • Search text, such as a name or alias. Every word must match; accents and case are ignored.

  • seriesString

    Only lenses of this series, matched exactly.

Returns

LensModelConnection!

Example

query LensModels($after: String, $anamorphic: Boolean, $coversSensorDiagonalMm: Float, $first: Int, $includeDiscontinued: Boolean, $kind: LensKind, $manufacturer: String, $mount: LensMount, $q: String, $series: String) {
  lensModels(
    after: $after
    anamorphic: $anamorphic
    coversSensorDiagonalMm: $coversSensorDiagonalMm
    first: $first
    includeDiscontinued: $includeDiscontinued
    kind: $kind
    manufacturer: $manufacturer
    mount: $mount
    q: $q
    series: $series
  ) {
    totalCount
  }
}