6e67ef8295bba3ef3ab3cb5fcff3761328c47109 lrnassar Tue May 21 15:56:30 2019 -0700 Making small changes in response to CR diff --git src/hg/htdocs/goldenPath/help/api.html src/hg/htdocs/goldenPath/help/api.html index d045623..5dfafdd 100755 --- src/hg/htdocs/goldenPath/help/api.html +++ src/hg/htdocs/goldenPath/help/api.html @@ -37,32 +37,32 @@ This access url: https://api.genome.ucsc.edu/ is used to access the endpoint functions. For example:
wget -O- 'https://api.genome.ucsc.edu/list/publicHubs'
The following data sets can be accessed at this time:
The url https://api.genome.ucsc.edu/ is used to access @@ -292,31 +292,31 @@
When using the /list/tracks function to see the available tracks in an assembly, it can be useful to return all tracks in the same hierarchical level. By default, composite and supertracks will have the subtracks nested below, however, the trackLeavesOnly=1 parameter can be passed to hide the container information and display all tracks and subtracks at the same level.
In the following example, the first link does not include the trackLeavesOnly parameter. The output can be compared to the second link to see the difference, which can be observed in the conservation track. In the first link, the multiz20way track is nested within the cons20way track. In the second link, however, the multiz20way subtrack is seen at -an equivelant level with all other tracks, and the container, cons20way, is not +an equivalent level with all other tracks, and the container, cons20way, is not present in the list.
Request available tracks in the rn6 genome -
api.genome.ucsc.edu/list/tracks?genome=rn6
Request available tracks in the rn6 genome, hiding container information -
api.genome.ucsc.edu/list/tracks?genome=rn6;trackLeavesOnly=1