6a2563095fd31472040d16eae2b2527945767f07
lrnassar
Thu May 16 16:46:08 2019 -0700
Some missing anchor closings found by htmlCheck strictTagNestCheck
diff --git src/hg/htdocs/goldenPath/help/api.html src/hg/htdocs/goldenPath/help/api.html
index bfa2a48..188cc5c 100755
--- src/hg/htdocs/goldenPath/help/api.html
+++ src/hg/htdocs/goldenPath/help/api.html
@@ -41,33 +41,33 @@
What type of data can be accessed ?
The following data sets can be accessed at this time:
- List of available public hubs
- List of available UCSC Genome Browser genome assemblies
- List genomes from a specified assembly or track hub
- List available data tracks from a specified hub or UCSC Genome Browser genome assembly
(see also: track definition help)
-- List of chromosomes contained in an assembly hub or UCSC Genome Browser genome assembly
+
- List of chromosomes contained in an assembly hub or UCSC Genome Browser genome assembly
- List of chromosomes contained in a specific track of an assembly or track hub, or UCSC Genome
-Browser genome assembly
+Browser genome assembly
- Return DNA sequence from an assembly hub 2bit file, or UCSC Genome Browser assembly
- Return track data from a specified assembly or track hub, or UCSC Genome Browser assembly
Endpoint functions to return data
The url https://api.genome.ucsc.edu/ is used to access
the endpoint functions. For example:
curl -L 'https://api.genome.ucsc.edu/list/ucscGenomes'
@@ -96,31 +96,31 @@
assembly
chrom=<chrN> - specify chromosome name for sequence or track data
start=<123> - specify start coordinate (0 relative) for data from track or sequence
retrieval (start and end required together). See also: UCSC browser coordinate counting systems
end=<456> - specify end coordinate (1 relative) for data from track or sequence
retrieval (start and end required together). See also: UCSC browser coordinate counting systems
maxItemsOutput=1000 - limit number of items to output, default: 1,000, maximum limit:
1,000,000 (use -1 to get maximum output)
trackLeavesOnly=1 - on /list/tracks function, only show tracks, do not show
composite container information
jsonOutputArrays=1 - on /getData/track function, JSON format is array type
-for each item of data, instead of the default object type
+for each item of data, instead of the default object type
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.genome.ucsc.edu/getData/sequence?genome=hg38;chrom=chrM
Required and optional parameters