selfprivacy.org.app/lib/logic/api_maps/graphql_maps/schema/logs.graphql
2024-07-29 19:38:40 +03:00

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
}
}