API v1 spec

This is still a work-in-progress, but any feedback is more than welcome.
I'm not actually sure where timestamps fit in yet. Ideas?