ComunicAPI/RestControllers/welcomeController.php

23 lines
348 B
PHP
Raw Permalink Normal View History

2017-05-17 11:48:24 +00:00
<?php
/**
* RestWelcome controller
*
* @author Pierre HUBERT
*/
class welcomeController {
/**
* Returns informations about the API
*
* @url GET /
* @url GET /infos
*/
public function getInfos(){
return array(
2017-05-17 12:05:23 +00:00
"serviceDescription" => "This is the Comunic API Server.",
"clientURL" => "https://communiquons.org/",
2017-05-17 11:48:24 +00:00
);
}
}