You can use the IBM® App Connect Enterprise administration REST API to
display the Trace node properties of an integration server.
Before you begin
Read the following topics:
Procedure
You can use the following REST API method to view the Trace node properties of an
integration server.
-
For an independent integration server:
GET http://hostname:port/apiv2/trace/trace-nodes
For example, use the following curl
command:
curl -X GET http://hostname:port/apiv2/trace/trace-nodes
A response similar to the following is
returned:
{
"hasChildren": false,
"name": "trace-nodes",
"type": "traceNodes",
"uri": "/apiv2/trace/trace-nodes",
"properties": {
"enabled": true,
"identifier": "user-trace",
"name": "user-trace",
"type": "userTrace"
},
"descriptiveProperties": {},
"active": {
"enabled": true
},
"actions": {},
"children": {},
"links": []
}
-
For an integration server that is managed by an integration node:
GET http://hostname:port/apiv2/servers/integrationServerName/trace/trace-nodes
For example, use the following curl command to get user trace details of integration server
ACESERV1:
curl -X GET http://hostname:port/apiv2/servers/ACESERV1/trace/trace-nodes
A response similar to the following is
returned:
{
"hasChildren": false,
"name": "trace-nodes",
"type": "traceNodes",
"uri": "/apiv2/servers/ACESERV1/trace/trace-nodes",
"properties": {
"enabled": false,
"identifier": "user-trace",
"name": "user-trace",
"type": "userTrace"
},
"descriptiveProperties": {},
"active": {
"enabled": true
},
"actions": {},
"children": {},
"links": []
}