|
- name: aoi |
|
in: formData |
|
description: The primary key of the AOI used to export from. |
|
required: true |
|
type: integer |
|
- name: products |
|
in: formData |
|
description: | |
|
A comma-separated list of product primary keys to include in the export. |
|
required: true |
|
type: string |
The products parameter must be passed as a string to facilitate comma-separated specification of multiple product exports. On the other hand, the aoi parameter is an integer. Feels awkward and perhaps error prone to sometimes expect integer, other times strings. An alternative could be to pass an array of product pks.
GRiD-API/swagger.v3.yaml
Lines 344 to 354 in 46b84ec
The
productsparameter must be passed as a string to facilitate comma-separated specification of multiple product exports. On the other hand, theaoiparameter is an integer. Feels awkward and perhaps error prone to sometimes expect integer, other times strings. An alternative could be to pass an array of product pks.