Thon,

Without getting my hands on it, my hunch is that this isn't directly possible 
out of the box as a 'copy' type operation.  That said, it's a fairly 
straightforward (and sensible) addition if not.  Contributions would be 
welcome, as always.  I've added a Trello card for this here: 
https://trello.com/c/lwBDzAEi

That said, my guess is that you could (if file path upload is enabled on your 
server) specify those options for a library dataset upload.  So, via the API, 
you'd get the file path of the hda's dataset, and then re-enter that in the 
post to library_contents 
(https://galaxy-dist.readthedocs.org/en/latest/_modules/galaxy/webapps/galaxy/api/library_contents.html#LibraryContentsController.create).
  This is a hack, though it would probably work without any additional code 
changes.

-Dannon


On Feb 3, 2013, at 4:31 AM, Thon de Boer <thondeb...@me.com> wrote:

> The documentation for the API is looking real nice...Great...
> I do have some trouble finding how I move a history item into a data
> library...
> 
> Could you give me a few pointers which API call to make for that?
> We can assume I have the HDA indentifiers for those objects, just need to
> know the command for moving it into a folder of the data library?
> 
> Thanks!
> 
> Thon
> 
> -----Original Message-----
> From: galaxy-dev-boun...@lists.bx.psu.edu
> [mailto:galaxy-dev-boun...@lists.bx.psu.edu] On Behalf Of Dannon Baker
> Sent: Saturday, February 02, 2013 7:57 PM
> To: mark.r...@syngenta.com
> Cc: galaxy-dev@lists.bx.psu.edu
> Subject: Re: [galaxy-dev] galaxy api documentation
> 
> Mark,
> 
> There's documentation currently available here:
> https://galaxy-dist.readthedocs.org/en/latest/lib/galaxy.webapps.galaxy.api.
> html
> 
> Is there anything else in particular you're looking for?
> 
> -Dannon
> 
> 
> On Feb 2, 2013, at 9:15 PM, mark.r...@syngenta.com wrote:
> 
>> Hi All
>> 
>> When is it anticipated that the documentation for the API will be
> available?
>> 
>> Thanks
>> 
>> Mark
>> 
>> 
>> This message may contain confidential information. If you are not the 
>> designated recipient, please notify the sender immediately, and delete 
>> the original and any copies. Any use of the message by you is 
>> prohibited. 
>> ___________________________________________________________
>> Please keep all replies on the list by using "reply all"
>> in your mail client.  To manage your subscriptions to this and other 
>> Galaxy lists, please use the interface at:
>> 
>> http://lists.bx.psu.edu/
> 
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this and other Galaxy
> lists, please use the interface at:
> 
>  http://lists.bx.psu.edu/
> 

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to