A simple, universal public Statuspage.
https://status.sp-codes.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
345 B
21 lines
345 B
2 years ago
|
export type State = 'operational' | 'outage' | 'maintenance'; // ok, alerting, paused
|
||
|
|
||
|
export interface ApiResponse {
|
||
|
state: State;
|
||
|
groups: Group[];
|
||
|
}
|
||
|
|
||
|
export interface Group {
|
||
|
id: string;
|
||
|
name: string;
|
||
|
state: State;
|
||
|
services: Service[];
|
||
|
}
|
||
|
|
||
|
export interface Service {
|
||
|
id: string;
|
||
|
name: string;
|
||
|
url: string;
|
||
|
state: State;
|
||
|
}
|