add the /version endpoint to the API docs

I had to find this by accident. It should be documented here.