paleobiodb / data_service

The PBDB Data Service, API and table/system maintenance scripts
Artistic License 2.0
12 stars 0 forks source link

Ensure that meta-data can be unselected for all API routes #20

Closed aazaff closed 7 years ago

aazaff commented 7 years ago

Even if you un-select the include metadata option in the download form, this path still returns the metadata header. Metadata should not be returned for any route if not selected as part of the data form.

https://paleobiodb.org/data1.2/occs/taxa.txt?rank=max_genus&interval=Phanerozoic&limit=100

mmcclenn commented 7 years ago

This will be fixed in next week's update. The summary material will only appear in downloads if the "metadata" box is checked (or, equivalently, if the 'datainfo' parameter appears in the download URL). Otherwise, in CSV format, the header line will be the first line of the output.

aazaff commented 7 years ago

That's great news, but I was under the impression that you were hesitant to fix this until 1.3 because it could technically be a breaking change for some people?