class DataMarketDataSnapshotSourceResource extends AbstractDataResource {

  @GET
  @Path("snapshots/{snapshotId}")
  public Response get(
      @PathParam("snapshotId") String idStr,
      @QueryParam("version") String version) {
    final ObjectId objectId = ObjectId.parse(idStr);
    final NamedSnapshot result = getMarketDataSnapshotSource().get(objectId.atVersion(version));
    return responseOkObject(result);
  }

  public  DataMarketDataSnapshotSourceResource(final MarketDataSnapshotSource snapshotSource);

}