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

The API only consume and produce JSON format #6

Open
ypriverol opened this issue Aug 19, 2018 · 4 comments
Open

The API only consume and produce JSON format #6

ypriverol opened this issue Aug 19, 2018 · 4 comments
Labels
proxi-schemas This issue or PR is schemas related

Comments

@ypriverol
Copy link
Contributor

ypriverol commented Aug 19, 2018

The API will consume and produce only JSON format. Please vote. @HUPO-PSI/collaborators @edeutsch @jjcarver

@ypriverol ypriverol added the enhancement New feature or request label Aug 19, 2018
@ypriverol ypriverol added proxi-schemas This issue or PR is schemas related and removed enhancement New feature or request labels Aug 19, 2018
@edeutsch
Copy link
Contributor

Although I think the default should be JSON and most responses should be JSON, it seems reasonable that /datasets/{accession} could support XML as well since we already have an XML schema for that and some users may have a parser for it already. So I'm not sure that we should make this stark decision at this point.

@ypriverol
Copy link
Contributor Author

We can leave this open for now @edeutsch . For the first implementation we go for json representation.

@ypriverol ypriverol linked a pull request Jul 30, 2020 that will close this issue
@ypriverol
Copy link
Contributor Author

With the removal of the endpoint dataset/{identifier} #71 we should not allow for now XML.

@edeutsch
Copy link
Contributor

edeutsch commented Aug 7, 2020

I am conflicted on this.
In fact, I am starting to regret our decision to remove the /dataset/{identifier}
I am now not so certain that is a wise move. Maybe its behavior at the broker can be a bit different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proxi-schemas This issue or PR is schemas related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants