Create Channel
Method URL | http://<report_container_url>:<container_port>/report/v1/inbound_channel.update |
HTTP Method | POST |
Content Type | application/json |
Request Arguments
Required Arguments | Data Type | How To Use |
id | string | Id of channel from list channels |
Optional Arguments | Data Type | How To Use | |
auth_password | string | Password used to update source of integration (e.g. incident in PagerDuty) with Root Cause Analysis report | |
auth_username | string | User Name used to update source of integration (e.g. incident in PagerDuty) with Root Cause Analysis report | |
customer | string | Customer to associate this channel to | |
deployments | string | Comma separated list of deployments associated with this channel | |
enabled | boolean | Enable or disable this integration | |
integration | string | Can be one of: appdynamics, pagerduty, opsgenie, victorops | None |
region | string | Used for OpsGenie and can be US or EU | |
Example Request Payload
{
"id": "cc6dc571-4da1-4477-a94d-848ba9a0e848",
"enabled": false
}
Example Response Payload
NOTE: webhook contains the URL you will use in your integration to communicate with Zebrium to request a RCA Report.
{
"data": {
"auth_password": "mypasswd",
"auth_username": "myuser",
"create_time": "2021-06-30 19:06:23.494928",
"create_user_id": "eae3daf8-a5bf-406c-ac4e-1e3bea2b043c",
"customer": ""acme"",
"deployments": "acme_trial",
"enabled": false,
"id": "cc6dc571-4da1-4477-a94d-848ba9a0e848",
"integration": "pagerduty",
"modify_time": "2021-06-30 19:06:23.494928",
"modify_user_id": "eae3daf8-a5bf-406c-ac4e-1e3bea2b043c",
"region": "US",
"siid": "cf6a6c67-53b1-4f44-8cb0-8a6e1b7243fd",
"token": "2F2524443CEA02FGE45D22FFB800E715BC71FC45"
"webhook": "http://delta.gcloud.ops.zebrium.com/api/v2/signal/2F2524443CEA02FGE45D22FFB800E715BC71FC45"
},
"error": {
"code": 200,
"message": "200 OK"
}
}