code: func (s *Adaptor) deviceURL() string {
  	if len(s.APIServer) <= 0 {
  		s.setAPIServer("https://api.particle.io")
  	}
  	return fmt.Sprintf("%v/v1/devices/%v", s.APIServer, s.DeviceID)
  }
docs: // deviceURL constructs device url to make requests from Particle cloud api