On Apr 18, 2013, at 6:36 AM, Hagai Cohen wrote:

> Hi,
> How can I create a folder inside another library folder?
> I tried:
> 
> lib_create_data = {
>                            'name':'mm9',
>                            'create_type': 'folder',
>                            }
> submit(api_key, api_url + "libraries/%s/contents" % library_id, 
> lib_create_data, return_formatted=False)
> 
> Where library_id is the upper library folder id.
> 
> 
> But this failed with the following error:
> Error. "Missing requred 'folder_id' parameter."
> 
> Does someone know how to do this?
> Thanks,
> Hagai

Hi Hagai,

You'll need to provide the encoded ID of the library's root folder as 
'folder_id' if you are trying to create a new library-top-level folder.

--nate


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

Reply via email to