selfprivacy.org.app/lib/logic/api_maps/graphql_maps/schema/logs.graphql

29 lines
495 B
GraphQL
Raw Normal View History

2024-07-24 14:22:12 +00:00
fragment LogEntry on LogEntry {
message
timestamp
priority
systemdUnit
systemdSlice
cursor
}
query Logs($limit: Int!, $upCursor: String, $downCursor: String, $filterBySlice: String) {
2024-07-24 14:22:12 +00:00
logs {
paginated(limit: $limit, upCursor: $upCursor, downCursor: $downCursor, filterBySlice: $filterBySlice) {
2024-07-24 14:22:12 +00:00
pageMeta {
upCursor
downCursor
}
entries {
...LogEntry
}
}
}
}
subscription LogEntries {
logEntries {
...LogEntry
}
}