themes
De thema's waaruit gekozen kan worden.
Soort · query
Geeft terug · ThemeConnection! — ThemeConnection
Argumenten
- Name
first- Type
- Int
- Description
Hoeveel thema's je wilt, van voren af. Tussen 1 en 250. Zie Int.
- Name
after- Type
- String
- Description
Lees verder na deze cursor; de
endCursorvan de vorige pagina. Zie String.
- Name
last- Type
- Int
- Description
Hoeveel thema's je wilt, van achteren af. Tussen 1 en 250. Zie Int.
- Name
before- Type
- String
- Description
Lees terug vóór deze cursor. Zie String.
Voorbeeld
Request
QUERY
themesquery Themes($first: Int, $after: String, $last: Int, $before: String) {
themes(first: $first, after: $after, last: $last, before: $before) {
edges {
cursor
node {
id
legacyResourceId
title
handle
description
images {
url
altText
}
videos {
url
}
demoUrl
}
}
nodes {
id
legacyResourceId
title
handle
description
images {
url
altText
}
videos {
url
}
demoUrl
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}
Dit voorbeeld vraagt elk veld op dat zonder argumenten kan. Vraag in de praktijk alleen op wat je gebruikt: wat je niet opvraagt halen wij ook niet op, en het scheelt punten.