- Hardlink
- Link
- Page
- Snippet
- Areablock
- Checkbox
- Date
- Embed
- Image
- Input
- Link
- Multiselect
- Numeric
- Relation
- Relations
- Scheduled Block
- Select
- Table
- Textarea
- Video
- Wysiwyg
- ...
{
getDocument(id: 25) {
... on document_page {
fullpath
editables {
...on document_editableDate {
_editableName
# unix timestamp
timestamp
# as formatted string
formatted(format:"Y-m-d")
}
}
}
}
}
- get data object ID 61
- get many-to-one relation
- get target page document
- get link editable
- get referenced page document / or news object
- get input editables of referenced page document / or shorttext of news object
{
getTest3(id: 61) {
manytoone {
... on document_page {
fullpath
editables {
... on document_editableLink {
_editableType
_editableName
data {
internal
path
target {
__typename
... on document_page {
id
fullpath
editables {
... on document_editableInput {
name
text
}
}
}
... on object_news {
shortText
}
}
}
}
}
}
}
}
}
Get Link Document and resolve the target news text.
{
getDocument(id: 76) {
... on document_link {
fullpath
object {
...on object_news {
shortText
}
}
}
}
}