code: func (api ContractsAPI) contractIdGet(w http.ResponseWriter, r *http.Request) {
  	contractID := mux.Vars(r)["contractId"]
  	contractMngr := contractdb.NewManager(r)
  	contract, err := contractMngr.Get(contractID)
  	if err != nil {
  		log.Error(err)
  		http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
  	}
  
  	json.NewEncoder(w).Encode(&contract)
  }
docs: // Get a contract
  // contractIdGet is handler for GET /contracts/{contractId}