Skip to content

Instantly share code, notes, and snippets.

@vysinsky
Created April 2, 2020 18:01
Show Gist options
  • Save vysinsky/6646a995d767e155b720888c68a38241 to your computer and use it in GitHub Desktop.
Save vysinsky/6646a995d767e155b720888c68a38241 to your computer and use it in GitHub Desktop.
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
}
type CollectionMetadata {
count: IntType!
}
type ColorField {
alpha: IntType
blue: IntType
green: IntType
hex: String
red: IntType
}
"Record of type Konfigurace (configuration)"
type ConfigurationRecord {
_createdAt: DateTime!
_firstPublishedAt: DateTime
_isValid: BooleanType!
_modelApiKey: String!
_publicationScheduledAt: DateTime
_publishedAt: DateTime
"SEO meta tags"
_seoMetaTags("The locale to use to fetch the field's content" locale: SiteLocale): [Tag!]!
_status: ItemStatus!
_updatedAt: DateTime!
allowIndexing: BooleanType
createdAt: DateTime!
id: ItemId!
updatedAt: DateTime!
}
"Record of type Kontaktní údaje (contact)"
type ContactRecord {
_createdAt: DateTime!
_firstPublishedAt: DateTime
_isValid: BooleanType!
_modelApiKey: String!
_publicationScheduledAt: DateTime
_publishedAt: DateTime
"SEO meta tags"
_seoMetaTags("The locale to use to fetch the field's content" locale: SiteLocale): [Tag!]!
_status: ItemStatus!
_updatedAt: DateTime!
city: String
createdAt: DateTime!
email: String
facebookLink: String
id: ItemId!
instagramLink: String
location: LatLonField
logo: FileField
logoInverted: FileField
name: String
phone: String
postcode: String
street: String
updatedAt: DateTime!
}
type FileField {
_createdAt: DateTime!
_updatedAt: DateTime!
alt("The locale to use to fetch the field's content" locale: SiteLocale): String
author: String
basename: String!
blurUpThumb(
"Imgix transformations to apply to the image"
imgixParams: ImgixParams
"Controls the \"punch\" value (~contrast) of the blurhash decoding algorithm (defaults to 1.0)"
punch: Float = 1.0
"JPEG quality (defaults to 70%)"
quality: Int = 70
"Maximum image dimension (defaults to 24px)"
size: Int = 24
): String
blurhash: String
colors: [ColorField]!
copyright: String
customData("The locale to use to fetch the field's content" locale: SiteLocale): CustomData
exifInfo: CustomData
filename: String!
format: String!
height: IntType
id: UploadId!
mimeType: String!
notes: String
responsiveImage(
"Imgix transformations to apply to the image"
imgixParams: ImgixParams
"Specify a custom `sizes` attribute for the image"
sizes: String
): ResponsiveImage
size: IntType!
smartTags: [String]!
tags: [String]!
title("The locale to use to fetch the field's content" locale: SiteLocale): String
url("Imgix transformations to apply to the image" imgixParams: ImgixParams): String!
video: UploadVideoField
width: IntType
}
type GlobalSeoField {
facebookPageUrl: String
fallbackSeo: SeoField
siteName: String
titleSuffix: String
twitterAccount: String
}
type LatLonField {
latitude: FloatType
longitude: FloatType
}
"Record of type Novinka (news)"
type NewsRecord {
_createdAt: DateTime!
_firstPublishedAt: DateTime
_isValid: BooleanType!
_modelApiKey: String!
_publicationScheduledAt: DateTime
_publishedAt: DateTime
"SEO meta tags"
_seoMetaTags("The locale to use to fetch the field's content" locale: SiteLocale): [Tag!]!
_status: ItemStatus!
_updatedAt: DateTime!
content("Process content as markdown" markdown: Boolean): String
createdAt: DateTime!
date: DateTime
id: ItemId!
position: IntType
title: String
updatedAt: DateTime!
}
"Record of type Stránka (page)"
type PageRecord {
_createdAt: DateTime!
_firstPublishedAt: DateTime
_isValid: BooleanType!
_modelApiKey: String!
_publicationScheduledAt: DateTime
_publishedAt: DateTime
"SEO meta tags"
_seoMetaTags("The locale to use to fetch the field's content" locale: SiteLocale): [Tag!]!
_status: ItemStatus!
_updatedAt: DateTime!
content("Process content as markdown" markdown: Boolean): String
createdAt: DateTime!
displayInMenu: BooleanType
id: ItemId!
position: IntType
slug: String
title: String
updatedAt: DateTime!
}
"The query root for this schema"
type Query {
"Returns meta information regarding a record collection"
_allNewsMeta(
filter: NewsModelFilter
"The locale to use to fetch the field's content"
locale: SiteLocale
): CollectionMetadata!
"Returns meta information regarding a record collection"
_allPagesMeta(
filter: PageModelFilter
"The locale to use to fetch the field's content"
locale: SiteLocale
): CollectionMetadata!
"Returns meta information regarding a record collection"
_allSlidesMeta(
filter: SlideModelFilter
"The locale to use to fetch the field's content"
locale: SiteLocale
): CollectionMetadata!
"Returns meta information regarding an assets collection"
_allUploadsMeta(
filter: UploadFilter
"The locale to use to fetch the field's content"
locale: SiteLocale
): CollectionMetadata
"Returns the single instance record"
_site("The locale to use to fetch the field's content" locale: SiteLocale): Site!
"Returns a collection of records"
allNews(
filter: NewsModelFilter
"Limit the number of results"
first: IntType = 20
"The locale to use to fetch the field's content"
locale: SiteLocale
orderBy: [NewsModelOrderBy] = [position_ASC]
"Skip the first results"
skip: IntType
): [NewsRecord!]!
"Returns a collection of records"
allPages(
filter: PageModelFilter
"Limit the number of results"
first: IntType = 20
"The locale to use to fetch the field's content"
locale: SiteLocale
orderBy: [PageModelOrderBy] = [position_ASC]
"Skip the first results"
skip: IntType
): [PageRecord!]!
"Returns a collection of records"
allSlides(
filter: SlideModelFilter
"Limit the number of results"
first: IntType = 20
"The locale to use to fetch the field's content"
locale: SiteLocale
orderBy: [SlideModelOrderBy] = [position_ASC]
"Skip the first results"
skip: IntType
): [SlideRecord!]!
"Returns a collection of assets"
allUploads(
filter: UploadFilter
"Limit the number of results"
first: IntType = 20
"The locale to use to fetch the field's content"
locale: SiteLocale
orderBy: [UploadOrderBy] = [_createdAt_DESC]
"Skip the first results"
skip: IntType
): [FileField!]!
"Returns the single instance record"
configuration("The locale to use to fetch the field's content" locale: SiteLocale): ConfigurationRecord
"Returns the single instance record"
contact("The locale to use to fetch the field's content" locale: SiteLocale): ContactRecord
"Returns a specific record"
news(
filter: NewsModelFilter
"The locale to use to fetch the field's content"
locale: SiteLocale
orderBy: [NewsModelOrderBy] = [position_ASC]
): NewsRecord
"Returns a specific record"
page(
filter: PageModelFilter
"The locale to use to fetch the field's content"
locale: SiteLocale
orderBy: [PageModelOrderBy] = [position_ASC]
): PageRecord
"Returns a specific record"
slide(
filter: SlideModelFilter
"The locale to use to fetch the field's content"
locale: SiteLocale
orderBy: [SlideModelOrderBy] = [position_ASC]
): SlideRecord
"Returns a specific asset"
upload(
filter: UploadFilter
"The locale to use to fetch the field's content"
locale: SiteLocale
orderBy: [UploadOrderBy] = [_createdAt_DESC]
): FileField
}
type ResponsiveImage {
alt: String
aspectRatio: FloatType!
base64: String
bgColor: String
height: IntType!
sizes: String!
src: String!
srcSet: String!
title: String
webpSrcSet: String!
width: IntType!
}
type SeoField {
description: String
image: FileField
title: String
twitterCard: String
}
type Site {
favicon: FileField
faviconMetaTags("The variants to build" variants: [FaviconType] = [icon]): [Tag!]!
globalSeo("The locale to use to fetch the field's content" locale: SiteLocale): GlobalSeoField
}
"Record of type Slide (slide)"
type SlideRecord {
_createdAt: DateTime!
_firstPublishedAt: DateTime
_isValid: BooleanType!
_modelApiKey: String!
_publicationScheduledAt: DateTime
_publishedAt: DateTime
"SEO meta tags"
_seoMetaTags("The locale to use to fetch the field's content" locale: SiteLocale): [Tag!]!
_status: ItemStatus!
_updatedAt: DateTime!
createdAt: DateTime!
id: ItemId!
image: FileField
position: IntType
updatedAt: DateTime!
}
type Tag {
attributes: MetaTagAttributes
content: String
tag: String!
}
type UploadVideoField {
duration: Int!
framerate: Int!
mp4Url(
"Pick the exact resolution quality specified in the argument"
exactRes: VideoMp4Res
"Pick highest resolution available up to the specified argument"
res: VideoMp4Res
): String
muxAssetId: String!
muxPlaybackId: String!
streamingUrl: String!
thumbnailUrl(
"The file extension of the requested image format. Either png, jpg or gif"
format: MuxThumbnailFormatType = jpg
): String!
}
enum ColorBucketType {
black
blue
brown
cyan
green
grey
orange
pink
purple
red
white
yellow
}
enum FaviconType {
appleTouchIcon
icon
msApplication
}
enum ImgixParamsAuto {
compress
enhance
format
redeye
}
enum ImgixParamsBlendAlign {
bottom
center
left
middle
right
top
}
enum ImgixParamsBlendCrop {
bottom
faces
left
right
top
}
enum ImgixParamsBlendFit {
clamp
clip
crop
max
scale
}
enum ImgixParamsBlendMode {
burn
color
darken
difference
dodge
exclusion
hardlight
hue
lighten
luminosity
multiply
normal
overlay
saturation
screen
softlight
}
enum ImgixParamsBlendSize {
inherit
}
enum ImgixParamsCh {
dpr
saveData
width
}
enum ImgixParamsCrop {
bottom
edges
entropy
faces
focalpoint
left
right
top
}
enum ImgixParamsCs {
adobergb1998
srgb
strip
tinysrgb
}
enum ImgixParamsFill {
blur
solid
}
enum ImgixParamsFit {
clamp
clip
crop
facearea
fill
fillmax
max
min
scale
}
enum ImgixParamsFlip {
h
hv
v
}
enum ImgixParamsFm {
gif
jp2
jpg
json
jxr
mp4
pjpg
png
png32
png8
webm
webp
}
enum ImgixParamsMarkAlign {
bottom
center
left
middle
right
top
}
enum ImgixParamsMarkFit {
clip
crop
fill
max
scale
}
enum ImgixParamsPalette {
css
json
}
enum ImgixParamsTrim {
auto
color
}
enum ImgixParamsTxtAlign {
bottom
center
left
middle
right
top
}
enum ImgixParamsTxtClip {
ellipsis
end
middle
start
}
enum ImgixParamsTxtFit {
max
}
enum ItemStatus {
draft
published
updated
}
enum MuxThumbnailFormatType {
gif
jpg
png
}
enum NewsModelOrderBy {
_createdAt_ASC
_createdAt_DESC
_firstPublishedAt_ASC
_firstPublishedAt_DESC
_isValid_ASC
_isValid_DESC
_publicationScheduledAt_ASC
_publicationScheduledAt_DESC
_publishedAt_ASC
_publishedAt_DESC
_status_ASC
_status_DESC
_updatedAt_ASC
_updatedAt_DESC
createdAt_ASC
createdAt_DESC
date_ASC
date_DESC
id_ASC
id_DESC
position_ASC
position_DESC
title_ASC
title_DESC
updatedAt_ASC
updatedAt_DESC
}
enum PageModelOrderBy {
_createdAt_ASC
_createdAt_DESC
_firstPublishedAt_ASC
_firstPublishedAt_DESC
_isValid_ASC
_isValid_DESC
_publicationScheduledAt_ASC
_publicationScheduledAt_DESC
_publishedAt_ASC
_publishedAt_DESC
_status_ASC
_status_DESC
_updatedAt_ASC
_updatedAt_DESC
createdAt_ASC
createdAt_DESC
displayInMenu_ASC
displayInMenu_DESC
id_ASC
id_DESC
position_ASC
position_DESC
slug_ASC
slug_DESC
title_ASC
title_DESC
updatedAt_ASC
updatedAt_DESC
}
enum ResolutionType {
icon
large
medium
small
}
enum SiteLocale {
cs
}
enum SlideModelOrderBy {
_createdAt_ASC
_createdAt_DESC
_firstPublishedAt_ASC
_firstPublishedAt_DESC
_isValid_ASC
_isValid_DESC
_publicationScheduledAt_ASC
_publicationScheduledAt_DESC
_publishedAt_ASC
_publishedAt_DESC
_status_ASC
_status_DESC
_updatedAt_ASC
_updatedAt_DESC
createdAt_ASC
createdAt_DESC
id_ASC
id_DESC
position_ASC
position_DESC
updatedAt_ASC
updatedAt_DESC
}
enum UploadOrderBy {
_createdAt_ASC
_createdAt_DESC
_updatedAt_ASC
_updatedAt_DESC
basename_ASC
basename_DESC
filename_ASC
filename_DESC
format_ASC
format_DESC
id_ASC
id_DESC
mimeType_ASC
mimeType_DESC
resolution_ASC
resolution_DESC
size_ASC
size_DESC
}
enum UploadOrientation {
landscape
portrait
square
}
enum UploadType {
archive
audio
image
pdfdocument
presentation
richtext
spreadsheet
video
}
enum VideoMp4Res {
high
low
medium
}
"Specifies how to filter Boolean fields"
input BooleanFilter {
"Search for records with an exact match"
eq: BooleanType
}
"Specifies how to filter DateTime fields"
input DateTimeFilter {
"Search for records with an exact match (seconds are truncated)"
eq: DateTime
"Filter records with the specified field defined (i.e. with any value) or not"
exists: BooleanType
"Filter records with a value that's strictly greater than the one specified"
gt: DateTime
"Filter records with a value that's greater than or equal to than the one specified"
gte: DateTime
"Filter records with a value that's less than the one specified"
lt: DateTime
"Filter records with a value that's less or equal than the one specified"
lte: DateTime
"Exclude records with an exact match"
neq: DateTime
}
"Specifies how to filter Single-file/image fields"
input FileFilter {
"Search for records with an exact match. The specified value must be an Upload ID"
eq: UploadId
"Filter records with the specified field defined (i.e. with any value) or not"
exists: BooleanType
"Filter records that have one of the specified uploads"
in: [UploadId]
"Exclude records with an exact match. The specified value must be an Upload ID"
neq: UploadId
"Filter records that do not have one of the specified uploads"
notIn: [UploadId]
}
input ImgixParams {
"""
Aspect Ratio
Specifies an aspect ratio to maintain when resizing and cropping the image
Depends on: `fit=crop`
"""
ar: String
"""
Automatic
Applies automatic enhancements to images.
[Open Imgix reference »](https://docs.imgix.com/apis/url/auto)
"""
auto: [ImgixParamsAuto!]
"""
Background Color
Colors the background of padded and partially-transparent images.
[Open Imgix reference »](https://docs.imgix.com/apis/url/bg)
"""
bg: String
"""
Blend
Specifies the location of the blend image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend)
"""
blend: String
"""
Blend Align
Changes the blend alignment relative to the parent image.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-align)
"""
blendAlign: [ImgixParamsBlendAlign!]
"""
Blend Alpha
Changes the alpha of the blend image.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-alpha)
"""
blendAlpha: IntType
"""
Blend Crop
Specifies the type of crop for blend images.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-crop)
"""
blendCrop: [ImgixParamsBlendCrop!]
"""
Blend Fit
Specifies the fit mode for blend images.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-fit)
"""
blendFit: ImgixParamsBlendFit
"""
Blend Height
Adjusts the height of the blend image.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-h)
"""
blendH: FloatType
"""
Blend Mode
Sets the blend mode for a blend image.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-mode)
"""
blendMode: ImgixParamsBlendMode
"""
Blend Padding
Applies padding to the blend image.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-pad)
"""
blendPad: IntType
"""
Blend Size
Adjusts the size of the blend image.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-size)
"""
blendSize: ImgixParamsBlendSize
"""
Blend Width
Adjusts the width of the blend image.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-w)
"""
blendW: FloatType
"""
Blend X Position
Adjusts the x-offset of the blend image relative to its parent.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-x)
"""
blendX: IntType
"""
Blend Y Position
Adjusts the y-offset of the blend image relative to its parent.
Depends on: `blend`
[Open Imgix reference »](https://docs.imgix.com/apis/url/blending/blend-y)
"""
blendY: IntType
"""
Gaussian Blur
Applies a gaussian blur to an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/stylize/blur)
"""
blur: IntType
"""
Border Size & Color
Applies a border to an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/border-and-padding/border)
"""
border: String
"""
Outer Border Radius
Sets the outer radius of the image's border in pixels.
Depends on: `border`
[Open Imgix reference »](https://docs.imgix.com/apis/url/border-and-padding/border-radius)
"""
borderRadius: String
"""
Inner Border Radius
Sets the inner radius of the image's border in pixels.
Depends on: `border`
[Open Imgix reference »](https://docs.imgix.com/apis/url/border-and-padding/border-radius-inner)
"""
borderRadiusInner: String
"""
Brightness
Adjusts the brightness of the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/bri)
"""
bri: IntType
"""
Client Hints
Sets one or more Client-Hints headers
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/ch)
"""
ch: [ImgixParamsCh!]
"""
Chroma Subsampling
Specifies the output chroma subsampling rate.
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/chromasub)
"""
chromasub: IntType
"""
Color Quantization
Limits the number of unique colors in an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/colorquant)
"""
colorquant: IntType
"""
Palette Color Count
Specifies how many colors to include in a palette-extraction response.
Depends on: `palette`
[Open Imgix reference »](https://docs.imgix.com/apis/url/color-palette/colors)
"""
colors: IntType
"""
Contrast
Adjusts the contrast of the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/con)
"""
con: IntType
"""
Mask Corner Radius
Specifies the radius value for a rounded corner mask.
Depends on: `mask=corners`
[Open Imgix reference »](https://docs.imgix.com/apis/url/mask/corner-radius)
"""
cornerRadius: String
"""
Crop Mode
Specifies how to crop an image.
Depends on: `fit=crop`
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/crop)
"""
crop: [ImgixParamsCrop!]
"""
Color Space
Specifies the color space of the output image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/cs)
"""
cs: ImgixParamsCs
"""
Download
Forces a URL to use send-file in its response.
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/dl)
"""
dl: String
"""
Dots Per Inch
Sets the DPI value in the EXIF header.
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/dpi)
"""
dpi: IntType
"""
Device Pixel Ratio
Adjusts the device-pixel ratio of the output image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/dpr)
"""
dpr: FloatType
"""
Duotone
Applies a duotone effect to the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/stylize/duotone)
"""
duotone: String
"""
Duotone Alpha
Changes the alpha of the duotone effect atop the source image.
Depends on: `duotone`
[Open Imgix reference »](https://docs.imgix.com/apis/url/stylize/duotone-alpha)
"""
duotoneAlpha: IntType
"""
Exposure
Adjusts the exposure of the output image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/exp)
"""
exp: IntType
"""
Url Expiration Timestamp
A Unix timestamp specifying a UTC time. Requests made to this URL after that time will output a 404 status code.
[Open Imgix reference »](https://docs.imgix.com/apis/url/expires)
"""
expires: IntType
"""
Face Index
Selects a face to crop to.
Depends on: `fit=facearea`
[Open Imgix reference »](https://docs.imgix.com/apis/url/face-detection/faceindex)
"""
faceindex: IntType
"""
Face Padding
Adjusts padding around a selected face.
Depends on: `fit=facearea`
[Open Imgix reference »](https://docs.imgix.com/apis/url/face-detection/facepad)
"""
facepad: FloatType
"""
Json Face Data
Specifies that face data should be included in output when combined with `fm=json`.
Depends on: `fm=json`
[Open Imgix reference »](https://docs.imgix.com/apis/url/face-detection/faces)
"""
faces: IntType
"""
Fill Mode
Determines how to fill in additional space created by the fit setting
Depends on: `fit`
[Open Imgix reference »](https://docs.imgix.com/apis/url/fill/fill)
"""
fill: ImgixParamsFill
"""
Fill Color
Sets the fill color for images with additional space created by the fit setting
Depends on: `fill=solid`
[Open Imgix reference »](https://docs.imgix.com/apis/url/fill/fill-color)
"""
fillColor: String
"""
Resize Fit Mode
Specifies how to map the source image to the output image dimensions.
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/fit)
"""
fit: ImgixParamsFit
"""
Flip Axis
Flips an image on a specified axis.
[Open Imgix reference »](https://docs.imgix.com/apis/url/rotation/flip)
"""
flip: ImgixParamsFlip
"""
Output Format
Changes the format of the output image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/fm)
"""
fm: ImgixParamsFm
"""
Focal Point Debug
Displays crosshairs identifying the location of the set focal point
Depends on: `fit=crop`, `crop=focalpoint`
[Open Imgix reference »](https://docs.imgix.com/apis/url/focalpoint-crop/fp-debug)
"""
fpDebug: BooleanType
"""
Focal Point X Position
Sets the relative horizontal value for the focal point of an image
Depends on: `fit=crop`, `crop=focalpoint`
[Open Imgix reference »](https://docs.imgix.com/apis/url/focalpoint-crop/fp-x)
"""
fpX: FloatType
"""
Focal Point Y Position
Sets the relative vertical value for the focal point of an image
Depends on: `fit=crop`, `crop=focalpoint`
[Open Imgix reference »](https://docs.imgix.com/apis/url/focalpoint-crop/fp-y)
"""
fpY: FloatType
"""
Focal Point Zoom
Sets the relative zoom value for the focal point of an image
Depends on: `fit=crop`, `crop=focalpoint`
[Open Imgix reference »](https://docs.imgix.com/apis/url/focalpoint-crop/fp-z)
"""
fpZ: IntType
"""
Gamma
Adjusts the gamma of the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/gam)
"""
gam: IntType
"""
Image Height
Adjusts the height of the output image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/h)
"""
h: FloatType
"""
Highlight
Adjusts the highlights of the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/high)
"""
high: IntType
"""
Halftone
Applies a half-tone effect to the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/stylize/htn)
"""
htn: IntType
"""
Hue Shift
Adjusts the hue of the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/hue)
"""
hue: IntType
"""
Invert
Inverts the colors on the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/invert)
"""
invert: BooleanType
"""
Lossless Compression
Specifies that the output image should be a lossless variant.
Depends on: `fm=webp`, `fm=jxr`
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/lossless)
"""
lossless: BooleanType
"""
Watermark Image Url
Specifies the location of the watermark image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark)
"""
mark: String
"""
Watermark Alignment Mode
Changes the watermark alignment relative to the parent image.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-align)
"""
markAlign: [ImgixParamsMarkAlign!]
"""
Watermark Alpha
Changes the alpha of the watermark image.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-alpha)
"""
markAlpha: IntType
"""
Watermark Base Url
Changes base URL of the watermark image.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-base)
"""
markBase: String
"""
Watermark Fit Mode
Specifies the fit mode for watermark images.
Depends on: `mark`, `markw`, `markh`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-fit)
"""
markFit: ImgixParamsMarkFit
"""
Watermark Height
Adjusts the height of the watermark image.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-h)
"""
markH: FloatType
"""
Watermark Padding
Applies padding to the watermark image.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-pad)
"""
markPad: IntType
"""
Watermark Scale
Adjusts the scale of the watermark image.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-scale)
"""
markScale: IntType
"""
Watermark Width
Adjusts the width of the watermark image.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-w)
"""
markW: FloatType
"""
Watermark X Position
Adjusts the x-offset of the watermark image relative to its parent.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-x)
"""
markX: IntType
"""
Watermark Y Position
Adjusts the y-offset of the watermark image relative to its parent.
Depends on: `mark`
[Open Imgix reference »](https://docs.imgix.com/apis/url/watermark/mark-y)
"""
markY: IntType
"""
Mask Type
Defines the type of mask and specifies the URL if that type is selected.
[Open Imgix reference »](https://docs.imgix.com/apis/url/mask)
"""
mask: String
"""
Mask Background Color
Colors the background of the transparent mask area of images
Depends on: `mask`
[Open Imgix reference »](https://docs.imgix.com/apis/url/mask/mask-bg)
"""
maskbg: String
"""
Maximum Height
Specifies the maximum height of the output image in pixels.
Depends on: `fit=crop`
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/max-height)
"""
maxH: IntType
"""
Maximum Width
Specifies the maximum width of the output image in pixels.
Depends on: `fit=crop`
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/max-width)
"""
maxW: IntType
"""
Minimum Height
Specifies the minimum height of the output image in pixels.
Depends on: `fit=crop`
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/min-height)
"""
minH: IntType
"""
Minimum Width
Specifies the minimum width of the output image in pixels.
Depends on: `fit=crop`
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/min-width)
"""
minW: IntType
"""
Monochrome
Applies a monochrome effect to the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/stylize/monochrome)
"""
monochrome: String
"""
Noise Reduction Bound
Reduces the noise in an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/noise-reduction/nr)
"""
nr: IntType
"""
Noise Reduction Sharpen
Provides a threshold by which to sharpen an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/noise-reduction/nrs)
"""
nrs: IntType
"""
Orientation
Changes the image orientation.
[Open Imgix reference »](https://docs.imgix.com/apis/url/rotation/orient)
"""
orient: IntType
"""
Padding
Pads an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/border-and-padding/pad)
"""
pad: IntType
"""
Pdf Page Number
Selects a page from a PDF for display.
[Open Imgix reference »](https://docs.imgix.com/apis/url/pdf-page-number)
"""
page: IntType
"""
Color Palette Extraction
Specifies an output format for palette-extraction.
[Open Imgix reference »](https://docs.imgix.com/apis/url/color-palette/palette)
"""
palette: ImgixParamsPalette
"""
Css Prefix
Specifies a CSS prefix for all classes in palette-extraction.
Depends on: `palette=css`
[Open Imgix reference »](https://docs.imgix.com/apis/url/color-palette/prefix)
"""
prefix: String
"""
Pixellate
Applies a pixelation effect to an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/stylize/px)
"""
px: IntType
"""
Output Quality
Adjusts the quality of an output image.
Depends on: `fm=jpg`, `fm=pjpg`, `fm=webp`, `fm=jxr`
[Open Imgix reference »](https://docs.imgix.com/apis/url/format/q)
"""
q: IntType
"""
Source Rectangle Region
Crops an image to a specified rectangle.
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/rect)
"""
rect: String
"""
Rotation
Rotates an image by a specified number of degrees.
[Open Imgix reference »](https://docs.imgix.com/apis/url/rotation/rot)
"""
rot: FloatType
"""
Saturation
Adjusts the saturation of an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/sat)
"""
sat: IntType
"""
Sepia Tone
Applies a sepia effect to an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/stylize/sepia)
"""
sepia: IntType
"""
Shadow
Adjusts the highlights of the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/shad)
"""
shad: FloatType
"""
Sharpen
Adjusts the sharpness of the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/sharp)
"""
sharp: FloatType
"""
Trim Image
Trims the source image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/trim/trim)
"""
trim: ImgixParamsTrim
"""
Trim Color
Specifies a trim color on a trim operation.
Depends on: `trim=color`
[Open Imgix reference »](https://docs.imgix.com/apis/url/trim/trim-color)
"""
trimColor: String
"""
Trim Mean Difference
Specifies the mean difference on a trim operation.
Depends on: `trim=auto`
[Open Imgix reference »](https://docs.imgix.com/apis/url/trim/trim-md)
"""
trimMd: FloatType
"""
Trim Padding
Pads the area of the source image before trimming.
Depends on: `trim`
[Open Imgix reference »](https://docs.imgix.com/apis/url/trim/trim-pad)
"""
trimPad: IntType
"""
Trim Standard Deviation
Specifies the standard deviation on a trim operation.
Depends on: `trim=auto`
[Open Imgix reference »](https://docs.imgix.com/apis/url/trim/trim-sd)
"""
trimSd: FloatType
"""
Trim Tolerance
Specifies the tolerance on a trim operation.
Depends on: `trim=color`
[Open Imgix reference »](https://docs.imgix.com/apis/url/trim/trim-tol)
"""
trimTol: FloatType
"""
Text String
Sets the text string to render.
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt)
"""
txt: String
"""
Text Align
Sets the vertical and horizontal alignment of rendered text relative to the base image.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-align)
"""
txtAlign: [ImgixParamsTxtAlign!]
"""
Text Clipping Mode
Sets the clipping properties of rendered text.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-clip)
"""
txtClip: [ImgixParamsTxtClip!]
"""
Text Color
Specifies the color of rendered text.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-color)
"""
txtColor: String
"""
Text Fit Mode
Specifies the fit approach for rendered text.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-fit)
"""
txtFit: ImgixParamsTxtFit
"""
Text Font
Selects a font for rendered text.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-font)
"""
txtFont: String
"""
Text Leading
Sets the leading (line spacing) for rendered text. Only works on the multi-line text endpoint.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/typesetting/txt-lead)
"""
txtLead: IntType
"""
Text Ligatures
Controls the level of ligature substitution
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-lig)
"""
txtLig: IntType
"""
Text Outline
Outlines the rendered text with a specified color.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-line)
"""
txtLine: IntType
"""
Text Outline Color
Specifies a text outline color.
Depends on: `txt`, `txtline`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-line-color)
"""
txtLineColor: String
"""
Text Padding
Specifies the padding (in device-independent pixels) between a textbox and the edges of the base image.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-pad)
"""
txtPad: IntType
"""
Text Shadow
Applies a shadow to rendered text.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-shad)
"""
txtShad: FloatType
"""
Text Font Size
Sets the font size of rendered text.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-size)
"""
txtSize: IntType
"""
Text Tracking
Sets the tracking (letter spacing) for rendered text. Only works on the multi-line text endpoint.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/typesetting/txt-track)
"""
txtTrack: IntType
"""
Text Width
Sets the width of rendered text.
Depends on: `txt`
[Open Imgix reference »](https://docs.imgix.com/apis/url/text/txt-width)
"""
txtWidth: IntType
"""
Unsharp Mask
Sharpens the source image using an unsharp mask.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/usm)
"""
usm: IntType
"""
Unsharp Mask Radius
Specifies the radius for an unsharp mask operation.
Depends on: `usm`
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/usmrad)
"""
usmrad: FloatType
"""
Vibrance
Adjusts the vibrance of an image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/adjustment/vib)
"""
vib: IntType
"""
Image Width
Adjusts the width of the output image.
[Open Imgix reference »](https://docs.imgix.com/apis/url/size/w)
"""
w: FloatType
}
"Specifies how to filter by usage"
input InUseFilter {
"Search uploads that are currently used by some record or not"
eq: BooleanType
}
"Specifies how to filter by ID"
input ItemIdFilter {
"Search the record with the specified ID"
eq: ItemId
"Search records with the specified IDs"
in: [ItemId]
"Exclude the record with the specified ID"
neq: ItemId
"Search records that do not have the specified IDs"
notIn: [ItemId]
}
input NewsModelFilter {
OR: [NewsModelFilter]
_createdAt: DateTimeFilter
_firstPublishedAt: DateTimeFilter
_isValid: BooleanFilter
_publicationScheduledAt: DateTimeFilter
_publishedAt: DateTimeFilter
_status: StatusFilter
_updatedAt: DateTimeFilter
content: TextFilter
createdAt: DateTimeFilter
date: DateTimeFilter
id: ItemIdFilter
position: PositionFilter
title: StringFilter
updatedAt: DateTimeFilter
}
"Specifies how to filter by image orientation"
input OrientationFilter {
"Search uploads with the specified orientation"
eq: UploadOrientation
"Exclude uploads with the specified orientation"
neq: UploadOrientation
}
input PageModelFilter {
OR: [PageModelFilter]
_createdAt: DateTimeFilter
_firstPublishedAt: DateTimeFilter
_isValid: BooleanFilter
_publicationScheduledAt: DateTimeFilter
_publishedAt: DateTimeFilter
_status: StatusFilter
_updatedAt: DateTimeFilter
content: TextFilter
createdAt: DateTimeFilter
displayInMenu: BooleanFilter
id: ItemIdFilter
position: PositionFilter
slug: StringFilter
title: StringFilter
updatedAt: DateTimeFilter
}
"Specifies how to filter by position (sorted and tree-like collections)"
input PositionFilter {
"Search for records with an exact match"
eq: IntType
"Filter records with a value that's strictly greater than the one specified"
gt: IntType
"Filter records with a value that's greater than or equal to the one specified"
gte: IntType
"Filter records with a value that's less than the one specified"
lt: IntType
"Filter records with a value that's less or equal than the one specified"
lte: IntType
"Exclude records with an exact match"
neq: IntType
}
"Specifies how to filter by upload type"
input ResolutionFilter {
"Search uploads with the specified type"
eq: ResolutionType
"Search uploads with the specified types"
in: [ResolutionType]
"Exclude uploads with the specified type"
neq: ResolutionType
"Search uploads without the specified types"
notIn: [ResolutionType]
}
input SlideModelFilter {
OR: [SlideModelFilter]
_createdAt: DateTimeFilter
_firstPublishedAt: DateTimeFilter
_isValid: BooleanFilter
_publicationScheduledAt: DateTimeFilter
_publishedAt: DateTimeFilter
_status: StatusFilter
_updatedAt: DateTimeFilter
createdAt: DateTimeFilter
id: ItemIdFilter
image: FileFilter
position: PositionFilter
updatedAt: DateTimeFilter
}
"Specifies how to filter by status"
input StatusFilter {
"Search the record with the specified status"
eq: ItemStatus
"Search records with the specified statuses"
in: [ItemStatus]
"Exclude the record with the specified status"
neq: ItemStatus
"Search records without the specified statuses"
notIn: [ItemStatus]
}
"Specifies how to filter Single-line string fields"
input StringFilter {
"Search for records with an exact match"
eq: String
"Filter records with the specified field defined (i.e. with any value) or not"
exists: BooleanType
"Filter records that equal one of the specified values"
in: [String]
"Filter records based on a regular expression"
matches: StringMatchesFilter
"Exclude records with an exact match"
neq: String
"Filter records that do not equal one of the specified values"
notIn: [String]
"Exclude records based on a regular expression"
notMatches: StringMatchesFilter
}
input StringMatchesFilter {
caseSensitive: BooleanType = false
pattern: String!
regexp: BooleanType = true
}
"Specifies how to filter text fields"
input TextFilter {
"Filter records with the specified field defined (i.e. with any value) or not"
exists: BooleanType
"Filter records based on a regular expression"
matches: StringMatchesFilter
"Exclude records based on a regular expression"
notMatches: StringMatchesFilter
}
"Specifies how to filter by upload type"
input TypeFilter {
"Search uploads with the specified type"
eq: UploadType
"Search uploads with the specified types"
in: [UploadType]
"Exclude uploads with the specified type"
neq: UploadType
"Search uploads without the specified types"
notIn: [UploadType]
}
"Specifies how to filter by default alt"
input UploadAltFilter {
"Search the asset with the specified alt"
eq: String
"Search assets with the specified values as default alt"
in: [String]
"Filter uploads based on a regular expression"
matches: StringMatchesFilter
"Exclude the asset with the specified alt"
neq: String
"Search assets that do not have the specified values as default alt"
notIn: [String]
"Exclude uploads based on a regular expression"
notMatches: StringMatchesFilter
}
"Specifies how to filter by auhtor"
input UploadAuthorFilter {
"Filter records with the specified field defined (i.e. with any value) or not"
exists: BooleanType
"Filter uploads based on a regular expression"
matches: StringMatchesFilter
"Exclude uploads based on a regular expression"
notMatches: StringMatchesFilter
}
"Specifies how to filter by basename"
input UploadBasenameFilter {
"Filter uploads based on a regular expression"
matches: StringMatchesFilter
"Exclude uploads based on a regular expression"
notMatches: StringMatchesFilter
}
"Specifies how to filter by colors"
input UploadColorsFilter {
"Filter uploads that have all of the specified colors"
allIn: [ColorBucketType]
"Filter uploads that have at least one of the specified colors"
anyIn: [ColorBucketType]
"Filter uploads that have the specified colors"
contains: ColorBucketType
"Search for uploads with an exact match"
eq: [ColorBucketType]
"Filter uploads that do not have any of the specified colors"
notIn: [ColorBucketType]
}
"Specifies how to filter by copyright"
input UploadCopyrightFilter {
"Filter records with the specified field defined (i.e. with any value) or not"
exists: BooleanType
"Filter uploads based on a regular expression"
matches: StringMatchesFilter
"Exclude uploads based on a regular expression"
notMatches: StringMatchesFilter
}
"Specifies how to filter for date of creation"
input UploadCreatedAtFilter {
"Search for uploads with an exact match"
eq: DateTime
"Filter uploads with a value that's strictly greater than the one specified"
gt: DateTime
"Filter uploads with a value that's greater than or equal to the one specified"
gte: DateTime
"Filter uploads with a value that's less than the one specified"
lt: DateTime
"Filter uploads with a value that's less or equal than the one specified"
lte: DateTime
"Exclude uploads with an exact match"
neq: DateTime
}
"Specifies how to filter by filename"
input UploadFilenameFilter {
"Filter uploads based on a regular expression"
matches: StringMatchesFilter
"Exclude uploads based on a regular expression"
notMatches: StringMatchesFilter
}
input UploadFilter {
OR: [UploadFilter]
_createdAt: UploadCreatedAtFilter
_updatedAt: UploadUpdatedAtFilter
alt: UploadAltFilter
author: UploadAuthorFilter
basename: UploadBasenameFilter
colors: UploadColorsFilter
copyright: UploadCopyrightFilter
filename: UploadFilenameFilter
format: UploadFormatFilter
height: UploadHeightFilter
id: UploadIdFilter
inUse: InUseFilter
mimeType: UploadMimeTypeFilter
notes: UploadNotesFilter
orientation: OrientationFilter
resolution: ResolutionFilter
size: UploadSizeFilter
smartTags: UploadTagsFilter
tags: UploadTagsFilter
title: UploadTitleFilter
type: TypeFilter
width: UploadWidthFilter
}
"Specifies how to filter by format"
input UploadFormatFilter {
"Search the asset with the specified format"
eq: String
"Search assets with the specified formats"
in: [String]
"Exclude the asset with the specified format"
neq: String
"Search assets that do not have the specified formats"
notIn: [String]
}
"Specifies how to filter by height"
input UploadHeightFilter {
"Search assets with the specified height"
eq: IntType
"Search all assets larger than the specified height"
gt: IntType
"Search all assets larger or equal to the specified height"
gte: [IntType]
"Search all assets smaller than the specified height"
lt: IntType
"Search all assets larger or equal to the specified height"
lte: [IntType]
"Search assets that do not have the specified height"
neq: IntType
}
"Specifies how to filter by ID"
input UploadIdFilter {
"Search the asset with the specified ID"
eq: UploadId
"Search assets with the specified IDs"
in: [UploadId]
"Exclude the asset with the specified ID"
neq: UploadId
"Search assets that do not have the specified IDs"
notIn: [UploadId]
}
"Specifies how to filter by mime type"
input UploadMimeTypeFilter {
"Search the asset with the specified mime type"
eq: String
"Search assets with the specified mime types"
in: [String]
"Filter uploads based on a regular expression"
matches: StringMatchesFilter
"Exclude the asset with the specified mime type"
neq: String
"Search assets that do not have the specified mime types"
notIn: [String]
"Exclude uploads based on a regular expression"
notMatches: StringMatchesFilter
}
"Specifies how to filter by notes"
input UploadNotesFilter {
"Filter records with the specified field defined (i.e. with any value) or not"
exists: BooleanType
"Filter uploads based on a regular expression"
matches: StringMatchesFilter
"Exclude uploads based on a regular expression"
notMatches: StringMatchesFilter
}
"Specifies how to filter by size"
input UploadSizeFilter {
"Search assets with the specified size"
eq: IntType
"Search all assets larger than the specified size"
gt: IntType
"Search all assets larger or equal to the specified size"
gte: [IntType]
"Search all assets smaller than the specified size"
lt: IntType
"Search all assets larger or equal to the specified size"
lte: [IntType]
"Search assets that do not have the specified size"
neq: IntType
}
"Specifies how to filter by tags"
input UploadTagsFilter {
"Filter uploads linked to all of the specified tags"
allIn: [String]
"Filter uploads linked to at least one of the specified tags"
anyIn: [String]
"Filter uploads linked to the specified tag"
contains: String
"Search for uploads with an exact match"
eq: [String]
"Filter uploads not linked to any of the specified tags"
notIn: [String]
}
"Specifies how to filter by default title"
input UploadTitleFilter {
"Search the asset with the specified title"
eq: String
"Search assets with the specified as default title"
in: [String]
"Filter uploads based on a regular expression"
matches: StringMatchesFilter
"Exclude the asset with the specified title"
neq: String
"Search assets that do not have the specified as default title"
notIn: [String]
"Exclude uploads based on a regular expression"
notMatches: StringMatchesFilter
}
"Specifies how to filter for date of creation"
input UploadUpdatedAtFilter {
"Search for uploads with an exact match"
eq: DateTime
"Filter uploads with a value that's strictly greater than the one specified"
gt: DateTime
"Filter uploads with a value that's greater than or equal to the one specified"
gte: DateTime
"Filter uploads with a value that's less than the one specified"
lt: DateTime
"Filter uploads with a value that's less or equal than the one specified"
lte: DateTime
"Exclude uploads with an exact match"
neq: DateTime
}
"Specifies how to filter by width"
input UploadWidthFilter {
"Search assets with the specified width"
eq: IntType
"Search all assets larger than the specified width"
gt: IntType
"Search all assets larger or equal to the specified width"
gte: [IntType]
"Search all assets smaller than the specified width"
lt: IntType
"Search all assets larger or equal to the specified width"
lte: [IntType]
"Search assets that do not have the specified width"
neq: IntType
}
scalar DateTime
scalar ItemId
"Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1."
scalar IntType
scalar MetaTagAttributes
"Represents `true` or `false` values."
scalar BooleanType
scalar UploadId
scalar CustomData
"Represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point)."
scalar FloatType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment