Hey Galaxy developers!

I was wondering if anyone knows how to send data to a local galaxy instance from another server (I'm interested in sending a BAM file to Galaxy). I see that UCSC and others have done it but couldn't find anything about the API doc they are using...

Looking at the request headers from UCSC, I see that this request:

  1. tool_id:
    bx_browser
  2. URL:
  3. hguid:
    883956
  4. db:
    hg18
  5. org:
    Human
  6. hgta_table:
    seq
  7. hgta_track:
    gold
  8. hgta_regionType:
    genome
  9. hgta_outputType:
    primaryTable
  10. position:
    chr10:90997300-90997350
  11. hgta_doTopSubmit:
    get output
  12. hgsid:
    62857
  13. hgta_doGalaxyQuery:
    Send query to Galaxy

has been sent to:

http://main.g2.bx.psu.edu/tool_runner

Is this all needed? If so how is the URL to the data file passed to Galaxy?

Many thanks!
Amir