Here's how to get REST / JSON access to your data in 2 mouse clicks.
1. Click Add Resource Template
2. Fill in the fields. Second Click Save.
You can tell that the {id} is the bind that is passed into the query. Where it's referenced with the same syntax to use as a bind.
Done. Now here's the JSON output from all that hard work :)
Obviously this is a very simple example and there are more samples and documentation on the possibilities coming.