From eb6baf5b9734f3527c593d2861881fcdb118620d Mon Sep 17 00:00:00 2001 From: Myriam Bouchemit Date: Tue, 9 Apr 2019 15:52:22 +0200 Subject: [PATCH] gzip is boolean --- php/rest/getDataset.php | 2 +- php/rest/getOrbites.php | 2 +- php/rest/getParameter.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php/rest/getDataset.php b/php/rest/getDataset.php index 53d1803..a14dbbc 100644 --- a/php/rest/getDataset.php +++ b/php/rest/getDataset.php @@ -15,7 +15,7 @@ * @apiParam {String} [password] Password of the user in AMDA (*mandatory for user owned data*) * @apiParam {String} [outputFormat] Format of the returned file. Two options: `VOTable` and `ASCII`. * @apiParam {String} [timeFormat] Format of time in the data files. Two options: `ISO8601` and `UNIXTIME`. - * @apiParam {String} [gzip] `1` if the file must be compressed before delivery. + * @apiParam {Boolean} [gzip] `1` if the file must be compressed before delivery. * * @apiSuccess {String} success `true` * @apiSuccess {String} dataFileURLs URL of the files matching the criteria. If the file is empty, there is no data diff --git a/php/rest/getOrbites.php b/php/rest/getOrbites.php index 7d8a383..bf3a69c 100644 --- a/php/rest/getOrbites.php +++ b/php/rest/getOrbites.php @@ -27,7 +27,7 @@ * @apiParam {String} [password] Password of the user in AMDA (*mandatory for user owned data*) * @apiParam {String} [outputFormat] Format of the returned file. Two options: "VOTable", "ASCII". * @apiParam {String} [timeFormat] Format of time in the data files. Two options: "ISO8601", "UNIXTIME". - * @apiParam {String} [gzip] "1" if the file must be compressed before delivery + * @apiParam {Boolean} [gzip] "1" if the file must be compressed before delivery * * @apiSuccess {String} success `true` * @apiSuccess {String} url_XYZ URL of the file containing the points. diff --git a/php/rest/getParameter.php b/php/rest/getParameter.php index 9d5a148..0f9d0b6 100644 --- a/php/rest/getParameter.php +++ b/php/rest/getParameter.php @@ -17,7 +17,7 @@ * @apiParam {String} [password] Password of the user in AMDA (*mandatory for user owned data*) * @apiParam {String} [outputFormat] Format of the returned file. Two options: `VOTable` and `ASCII`. * @apiParam {String} [timeFormat] Format of time in the data files. Two options: `ISO8601` and `UNIXTIME`. - * @apiParam {String} [gzip] `1` if the file must be compressed before delivery. + * @apiParam {Boolean} [gzip] `1` if the file must be compressed before delivery. * * @apiSuccess {String} success `true` * @apiSuccess {String} dataFileURLs URL of the files matching the criteria. If the file is empty, there is no data -- libgit2 0.21.2