55 lines
783 B
GraphQL
55 lines
783 B
GraphQL
query ShowThreadQuery($threadId: String!) {
|
|
thread(threadId: $threadId) {
|
|
threadId,
|
|
subject
|
|
messages {
|
|
id
|
|
subject
|
|
tags
|
|
from {
|
|
name
|
|
addr
|
|
}
|
|
to {
|
|
name
|
|
addr
|
|
}
|
|
cc {
|
|
name
|
|
addr
|
|
}
|
|
timestamp
|
|
body {
|
|
__typename
|
|
... on UnhandledContentType {
|
|
contents
|
|
contentTree
|
|
}
|
|
... on PlainText {
|
|
contents
|
|
contentTree
|
|
}
|
|
... on Html {
|
|
contents
|
|
contentTree
|
|
}
|
|
}
|
|
path
|
|
attachments {
|
|
id
|
|
idx
|
|
filename
|
|
contentType
|
|
contentId
|
|
size
|
|
}
|
|
}
|
|
}
|
|
tags {
|
|
name
|
|
bgColor
|
|
fgColor
|
|
unread
|
|
}
|
|
}
|