Skip to content

Instantly share code, notes, and snippets.

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