4c733b55a2b422a460903e221f680d53c468afa2 hiram Tue Apr 9 15:59:34 2019 -0700 add the trackLeavesOnly option refs #18869 diff --git src/hg/htdocs/goldenPath/help/api.html src/hg/htdocs/goldenPath/help/api.html index 9b4e6e0..0e3500a 100755 --- src/hg/htdocs/goldenPath/help/api.html +++ src/hg/htdocs/goldenPath/help/api.html @@ -80,52 +80,53 @@
The parameters are added to the endpoint URL beginning with a question mark ?, and multiple parameters are separated with the semi-colon ;. For example:
https://api-test.gi.ucsc.edu/getData/sequence?db=ce11;chrom=chrM
Endpoint function | Required | Optional |
---|---|---|
/list/publicHubs | (none) | (none) |
/list/ucscGenomes | (none) | (none) |
/list/hubGenomes | hubUrl | (none) |
/list/tracks | (hubUrl and genome) or db | (none) |
/list/tracks | (hubUrl and genome) or db | trackLeavesOnly=1 |
/list/chromosomes | ((hubUrl and genome) or db) and track | (none) |
/getData/sequence | ((hubUrl and genome) or db) and chrom | start and end |
/getData/track | ((hubUrl and genome) or db) and track | chrom, (start and end), maxItemsOutput |
The hubUrl and genome parameters are required together to specify a unique genome in an assembly or track hub. The genome for a track hub will usually be a UCSC database genome. Assembly hubs will have their own unique genome sequences.
When not an assembly or track hub, to access UCSC database assemblies, the parameter db=<name> is required.