Skip to content

csv and raw json #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 8, 2020
Merged

csv and raw json #210

merged 4 commits into from
Sep 8, 2020

Conversation

sgratzl
Copy link
Member

@sgratzl sgratzl commented Sep 8, 2020

add support for format=csv and format=json. The former creates a CSV file the later a raw JSON array.

To support the different messages, http status codes (500, 401, 400) are used which will in an error case also send the json object back

@krivard
Copy link
Contributor

krivard commented Sep 8, 2020

Tests pass, tests look reasonable, code looks good. Needs a documentation update to match. I'm looping in some folks to decide whether we want to do a provisional merge now and fill in documentation later.

@krivard
Copy link
Contributor

krivard commented Sep 8, 2020

Merging now; we'll tell some of our users about it as a beta and then add it to the public documentation in a future release.

@krivard krivard merged commit c7579f4 into cmu-delphi:main Sep 8, 2020
@sgratzl sgratzl mentioned this pull request Sep 9, 2020
4 tasks
capnrefsmmat added a commit that referenced this pull request Nov 11, 2020
#210 added format=csv, but these responses are not currently compressed like JSON responses are.

I'd like to switch to CSV format in the R client, so compression is important to add here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants