IBM DataPower Operations Dashboard v1.0.22.x

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

In this page:


GET Retrieve all Reports

Get Gateway By Name:

curl -X POST \
  https://<IP>:443/op/api/v1/gateways/getByName \
  -H 'Authorization: Basic YWRtaW46YWRtaW51c2Vy' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -d '{
    "name": "datapower1-7dc474c48c-chtpg"
}'
Result example: 
{
    "result": {
        "host": "172.17.100.100",
        "id": 103,
        "isDeviceResourcesMonitored": true,
        "isServiceResourcesMonitored": true,
        "logTargetSourceAddress": "192.168.226.229",
        "name": "datapower1-7dc474c48c-chtpg",
        "somaPort": 5550,
        "somaUserName": "admin"
    },
    "resultCode": "SUCCESS"
}


Update Gateway:

curl -X PUT \
  https://<IP>:443/op/api/v1/gateway/<ID> \
  -H 'Authorization: Basic YWRtaW46YWRtaW51c2Vy' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -d '{
    "name": "datapower1-7dc474c48c-chtpg",
    "host": "172.17.100.100",
    "somaPort": "5550",
    "somaUserName": "admin",
    "somaPassword": "admin",
    "logTargetSourceAddress": "192.168.226.229",
    "isDeviceResourcesMonitored": "true",
    "isServiceResourcesMonitored": "true",
    "reSetupSyslogForDevice": "true",
    "reSetupSyslogForAllDomains": "false",
    "reSetupWsmForDevice": "false",
    "reSetupWsmForAllDomains": "false"
}'
The following fields are mandatory: reSetupSyslogForDevice/reSetupSyslogForAllDomains/reSetupWsmForDevice/reSetupWsmForAllDomains
Result example: 
{
   "result": {
        "id": 103
    },
  "resultCode": "SUCCESS"
}


  • No labels