public FutureData<HistoricsStatus> status(DateTime start, DateTime end, String... sources) {
        FutureData<HistoricsStatus> future = new FutureData<>();
        URI uri = newParams().forURL(config.newAPIEndpointURI(STATUS));
        POST request = config.http()
                .POST(uri, new PageReader(newRequestCallback(future, new HistoricsStatus(), config)))
                .form("start", MILLISECONDS.toSeconds(start.getMillis()))
                .form("end", MILLISECONDS.toSeconds(end.getMillis()));
        if (sources != null && sources.length > 0) {
            StringBuilder b = new StringBuilder();
            for (String source : sources) {
                b.append(source).append(",");
            }
            request.form("sources", b.toString().substring(0, b.length() - 1));
        }
        performRequest(future, request);
        return future;
    }
public FutureData < HistoricsStatus > status ( DateTime start , DateTime end , String ... sources ) { FutureData < HistoricsStatus > future = new FutureData < > ( ) ; URI uri = newParams ( ) . forURL ( config . newAPIEndpointURI ( STATUS ) ) ; POST request = config . http ( ) . POST ( uri , new PageReader ( newRequestCallback ( future , new HistoricsStatus ( ) , config ) ) ) . form ( "start" , MILLISECONDS . toSeconds ( start . getMillis ( ) ) ) . form ( "end" , MILLISECONDS . toSeconds ( end . getMillis ( ) ) ) ; if ( sources != null && sources . length > 0 ) { StringBuilder b = new StringBuilder ( ) ; for ( String source : sources ) { b . append ( source ) . append ( "," ) ; } request . form ( "sources" , b . toString ( ) . substring ( 0 , b . length ( ) - 1 ) ) ; } performRequest ( future , request ) ; return future ; }
/*
Check the status of data availability in our archive for the given time period

@param start   the dat from which the archive should be checked
@param end     the up to which the archive should be checked
@param sources an optional list of data sources that should be queried, e.g. [tumblr,facebook,...]
@return a report of the current status/availability of data for the given time period