You can supply different parameters to the filter
argument to filter the query response accordingly:
query {allUploads(filter: { type: { eq: image } }) {urlcopyrightexifInfo}}
If you specify multiple conditions, they will be combined as if it was a logical AND
expression:
query {allUploads(filter: { type: { eq: image }, resolution: { eq: large }}) {blurUpThumburl(imgixParams: { w: 100, h: 100, fit: crop })}}
You can also combine AND
and OR
logical expressions. For example, the following query will return all large images together with any video tagged with "fun":
query {allUploads(filter: {OR: [{ type: { eq: image }, resolution: { eq: large }},{ type: { eq: video }, tags: { contains: "fun" }}]}) {blurUpThumburl(imgixParams: {w: 100, h: 100, fit: crop})}}
type
query {allUploads(filter: { type: { eq: image } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { type: { neq: image } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { type: { in: [image] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { type: { notIn: [image] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
inUse
query {allUploads(filter: { inUse: { eq: true } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
resolution
query {allUploads(filter: { resolution: { eq: icon } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { resolution: { neq: icon } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { resolution: { in: [icon] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { resolution: { notIn: [icon] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
size
query {allUploads(filter: { size: { gt: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { size: { lt: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { size: { gte: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { size: { lte: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { size: { eq: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { size: { neq: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
tags
query {allUploads(filter: { tags: { contains: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { tags: { allIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { tags: { anyIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { tags: { notIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { tags: { eq: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
smartTags
query {allUploads(filter: { smartTags: { contains: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { smartTags: { allIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { smartTags: { anyIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { smartTags: { notIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { smartTags: { eq: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
colors
query {allUploads(filter: { colors: { contains: red } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { colors: { allIn: [red] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { colors: { anyIn: [red] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { colors: { notIn: [red] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { colors: { eq: [red] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
orientation
query {allUploads(filter: { orientation: { eq: landscape } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { orientation: { neq: landscape } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
id
query {allUploads(filter: { id: { eq: "123" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { id: { neq: "123" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { id: { in: ["123"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { id: { notIn: ["123"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
mimeType
query {allUploads(filter: {mimeType: {matches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {mimeType: {notMatches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { mimeType: { eq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { mimeType: { neq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { mimeType: { in: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { mimeType: { notIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
format
query {allUploads(filter: { format: { eq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { format: { neq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { format: { in: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { format: { notIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
height
query {allUploads(filter: { height: { gt: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { height: { lt: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { height: { gte: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { height: { lte: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { height: { eq: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { height: { neq: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
width
query {allUploads(filter: { width: { gt: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { width: { lt: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { width: { gte: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { width: { lte: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { width: { eq: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { width: { neq: 3 } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
alt
query {allUploads(filter: {alt: {matches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {alt: {notMatches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { alt: { eq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { alt: { neq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { alt: { in: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { alt: { notIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { alt: { exists: true } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
title
query {allUploads(filter: {title: {matches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {title: {notMatches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { title: { eq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { title: { neq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { title: { in: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { title: { notIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { title: { exists: true } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
notes
query {allUploads(filter: {notes: {matches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {notes: {notMatches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { notes: { exists: true } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
md5
query {allUploads(filter: { md5: { eq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { md5: { neq: "bike" } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { md5: { in: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { md5: { notIn: ["bike"] } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
author
query {allUploads(filter: {author: {matches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {author: {notMatches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { author: { exists: true } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
copyright
query {allUploads(filter: {copyright: {matches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {copyright: {notMatches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: { copyright: { exists: true } }) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
basename
query {allUploads(filter: {basename: {matches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {basename: {notMatches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
filename
query {allUploads(filter: {filename: {matches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {filename: {notMatches: { pattern: "bi(cycl|k)e", caseSensitive: false }}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
_createdAt
query {allUploads(filter: {_createdAt: {eq: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_createdAt: {neq: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_createdAt: {lt: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_createdAt: {lte: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_createdAt: {gt: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_createdAt: {gte: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
_updatedAt
query {allUploads(filter: {_updatedAt: {eq: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_updatedAt: {neq: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_updatedAt: {lt: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_updatedAt: {lte: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_updatedAt: {gt: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}
query {allUploads(filter: {_updatedAt: {gte: "2018-02-13T14:30:00+00:00"}}) {blurUpThumburl(imgixParams: { auto: format, w: 100, h: 100, fit: crop })}}