code: func (s *Snapshot) Restore(q *WriteOptions, in io.Reader) error {
  	r := s.c.newRequest("PUT", "/v1/snapshot")
  	r.body = in
  	r.setWriteOptions(q)
  	_, _, err := requireOK(s.c.doRequest(r))
  	if err != nil {
  		return err
  	}
  	return nil
  }
docs: // Restore streams in an existing snapshot and attempts to restore it.