d96cce85869936e100269b1b5859acef8e1fec80 hiram Fri Feb 15 11:22:27 2019 -0800 now dumping contents of any database table refs #18869 diff --git src/hg/hubApi/hubApi.c src/hg/hubApi/hubApi.c index 9657c6d..8df3375 100644 --- src/hg/hubApi/hubApi.c +++ src/hg/hubApi/hubApi.c @@ -510,32 +510,33 @@ static void showExamples(char *url, struct trackHubGenome *hubGenome, char *ucscDb) { hPrintf("

Example URLs to return json data structures:

\n"); hPrintf("
    \n"); hPrintf("
  1. list public hubs /cgi-bin/hubApi/list/publicHubs
  2. \n"); hPrintf("
  3. list database genomes /cgi-bin/hubApi/list/ucscGenomes
  4. \n"); hPrintf("
  5. list genomes from specified hub /cgi-bin/hubApi/list/hubGenomes?hubUrl=%s
  6. \n", url, url); hPrintf("
  7. list tracks from specified hub and genome /cgi-bin/hubApi/list/tracks?hubUrl=%s&genome=%s
  8. \n", url, hubGenome->name, url, hubGenome->name); hPrintf("
  9. list tracks from specified UCSC database /cgi-bin/hubApi/list/tracks?db=%s
  10. \n", ucscDb, ucscDb); hPrintf("
  11. list chromosomes from specified UCSC database /cgi-bin/hubApi/list/chromosomes?db=%s
  12. \n", ucscDb, ucscDb); hPrintf("
  13. list chromosomes from specified track from UCSC databaset /cgi-bin/hubApi/list/chromosomes?db=%s&track=gap
  14. \n", ucscDb, ucscDb); hPrintf("
  15. get sequence from specified database and chromosome /cgi-bin/hubApi/getData/sequence?db=%s&chrom=chrM
  16. \n", ucscDb, ucscDb); hPrintf("
  17. get sequence from specified database, chromosome with start,end coordinates /cgi-bin/hubApi/getData/sequence?db=%s&chrom=chrM&start=0&end=128
  18. \n", ucscDb, ucscDb); +hPrintf("
  19. get entire track data from specified database and track name (gold == Assembly) /cgi-bin/hubApi/getData/track?db=%s&track=gold
  20. \n", ucscDb, ucscDb); hPrintf("
  21. get track data from specified database, chromosome and track name (gold == Assembly) /cgi-bin/hubApi/getData/track?db=%s&chrom=chrM&track=gold
  22. \n", ucscDb, ucscDb); -hPrintf("
  23. 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
  24. \n", ucscDb, ucscDb); +hPrintf("
  25. get track data from specified database, chromosome, track name, start and end coordinates /cgi-bin/hubApi/getData/track?db=%s&chrom=chr1&track=gold&start=107680&end=186148
  26. \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)