mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-14 04:33:16 +00:00
29 lines
495 B
GraphQL
29 lines
495 B
GraphQL
fragment LogEntry on LogEntry {
|
|
message
|
|
timestamp
|
|
priority
|
|
systemdUnit
|
|
systemdSlice
|
|
cursor
|
|
}
|
|
|
|
query Logs($limit: Int!, $upCursor: String, $downCursor: String, $filterBySlice: String) {
|
|
logs {
|
|
paginated(limit: $limit, upCursor: $upCursor, downCursor: $downCursor, filterBySlice: $filterBySlice) {
|
|
pageMeta {
|
|
upCursor
|
|
downCursor
|
|
}
|
|
entries {
|
|
...LogEntry
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
subscription LogEntries {
|
|
logEntries {
|
|
...LogEntry
|
|
}
|
|
}
|