Account Settings
Method URL | http://<mwsd_container_url>:<mwsd_port>/mwsd/v1/accountsetting/create |
HTTP Method | POST |
Content Type | application/json |
Request Arguments
Required Arguments | Data Type | How To Use |
---|---|---|
NONE | There are no required parameters for this API. Passing an empty JSON object '{}' returns the current account settings |
Optional Arguments | Data Type | How To Use |
---|---|---|
incident_sensitivity | string | Using in creating incidents - values “low”, “medium”, “high” with high creating more incidents. |
refractory_period | string | Using in creating incidents - values “tenMin”, “oneDay”, “oneWeek” with tenMin creating more incidents |
(other values) | Not supported at this time. |
Example Request Payload
{
"refractory_period": "tenMin",
"incident_sensitivity": "low"
}
Example Response Payload
{
"data": [
{
"account": "alan",
"bake_type": "",
"incident_sensitivity": "low",
"k8s_mute": false,
"modify_user_name": "Zebrium",
"refractory_period": "tenMin",
"refractory_period_sec": 0,
"repeating_mute": false,
"slack_webhook": "",
"time_format": "",
"time_zone": "-08:00",
"time_zone_name": "America/Los_Angeles",
"ts": "2021-04-30T00:06:43.854674Z"
}
],
"error": {
"code": 200,
"data": null,
"message": ""
},
"op": "create",
"softwareRelease": "20210429164728"
}