Skip to content

Instantly share code, notes, and snippets.

@tischsoic
Created July 18, 2019 08:37
Show Gist options
  • Save tischsoic/87db6052537e6311244c59556be9ca43 to your computer and use it in GitHub Desktop.
Save tischsoic/87db6052537e6311244c59556be9ca43 to your computer and use it in GitHub Desktop.
{
_repository {
location(locationId: 2) {
pathString
children {
edges {
node {
id # 10) Location ID
remoteId # Location remote ID
invisible # 2) Visibility ??
hidden # 2) Visibility ??
priority # priority
content {
id # 11) Object ID
name
currentVersion {
creator {
name
}
modificationDate {
timestamp
}
}
# remoteId # Object remote ID
# currentVersionNo # needed to get current version
# section {
# name # 9) Section
# }
# publishedDate {
# timestamp # 7) Publication date
# }
# modificationDate {
# timestamp # 6) Modification date
# }
# versions { # we only need current version, can we get only this one?
# versionNumber
# creatorId # ???
# languageCodes # 8) lang codes for Translations
# }
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment