Query
query ConversionPresets {
conversionPresets {
edges {
cursor
node {
createdAt
displayName
id
parameters {
__typename
}
presetId
updatedAt
}
}
nodes {
createdAt
displayName
id
parameters {
aspectRatio
background
mode
outputFormat
paddingPercent
quality
}
presetId
updatedAt
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"conversionPresets": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"displayName": "string",
"id": "id",
"parameters": {
"__typename": "ConversionParameters"
},
"presetId": "string",
"updatedAt": "value"
}
}
],
"nodes": [
{
"createdAt": "value",
"displayName": "string",
"id": "id",
"parameters": {
"aspectRatio": "string",
"background": "string",
"mode": "FIT",
"outputFormat": "JPG",
"paddingPercent": 1,
"quality": 1
},
"presetId": "string",
"updatedAt": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
conversionPresets
Lists the tenant’s conversion presets, without deleted ones. They’re sorted by order, then by raw id (presetId), or by raw id alone when order is left out.
QUERY
conversionPresets(after: String, before: String, first: Int, last: Int, order: [ConversionPresetSortInput!], where: ConversionPresetFilterInput): ConversionPresetsConnectionArguments
after
String
Returns the elements in the list that come after the specified cursor.
before
String
Returns the elements in the list that come before the specified cursor.
first
Int
Returns the first n elements from the list.
last
Int
Returns the last n elements from the list.
order
Returns
edges
A list of edges.
nodes
A flattened list of the nodes.
pageInfo
Information to aid in pagination.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query ConversionPresets {
conversionPresets {
edges {
cursor
node {
createdAt
displayName
id
parameters {
__typename
}
presetId
updatedAt
}
}
nodes {
createdAt
displayName
id
parameters {
aspectRatio
background
mode
outputFormat
paddingPercent
quality
}
presetId
updatedAt
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"conversionPresets": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"displayName": "string",
"id": "id",
"parameters": {
"__typename": "ConversionParameters"
},
"presetId": "string",
"updatedAt": "value"
}
}
],
"nodes": [
{
"createdAt": "value",
"displayName": "string",
"id": "id",
"parameters": {
"aspectRatio": "string",
"background": "string",
"mode": "FIT",
"outputFormat": "JPG",
"paddingPercent": 1,
"quality": 1
},
"presetId": "string",
"updatedAt": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?