mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-07-07 02:22:54 +00:00
3rdparty
RestControllers
.htaccess
conversationsController.php
friendsController.php
likesController.php
postsController.php
searchController.php
userController.php
welcomeController.php
classes
config
functions
helpers
.htaccess
LICENSE
README.md
index.php
init.php
23 lines
348 B
PHP
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/",
|
|
);
|
|
}
|
|
|
|
} |