databio / bedhost

API and UI for BEDbase
http://api.bedbase.org
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

link to actual bedfile #3

Closed nsheff closed 4 years ago

nsheff commented 4 years ago

Make sure the API provides:

  1. a REST endpoint to download the actual bed file (should be gzipped)
  2. a link on that file's splash page to download the file we're displaying statistics on.
oddodaoddo commented 4 years ago

Ok on 2, will do.

On 1. - I pushed changes that allow you to say /regionset/?id=\<something>&format=bed

You can also use &format=json to get the json statistics for the bed file and format=html to get to the splash page for that bed file. Does that satisfy 1. above?

oddodaoddo commented 4 years ago

Done.