ComunicAPI/RestControllers/welcomeController.php
2017-05-17 14:05:23 +02:00

23 lines
348 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 is the Comunic API Server.",
"clientURL" => "https://communiquons.org/",
);
}
}