b5cd41df4b0f7113a4641a82973ddcd331df1c1b hiram Fri Feb 15 10:11:17 2019 -0800 ready to select table data refs #18869 diff --git src/hg/hubApi/hubApi.c src/hg/hubApi/hubApi.c index 6ae5129..9657c6d 100644 --- src/hg/hubApi/hubApi.c +++ src/hg/hubApi/hubApi.c @@ -500,41 +500,43 @@ hPrintf("\n"); hPrintf("

\n"); } static void showExamples(char *url, struct trackHubGenome *hubGenome, char *ucscDb) { hPrintf("

Example URLs to return json data structures:

\n"); -hPrintf("\n"); +hPrintf("
  • get track data from specified database, chromosome and track name (gold == Assembly) /cgi-bin/hubApi/getData/track?db=%s&chrom=chrM&track=gold
  • \n", ucscDb, ucscDb); +hPrintf("
  • get track data from specified database, chromosome, track name, start and end coordinates /cgi-bin/hubApi/getData/track?db=%s&chrom=chrM&track=gold&start=0&end=100
  • \n", ucscDb, ucscDb); +hPrintf("\n"); } /* static void showExamples() */ #ifdef NOT static void showCartDump() /* for information purposes only during development, will become obsolete */ { hPrintf("

    cart dump

    "); hPrintf("
    \n");
     cartDump(cart);
     hPrintf("
    \n"); } #endif static void doMiddle(struct cart *theCart) /* Set up globals and make web page */