code: func (a *API) robotConnection(res http.ResponseWriter, req *http.Request) {
  	if conn, err := a.jsonConnectionFor(req.URL.Query().Get(":robot"), req.URL.Query().Get(":connection")); err != nil {
  		a.writeJSON(map[string]interface{}{"error": err.Error()}, res)
  	} else {
  		a.writeJSON(map[string]interface{}{"connection": conn}, res)
  	}
  }
docs: // robotConnection returns connection route handler
  // writes JSON with robot connection representation