Blame view

php/rest/isAlive.php 344 Bytes
d8f6b7eb   Nathanaël Jourdane   Add API documenta...
1
2
3
<?php

/**
6185ceeb   Myriam Bouchemit   update for apidoc
4
 * @api {get} isAlive.php isAlive
d8f6b7eb   Nathanaël Jourdane   Add API documenta...
5
6
7
8
 * @apiDescription Used to check whether AMDA services are available or not.
 * @apiName isAlive
 * @apiGroup webservices
 *
d8f6b7eb   Nathanaël Jourdane   Add API documenta...
9
10
11
12
13
14
15
16
17
18
 * @apiSuccess {Boolean} always `true`.
 *
 * @apiSuccessExample Success-Response:
 *     HTTP/1.1 200 OK
 *     {"alive":true}
 */

echo json_encode(['alive' => true]);

?>