APIv2 directly from browser.
(In response to this article) I'm not quite sure if this is related to the issue I'm facing, but could be:
With API v1 it was always possible to access the api directly from the browser, e.g. with
http://community.lithium.com/restapi/vc
already this basic call (you can then put whatever api call you want behind the "vc", e.g. http://community.lithium.com/restapi/vc/<your_api_call>) gives back a response that contains all categories and some other stuff about the community...this is very helpful when debugging things as the actual response can be analyzed.
I thought it should be possible the same way with API v2 with a base url like
http://community.lithium.com/restapi/v2
but there is nothing coming back than a error 500 (sometimes a 403), tried various things like adding a query (urlencoded for sure) like http://community.lithium.com/restapi/v2/?q=SELECT%20count(*)%20FROM%20messages%20WHERE%20depth%20%3D%200
but no luck...am I maybe trying to use the wrong url or this this not possible at all with API v2 without implementing the oAuth flow described above??
PS: I'm aware of the API Browser in the backend, but it's about accessing the API v2 via browser address bar directly
EDIT: I guess/hope I found the "problem", it's described here: http://community.lithium.com/t5/Community-API-v2/Getting-started/ta-p/113193 in the section "Make a LiQL query over HTTP", looks like 1) the URL to call is different, e.g.
http://<eu (depending if your community is hosted in Amsterdam or in the US)>.api.lithium.com/community/2.0/search?q=<query>&client_id=<this_is_the_problem>&api.pretty_print=true
and we need to request that client_id from Lithium support...did that but no response yet, so can't tell if this is really the issue, but most likely =)