mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
25 lines
560 B
PHP
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/"
|
|
);
|
|
}
|
|
|
|
} |