@GET
	@Path("/{id}")
	public ReplyObject getAccumulator(@PathParam("id") String id){
		try{
			ReplyObject ro = ReplyObject.success();
			ro.addResult("accumulator", getAccumulatorAPI().getAccumulatorDefinition(id));
			ro.addResult("chartData", getAccumulatorAPI().getAccumulatorGraphData(id));
			return ro;
		}catch(APIException e){
			return ReplyObject.error(e);
		}
	}
@ GET @ Path ( "/{id}" ) public ReplyObject getAccumulator ( @ PathParam ( "id" ) String id ) { try { ReplyObject ro = ReplyObject . success ( ) ; ro . addResult ( "accumulator" , getAccumulatorAPI ( ) . getAccumulatorDefinition ( id ) ) ; ro . addResult ( "chartData" , getAccumulatorAPI ( ) . getAccumulatorGraphData ( id ) ) ; return ro ; } catch ( APIException e ) { return ReplyObject . error ( e ) ; } }
Returns an accumulator by id.
@param id of the accumulator to return.
@return