API address
Technical Support and Questions
Rick Westerman
Feb 2017
I was trying out the API in order to see if I can input/output data via that route however I can not get hold of the API. As per the python code the base URI should be:
However a simple curl -I https://photosynq.org/api/v3 gives a 404 - Not Found error. As expected curl to just https://photosynq.org/ works (otherwise I couldn't get hold of these forums, for one thing).
Any idea on this? Thanks.
Sebastian
Feb 2017
Hi Rick,
You are right, the base URL is https://photosynq.org/api/v3, but it is not a valid endpoint. Please check out the API documentation (https://photosynq.org/rdoc/index.html) to see the existing endpoints.
Getting Project Informations
As an example, https://photosynq.org/api/v3/projects/1566.json would be an endpoint for the project Getting Started with MultispeQ.
We are working on packages for python and R to make it more accessible. Go and check out https://github.com/PhotosynQ for the packages. We just started, so not everything might be functional at this point.
Please feel free to ask more questions, we try to answer them as good as possible.
Rick Westerman
Feb 2017
Got in. Can list my test project and do other manipulations.
I believe that the doc for 'index()' in DataController is missing '/v3/projects' in place of just '/v3/'
Sebastian
Feb 2017
Glad to hear that you had success!
Yes, you are right, it needs to be /v3/projects
. We have to update the documentation, thanks for pointing it out, I add it to the list!