Skip to content

Instantly share code, notes, and snippets.

@tischsoic
Created July 17, 2019 09:34
Show Gist options
  • Save tischsoic/b5245053abe3cb646efedc5b78098d5c to your computer and use it in GitHub Desktop.
Save tischsoic/b5245053abe3cb646efedc5b78098d5c to your computer and use it in GitHub Desktop.
{
content {
articles {
edges {
node {
_name # 1) Name
_location {
id # 10) Location ID
remoteId # Location remote ID
invisible # 2) Visibility ??
hidden # 2) Visibility ??
priority # priority
}
_info {
id # 11) Object ID
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
}
}
image {
_url # needed for thumbnail
}
_type {
name # 3) Type
identifier # needed to get content type icon
}
}
}
}
}
}
# 1) Name (+)
# 2) Visibility (?)
# 3) Type (+)
# 4) Creator (-) -- creatorId from versions?
# 5) Contributor (-)
# 6) Modification date (+)
# 7) Publication date (+)
# 8) Translations (+)
# 9) Section (+)
# 10) Location ID (+)
# 11) Object ID (?) what is it? Is it a content ID?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment