class DataRegionSourceResource extends AbstractDataResource {

  @GET
  @Path("regions")
  public Response search(
      @QueryParam("versionAsOf") String versionAsOf,
      @QueryParam("correctedTo") String correctedTo,
      @QueryParam("id") List<String> externalIdStrs) {
    final VersionCorrection vc = VersionCorrection.parse(versionAsOf, correctedTo);
    final ExternalIdBundle bundle = ExternalIdBundle.parse(externalIdStrs);
    Collection<? extends Region> result = getRegionSource().get(bundle, vc);
    return responseOkObject(FudgeListWrapper.of(result));
  }

  public  DataRegionSourceResource(final RegionSource regionSource);

}