selfprivacy.org.app/lib/logic/api_maps/graphql_maps/schema/logs.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
}
}