Skip to content
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

Make CSV output a format instead of a dedicated endpoint #206

Open
3 tasks
stoopidJSON opened this issue Jul 5, 2020 · 1 comment
Open
3 tasks

Make CSV output a format instead of a dedicated endpoint #206

stoopidJSON opened this issue Jul 5, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@stoopidJSON
Copy link
Member

User Story

As an API user
I'd like to pass a format parameter to a normal GET search
So that I can export as CSV

Acceptance Criteria

  • format=csv is an acceptable query string param
  • when passing format=csv the output of the API is in CSV not JSON
  • previous CSV endpoint deprecated

Notes

The existing endpoint has certain limitations based on different types and params that can be sent. With the GET on all endpoints accepting query string params, this is a good opportunity to change how we export data.

@stoopidJSON stoopidJSON added the enhancement New feature or request label Jul 5, 2020
@mschechter-bellese
Copy link
Collaborator

Could this use the Accept header instead, with the appropriate media type in the request / response?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants