N1QL API reference

Hello everyone,
I’ve been looking all over the place for something like this, but I cannot find a documentation to give me some more answers. I was able to figure out the basic myself such as:
POST http://:8093/query?q=MY_QUERY

But I cannot find anything on how to use authentication(password) or specifying a different port for the bucket. Can someone point me to some documentation or shed some light on the topic.



We will be releasing N1QL DP4 this week, and the reference manual will include a section on the REST API.