
package org.camunda.bpm.engine.rest.sub.history;

import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

import org.camunda.bpm.engine.rest.dto.history.HistoricDetailDto;
import org.camunda.bpm.engine.rest.sub.VariableResource;

/**
 *
 * @author Daniel Meyer
 * @author Ronny Bräunlich
 */
public interface HistoricDetailResource {

  @GET
  @Produces(MediaType.APPLICATION_JSON)
  public HistoricDetailDto getResource(
      @QueryParam(VariableResource.DESERIALIZE_VALUE_QUERY_PARAM) @DefaultValue("true") boolean deserializeValue);


  @GET
  @Path("/data")
  public Response getResourceBinary();

}
