Skip to content

Instantly share code, notes, and snippets.

@tischsoic
Created July 19, 2019 09:01
Show Gist options
  • Save tischsoic/21cb7d38a3918578cf7b16d1b7e83280 to your computer and use it in GitHub Desktop.
Save tischsoic/21cb7d38a3918578cf7b16d1b7e83280 to your computer and use it in GitHub Desktop.
{
_repository {
location(locationId: 73) {
pathString
children(sortBy: [_name, _desc], first:3) {
pageInfo {
hasNextPage
endCursor
}
edges {
node {
id # 10) Location ID
remoteId # Location remote ID
invisible # 2) Visibility ??
hidden # 2) Visibility ??
priority # priority
content {
id # 11) Object ID
name # 1) Name
currentVersion {
creator {
name # 4) Creator
}
languageCodes # 8) lang codes for Translations
}
contentType {
name # 3) Type
}
remoteId # Object remote ID
currentVersionNo # needed to get current version
section {
name # 9) Section
}
publishedDate {
timestamp # 7) Publication date
}
modificationDate {
timestamp # 6) Modification date
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment