ComunicAPI/RestControllers/welcomeController.php
2017-05-17 13:48:24 +02:00

25 lines
560 B
PHP

<?php
/**
* RestWelcome controller
*
* @author Pierre HUBERT
*/
class welcomeController {
/**
* Returns informations about the API
*
* @url GET /
* @url GET /infos
*/
public function getInfos(){
return array(
"serviceDescription" => "This service watches DecodexList evolutions, stores them and let its client access them.",
"githubURL" => "https://github.com/pierre42100/decodexwatcherapi/",
"clientURL" => "https://decodexwatcher.communiquons.org/",
"apiSchema" => "https://swagger.decodexwatcher.communiquons.org/"
);
}
}