@Produces(value={"application/json","application/xml"})
public interface BeaconResponseResource
| Modifier and Type | Method and Description |
|---|---|
Collection<com.dnastack.bob.service.dto.BeaconResponseDto> |
query(String beaconIds,
String chrom,
Long pos,
String allele,
String ref)
Query all the beacons or a specific beacon as determined by a param.
|
com.dnastack.bob.service.dto.BeaconResponseDto |
queryBeacon(String beaconId,
String chrom,
Long pos,
String allele,
String ref)
Query a given beacon
|
@GET Collection<com.dnastack.bob.service.dto.BeaconResponseDto> query(@QueryParam(value="beacon") String beaconIds, @QueryParam(value="chrom") String chrom, @QueryParam(value="pos") Long pos, @QueryParam(value="allele") String allele, @QueryParam(value="ref") String ref) throws ClassNotFoundException
beaconIds - beacon to query (optional)chrom - chromosomepos - positionallele - alleleref - reference genome (optional)ClassNotFoundException@GET
@Path(value="/{beaconId}")
com.dnastack.bob.service.dto.BeaconResponseDto queryBeacon(@PathParam(value="beaconId")
String beaconId,
@QueryParam(value="chrom")
String chrom,
@QueryParam(value="pos")
Long pos,
@QueryParam(value="allele")
String allele,
@QueryParam(value="ref")
String ref)
throws ClassNotFoundException
beaconId - beacon to querychrom - chromosomepos - positionallele - alleleref - reference genome (optional)ClassNotFoundExceptionCopyright © 2016 DNAstack. All rights reserved.