59 lines
1.2 KiB
GraphQL
59 lines
1.2 KiB
GraphQL
query getWikiPagesPreviews($language_code: String) {
|
|
wikiPages(pagination: { limit: -1 }) {
|
|
data {
|
|
id
|
|
attributes {
|
|
slug
|
|
thumbnail {
|
|
data {
|
|
attributes {
|
|
...uploadImage
|
|
}
|
|
}
|
|
}
|
|
categories(pagination: { limit: -1 }) {
|
|
data {
|
|
id
|
|
attributes {
|
|
name
|
|
short
|
|
}
|
|
}
|
|
}
|
|
tags(pagination: { limit: -1 }) {
|
|
data {
|
|
id
|
|
attributes {
|
|
slug
|
|
titles(filters: { language: { code: { eq: $language_code } } }) {
|
|
language {
|
|
data {
|
|
attributes {
|
|
code
|
|
}
|
|
}
|
|
}
|
|
title
|
|
}
|
|
}
|
|
}
|
|
}
|
|
translations(pagination: { limit: -1 }) {
|
|
title
|
|
aliases(pagination: { limit: -1 }) {
|
|
alias
|
|
}
|
|
summary
|
|
language {
|
|
data {
|
|
attributes {
|
|
code
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|