Re: [galaxy-dev] Share history (or change history ownership) through the Galaxy API?

2014-01-15 Thread Martin Čech
Daniel: You can create a history item through API by importing dataset from
library (that would be this method:
https://galaxy-central.readthedocs.org/en/latest/lib/galaxy.webapps.galaxy.api.html#galaxy.webapps.galaxy.api.history_contents.HistoryContentsController.create
).

For uploading bigger files I would recommend using the FTP (
https://wiki.galaxyproject.org/FTPUpload)

Martin


On Wed, Jan 15, 2014 at 2:18 PM, Daniel Sobral wrote:

>  Thanks Martin,
>
> I saw that you can upload a file directly to a history using the API
> through the upload tool, but then it has limitations in terms of file size,
> no?
> Would it be useable with large files?
>
> Thanks,
> Daniel
>
>
> On 01/15/2014 07:05 PM, Martin Čech wrote:
>
> Hi Daniel,
>
>  I am sorry but Galaxy API doesn't support sharing of histories yet.
>
>  For further notice these two parts of the API documentation are the most
> relevant for the histories API:
>
>
> https://galaxy-central.readthedocs.org/en/latest/lib/galaxy.webapps.galaxy.api.html#module-galaxy.webapps.galaxy.api.histories
>
> https://galaxy-central.readthedocs.org/en/latest/lib/galaxy.webapps.galaxy.api.html#module-galaxy.webapps.galaxy.api.history_contents
>
>  Martin, Galaxy Team
>
>
>
> On Wed, Jan 15, 2014 at 1:36 PM, Daniel Sobral 
> wrote:
>
>> Hello,
>>
>> Is it possible to share a history with a user (by user name) or change
>> ownership through the Galaxy API?
>> I didn't see any example doing this.
>>
>> Thanks.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel Sobral,
>> Bioinformatics Unit
>> Instituto Gulbenkian de Ciência
>>
>> ___
>> 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/
>>
>> To search Galaxy mailing lists use the unified search at:
>>   http://galaxyproject.org/search/mailinglists/
>>
>
>
>
> --
> Daniel Sobral,
> Bioinformatics Unit
> Instituto Gulbenkian de Ciência
>
>
___
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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] Share history (or change history ownership) through the Galaxy API?

2014-01-15 Thread Daniel Sobral
Thanks Martin,

I saw that you can upload a file directly to a history using the API
through the upload tool, but then it has limitations in terms of file
size, no?
Would it be useable with large files?

Thanks,
Daniel

On 01/15/2014 07:05 PM, Martin Čech wrote:
> Hi Daniel,
>
> I am sorry but Galaxy API doesn't support sharing of histories yet.
>
> For further notice these two parts of the API documentation are the
> most relevant for the histories API:
>
> https://galaxy-central.readthedocs.org/en/latest/lib/galaxy.webapps.galaxy.api.html#module-galaxy.webapps.galaxy.api.histories
> https://galaxy-central.readthedocs.org/en/latest/lib/galaxy.webapps.galaxy.api.html#module-galaxy.webapps.galaxy.api.history_contents
>
> Martin, Galaxy Team
>
>
>
> On Wed, Jan 15, 2014 at 1:36 PM, Daniel Sobral
> mailto:dsob...@igc.gulbenkian.pt>> wrote:
>
> Hello,
>
> Is it possible to share a history with a user (by user name) or change
> ownership through the Galaxy API?
> I didn't see any example doing this.
>
> Thanks.
>
> Cheers,
> Daniel
>
> --
> Daniel Sobral,
> Bioinformatics Unit
> Instituto Gulbenkian de Ciência
>
> ___
> 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/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
>
>


-- 
Daniel Sobral,
Bioinformatics Unit
Instituto Gulbenkian de Ciência

___
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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] Share history (or change history ownership) through the Galaxy API?

2014-01-15 Thread Martin Čech
Hi Daniel,

I am sorry but Galaxy API doesn't support sharing of histories yet.

For further notice these two parts of the API documentation are the most
relevant for the histories API:

https://galaxy-central.readthedocs.org/en/latest/lib/galaxy.webapps.galaxy.api.html#module-galaxy.webapps.galaxy.api.histories
https://galaxy-central.readthedocs.org/en/latest/lib/galaxy.webapps.galaxy.api.html#module-galaxy.webapps.galaxy.api.history_contents

Martin, Galaxy Team



On Wed, Jan 15, 2014 at 1:36 PM, Daniel Sobral wrote:

> Hello,
>
> Is it possible to share a history with a user (by user name) or change
> ownership through the Galaxy API?
> I didn't see any example doing this.
>
> Thanks.
>
> Cheers,
> Daniel
>
> --
> Daniel Sobral,
> Bioinformatics Unit
> Instituto Gulbenkian de Ciência
>
> ___
> 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/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
>
___
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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

[galaxy-dev] Share history (or change history ownership) through the Galaxy API?

2014-01-15 Thread Daniel Sobral
Hello,

Is it possible to share a history with a user (by user name) or change
ownership through the Galaxy API?
I didn't see any example doing this.

Thanks.

Cheers,
Daniel

-- 
Daniel Sobral,
Bioinformatics Unit
Instituto Gulbenkian de Ciência

___
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/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/