Commit 0abbf39b by Adi Amir

add more flows

parent fa007d0d
{
"apis": [{
"apiList": [{
"apiIn": "routes",
"actions": [{
"type": "forwardRequest",
"adapterId": "adapter.chicago.transportation",
"apiOut": "getroutes",//id
"Responses": [{
"code": "*",
"actionId": "sendResponseToOriginator"
}]
"apiOut": "getroutes"
}]
}, {
"apiIn": "getNearestBus",
"apiIn": "reports",
"actions": [{
"type": "forwardRequest",
"adapterId": "adapter.chicago.transportation",
"apiOut": "getNearestBus",
"Responses": [{
"code": "*",
"actionId": "sendResponseToOriginator"
}]
"adapterId": "adapter.chicago.public-safety",
"apiOut": "getReports"
}]
}]
}
\ No newline at end of file
GET ../mde/{tenantId}/{serviceId}/{apiId}
GET ../mde/chicago/public-safety/reports
......@@ -62,7 +62,7 @@ GET http://www.ctabustracker.com/bustime/api/v1/getroutes?key=gT2nciTKwRv6Jy5njq
GET ../mde/{tenantId}/{serviceId}/{apiId}?key=gT2nciTKwRv6Jy5njqm8fe7LW
GET ../mde/{tenantId}/chicago.transportation/routes?key=gT2nciTKwRv6Jy5njqm8fe7LW
GET ../mde/chicago/transportation/routes?key=gT2nciTKwRv6Jy5njqm8fe7LW
mde.HandleRequest(reqCtx)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment