Commit 0abbf39b by Adi Amir

add more flows

parent fa007d0d
{ {
"apis": [{ "apiList": [{
"apiIn": "routes", "apiIn": "routes",
"actions": [{ "actions": [{
"type": "forwardRequest",
"adapterId": "adapter.chicago.transportation", "adapterId": "adapter.chicago.transportation",
"apiOut": "getroutes",//id "apiOut": "getroutes"
"Responses": [{
"code": "*",
"actionId": "sendResponseToOriginator"
}]
}] }]
}, { }, {
"apiIn": "getNearestBus", "apiIn": "reports",
"actions": [{ "actions": [{
"type": "forwardRequest", "adapterId": "adapter.chicago.public-safety",
"adapterId": "adapter.chicago.transportation", "apiOut": "getReports"
"apiOut": "getNearestBus",
"Responses": [{
"code": "*",
"actionId": "sendResponseToOriginator"
}]
}] }]
}] }]
} }
\ 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 ...@@ -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}/{serviceId}/{apiId}?key=gT2nciTKwRv6Jy5njqm8fe7LW
GET ../mde/{tenantId}/chicago.transportation/routes?key=gT2nciTKwRv6Jy5njqm8fe7LW GET ../mde/chicago/transportation/routes?key=gT2nciTKwRv6Jy5njqm8fe7LW
mde.HandleRequest(reqCtx) 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