2f73d7595b0e37b159e9c9355f8e99512bf37e81
max
  Wed Sep 10 08:33:03 2025 -0700
Merging Jim Robinsons code into the kent tree. Due to whitespace changes in his IDE, I'm merging this manually.
The original code is at https://github.com/igvteam/ucsc_dev/. changes up to 48816bc are included.
Also adding an API call to get the 2bit file and code to use it.

diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h
index f4f4eb8df86..6431fe3f768 100644
--- src/hg/hubApi/dataApi.h
+++ src/hg/hubApi/dataApi.h
@@ -62,42 +62,45 @@
 
 /* list of all potential arguments */
 #define argHubUrl	"hubUrl"
 #define argGenome	"genome"
 #define argTrackLeavesOnly	"trackLeavesOnly"
 #define argTrack	"track"
 #define argChrom	"chrom"
 #define argStart	"start"
 #define argEnd	"end"
 #define argRevComp	"revComp"
 #define argMaxItemsOutput	"maxItemsOutput"
 #define argFormat	"format"
 #define argJsonOutputArrays	"jsonOutputArrays"
 #define argCategories "categories"
 #define argSearchTerm "search"
+#define argSkipContext "skipContext"
 /* used in findGenome, 'q' is for the query search term */
 #define argQ "q"
 #define argStatsOnly "statsOnly"
 #define argBrowser "browser"
 #define argYear "year"
 #define argCategory "category"
 #define argStatus "status"
 #define argLevel "level"
 #define argFromGenome "fromGenome"
 #define argToGenome "toGenome"
 /* used in liftOver 'listExisting' function to filter the result */
 #define argFilter "filter"
+/* used in list/files to show only certain file types */
+#define argFileType "fileType"
 
 /* valid argument listings to verify extraneous arguments
  *  initialized in hubApi.c
  */
 extern char *argListPublicHubs[];
 extern char *argListUcscGenomes[];
 extern char *argListGenarkGenomes[];
 extern char *argListHubGenomes[];
 extern char *argListTracks[];
 extern char *argListChromosomes[];
 extern char *argListSchema[];
 extern char *argListFiles[];
 extern char *argGetDataTrack[];
 extern char *argGetDataSequence[];
 extern char *argSearch[];