pub fn list_candidates_path(id: Value) -> Result<Value, Error>