VEuPathDB / EdaSubsettingService

A REST service to provide data and subsetting in the Exploratory Data Analysis Workspace
Apache License 2.0
0 stars 0 forks source link

Add "external" header option for tabular endpoint #44

Closed ryanrdoherty closed 2 years ago

ryanrdoherty commented 2 years ago

The tabular endpoint has both internal (merging/data services) and external (data table, download) clients. External clients of "true" tabular (not JSON) prefer a different header format:

“Variable display name [ID]”

Since internal (i.e. software) clients still need the original header, we will request it via a new reportConfig property:

headerFormat: enum [ internal, external ]

ryanrdoherty commented 2 years ago

Decided to make the enum values "standard" and "display"; this is complete.

SheenaTomko commented 2 years ago

Discussed with Ryan. This will come up later when the downloads feature becomes available. He tested already and we would have to test manually with curl requests. Going to move to complete.