Endpoint controller for Incoming XML bounce, fetch, and target /api routes
Route |
("/api") |
---|---|
package |
App\Controller |
__construct(\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $params, \Psr\Log\LoggerInterface $logger, \Symfony\Component\HttpKernel\Profiler\Profiler|NULL $profiler = null)
\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
\Psr\Log\LoggerInterface
\Symfony\Component\HttpKernel\Profiler\Profiler|NULL
fetchApiAction(string $type = 'incoming', integer $count = 10, string $order = 'DESC', string $counter = null) : \Symfony\Component\HttpFoundation\Response
FOSRest\Get |
("/fetch/{type}/{count}/{order}/{counter}", name="api_fetch") |
---|---|
SWG\Get |
( path="/api/fetch/{type}/{count}/{order}/{counter}", summary="Get data received or sent", description="Fetch data received or sent from the database tables Incoming and Outgoing", operationId="fetchApiAction", produces={"application/json"}, |
SWG\Response |
( response=200, description="Returns JSON output of type: incoming OR outgoing, count: 1 ~ nth, order: desc or asc" ) ) |
string
integer
string
string
\Symfony\Component\HttpFoundation\Response
incomingApiAction(\Symfony\Component\HttpFoundation\Request $request, \Symfony\Component\HttpKernel\KernelInterface $kernel, boolean $target = false) : \Symfony\Component\HttpFoundation\Response
FOSRest\Post |
("/incoming", name="api_incoming") |
---|---|
SWG\Post |
( path="/api/incoming", summary="Incoming GPS XML POST data endpoint", description="Receives incoming Moovbox GPS traffic and transmits the data to outgoing target groups", operationId="incomingApiAction", produces={"plain/text", "plain/html"}, @SWG\Response( response=200, description="Incoming URL to receive and transmit data to proxy target groups" ) ) |
Throws |
|
\Symfony\Component\HttpFoundation\Request
\Symfony\Component\HttpKernel\KernelInterface
boolean
\Symfony\Component\HttpFoundation\Response
phpDocApiAction() : \Symfony\Component\HttpFoundation\Response
Route |
("/php", methods={"GET"}, name="app.phpdoc") |
---|---|
\Symfony\Component\HttpFoundation\Response
postApiAction(\Symfony\Component\HttpFoundation\Request $request) : \Symfony\Component\HttpFoundation\Response
FOSRest\Post |
("/target", name="api_target") |
---|---|
SWG\Post |
( path="/api/target", summary="Post GPS XML data but do not bounce - pseudo endpoint", description="Target Endpoint for testing incoming data and performing analysis", operationId="postApiAction", produces={"application/json","applicaton/xml","plain/html"}, @SWG\Response( response=200, description="Target endpoint for incoming data analysis and testing" ) ) |
Throws |
|
\Symfony\Component\HttpFoundation\Request
\Symfony\Component\HttpFoundation\Response
renderOutput(\Symfony\Component\HttpFoundation\Request $request, string $content, array $headers) : \Symfony\Component\HttpFoundation\Response
\Symfony\Component\HttpFoundation\Request
string
array
\Symfony\Component\HttpFoundation\Response
params : \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
var |
---|
\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
logger : \Psr\Log\LoggerInterface
var |
---|
\Psr\Log\LoggerInterface