mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-10 18:09:39 +00:00
29 lines
440 B
GraphQL
29 lines
440 B
GraphQL
|
fragment LogEntry on LogEntry {
|
||
|
message
|
||
|
timestamp
|
||
|
priority
|
||
|
systemdUnit
|
||
|
systemdSlice
|
||
|
cursor
|
||
|
}
|
||
|
|
||
|
query Logs($limit: Int!, $upCursor: String, $downCursor: String) {
|
||
|
logs {
|
||
|
paginated(limit: $limit, upCursor: $upCursor, downCursor: $downCursor) {
|
||
|
pageMeta {
|
||
|
upCursor
|
||
|
downCursor
|
||
|
}
|
||
|
entries {
|
||
|
...LogEntry
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
subscription LogEntries {
|
||
|
logEntries {
|
||
|
...LogEntry
|
||
|
}
|
||
|
}
|