Commit eb6baf5b9734f3527c593d2861881fcdb118620d

Authored by Myriam Bouchemit
1 parent 334555a8

gzip is boolean

php/rest/getDataset.php
... ... @@ -15,7 +15,7 @@
15 15 * @apiParam {String} [password] Password of the user in AMDA (*mandatory for user owned data*)
16 16 * @apiParam {String} [outputFormat] Format of the returned file. Two options: `VOTable` and `ASCII`.
17 17 * @apiParam {String} [timeFormat] Format of time in the data files. Two options: `ISO8601` and `UNIXTIME`.
18   - * @apiParam {String} [gzip] `1` if the file must be compressed before delivery.
  18 + * @apiParam {Boolean} [gzip] `1` if the file must be compressed before delivery.
19 19 *
20 20 * @apiSuccess {String} success `true`
21 21 * @apiSuccess {String} dataFileURLs URL of the files matching the criteria. If the file is empty, there is no data
... ...
php/rest/getOrbites.php
... ... @@ -27,7 +27,7 @@
27 27 * @apiParam {String} [password] Password of the user in AMDA (*mandatory for user owned data*)
28 28 * @apiParam {String} [outputFormat] Format of the returned file. Two options: "VOTable", "ASCII".
29 29 * @apiParam {String} [timeFormat] Format of time in the data files. Two options: "ISO8601", "UNIXTIME".
30   - * @apiParam {String} [gzip] "1" if the file must be compressed before delivery
  30 + * @apiParam {Boolean} [gzip] "1" if the file must be compressed before delivery
31 31 *
32 32 * @apiSuccess {String} success `true`
33 33 * @apiSuccess {String} url_XYZ URL of the file containing the points.
... ...
php/rest/getParameter.php
... ... @@ -17,7 +17,7 @@
17 17 * @apiParam {String} [password] Password of the user in AMDA (*mandatory for user owned data*)
18 18 * @apiParam {String} [outputFormat] Format of the returned file. Two options: `VOTable` and `ASCII`.
19 19 * @apiParam {String} [timeFormat] Format of time in the data files. Two options: `ISO8601` and `UNIXTIME`.
20   - * @apiParam {String} [gzip] `1` if the file must be compressed before delivery.
  20 + * @apiParam {Boolean} [gzip] `1` if the file must be compressed before delivery.
21 21 *
22 22 * @apiSuccess {String} success `true`
23 23 * @apiSuccess {String} dataFileURLs URL of the files matching the criteria. If the file is empty, there is no data
... ...