IBM DataPower Operations Dashboard v1.0.6.0

A newer version of this product documentation is available.

You are viewing an older version. View latest at IBM DPOD Documentation.

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 2 Next »


Add syslog agent:

POST /op/api/v1/agents/syslog?name=newAgent&host=someHost&port=1234&nodeName=N001&keepalive=true
{
  "resultCode": "OK"
}

error:
{
  "resultCode": "ERROR",
  "resultMessage": "Error - Name field is empty or null"
}


Add wsm agent:
POST /op/api/v1/agents/wsm?name=newWsmAgent&host=someHost&port=1234&nodeName=N001&keepalive=true
{
  "resultCode": "OK"
}

error:
{
  "resultCode": "ERROR",
  "resultMessage": "Error - node not found"
}


Delete syslog agent:
DELETE /op/api/v1/agent/syslog/someAgentName
{
  "resultCode": "OK"
}

error:
{
  "resultCode": "ERROR",
  "resultMessage": "Error - No Agents found with the name newAgent2"
}


Delete wsm agent:
DELETE /op/api/v1/agent/wsm/someAgentName
{
  "resultCode": "OK"
}

error:
{
  "resultCode": "ERROR",
  "resultMessage": "Error - No Agents found with the name newWsmAgent1"
}

  • No labels