Viewing endpoints by using the administration REST API
You can view the endpoints of a message flow that is deployed in the IBM® App Connect Enterprise Toolkit by using the administration REST API.
Before you begin
Deploy an artifact to your integration server by using one of the methods described in Deploying integration solutions to a production environment.
About this task
You must install IBM App Connect Enterprise 12.0.8.0 or later to use this feature.
The apiv2/resource-managers/endpoint-manager
supports HTTP and SOAP transports
at IBM App Connect Enterprise 12.0.8.0.
Procedure
Display the endpoints of a deployed message flow by running a command with the following
syntax:
curl -X GET http://hostname:port/apiv2/resource-managers/endpoint-manager
If the command is successful, an HTTP status code 200 and a response similar to the following
are returned:
{
"hasChildren": false,
"name": "endpoint-manager",
"type": "resourceManager",
"uri": "/apiv2/resource-managers/endpoint-manager",
"properties": {
"name": "ImbEndpointManager",
"type": "resourceManager"
},
"descriptiveProperties": {},
"active": {
"endpoints": [
{
"direction": "Input",
"endpointLocation": "http://hostname:port/ValidateJSON",
"sourceURIs": [
"/apiv2/applications/ExampleValidateJSON/messageflows/ValidateJSON/nodes/HTTP%20Input"
],
"transport": "HTTP",
"type": "URI"
},
{
"direction": "Input",
"endpointLocation": "http://hostname:port/HTTPInputMessageFlow",
"sourceURIs": [
"/apiv2/applications/HTTPInputApplication/messageflows/HTTPInputMessageFlow/nodes/HTTP%20Input"
],
"transport": "HTTP",
"type": "URI"
},
{
"direction": "Input",
"endpointLocation": "http://hostname:port/countryapi/v1*",
"sourceURIs": [
"/apiv2/rest-apis/CountryAPI/messageflows/gen.CountryAPI/nodes/HTTP%20Input"
],
"transport": "HTTP",
"type": "URI"
}
]
},
"actions": {},
"children": {},
"links": []
}