| Version 12 (modified by jano.simas, 9 years ago) (diff) |
|---|
Alert
JSon
Estrutura base do formato de transferencia de um Alert.
{
"class" : "Alert",
"id" : INT,
"project_id" : INT,
"service_instance_id" : INT,
"active" : BOOL,
"name" : STRING,
"description" : STRING,
"schedule" : SCHEDULE,
"filter" : FILTER,
"additional_data" : [ {
"dataseries_id": INT,
"dataset_id": INT,
"referrer_attribute": STRING,
"referred_attribute": STRING,
"attributes": [ STRING,
...
]
},
...
],
"report_metadata": {
"title": STRING,
"abstract": STRING,
"description": STRING,
"author": STRING,
"contact": STRING,
"copyright": STRING,
"timestamp_format": STRING,
"logo_path": STRING
},
"risk_attribute" : STRING,
"risk" : {
"name": STRING,
"levels": [ {
"name": STRING,
"value": NUMBER
},
...
]
},
"notifications": [ {
"include_report": BOOL,
"notify_on_change": BOOL,
"simplified_report": BOOL,
"notify_on_risk_level": UINT,
"recipients": [ STRING,
...
]
},
...
]
}
