Open piotr-gawron opened 2 years ago
sorry for the inconvenience, over the years the old website that hosted the documentation was shut down. It seems the API description is currently not available. (I found a snapshot of it here) Indeed currently you will have to use the endpoint:
http://constraint.caltech.edu:8888/validator_servlet/ValidatorServlet
so for example from the command line:
curl -F file=@sbmlfile.xml -F output=xml -F offcheck=u http://constraint.caltech.edu:8888/validator_servlet/ValidatorServlet
We will try and improve the documentation as soon as possible.
Note: this is hopefully a temporary situation. Do not hardwire the host name constraint.caltech.edu into anything, as that host will go away over time.
Indeed, we do have another name for that, i remembered:
curl -F file=@BorisEJB.xml -F output=xml -F offcheck=u http://sbml-validator.caltech.edu:8888/validator_servlet/ValidatorServlet
will work as well
Thanks, I will wait for a permanent solution then. For the time being I will just turn off tests that are using validator in my CI.
Can you post it here when it's available again?
I'm looking for API that was hosted under this url: http://sbml.org/validator/ (currently, 404 page not found)
I found the web version here: https://sbml.org/validator_servlet/, but link to network API (http://sbml.org/Facilities/Documentation/Validator_Web_API) is dead (currently, 404 page not found).
I also found "hidden" version of old validator here: http://constraint.caltech.edu:8888/validator_servlet/. But I assume this is just a sideeffect of the current configuration and using it programmatically is a bit tricky (for example cookies are messed up).