diff --git a/php/rest/apidoc.json b/php/rest/apidoc.json new file mode 100644 index 0000000..a2be39c --- /dev/null +++ b/php/rest/apidoc.json @@ -0,0 +1,7 @@ +{ + "name": "AMDA web-services Rest API", + "description": "The web-services provided by AMDA aim at giving to a user access public data as well as its private data. These data may be private or shared Time Tables, public or user-defined parameters. All these webservices are also available through a SOAP interface.", + "title": "AMDA Web-services Rest API documentation", + "url": "http://amda.irap.omp.eu/php/rest/", + "sampleUrl": "http://amda.irap.omp.eu/php/rest/" +} diff --git a/php/rest/auth.php b/php/rest/auth.php index 1467c40..6f1a906 100644 --- a/php/rest/auth.php +++ b/php/rest/auth.php @@ -1,11 +1,16 @@ \ No newline at end of file +?> diff --git a/php/rest/getDataset.php b/php/rest/getDataset.php index 8452487..a240627 100644 --- a/php/rest/getDataset.php +++ b/php/rest/getDataset.php @@ -1,7 +1,10 @@ \ No newline at end of file +?> diff --git a/php/rest/getParameter.php b/php/rest/getParameter.php index 2b83008..5664d4d 100644 --- a/php/rest/getParameter.php +++ b/php/rest/getParameter.php @@ -1,8 +1,41 @@ \ No newline at end of file +?> diff --git a/php/rest/getParameterList.php b/php/rest/getParameterList.php index 27ac1d6..0a4cd9a 100644 --- a/php/rest/getParameterList.php +++ b/php/rest/getParameterList.php @@ -1,12 +1,29 @@ getStatus($_GET); } -echo json_encode($result); \ No newline at end of file +echo json_encode($result); diff --git a/php/rest/getTimeTable.php b/php/rest/getTimeTable.php index 06c88d6..1702ecb 100644 --- a/php/rest/getTimeTable.php +++ b/php/rest/getTimeTable.php @@ -1,14 +1,32 @@ true]); + +?> -- libgit2 0.21.2