By browsing the api code, I discovered that looks like
it should be used.  Why this and not  There seems to be
overlap of these two.  I would expect to upload files to folders within

On Thu, Jun 25, 2015 at 2:43 PM, Ryan G <> wrote:

> Hi all - I'm trying to figure out how to script the ability to upload data
> (fastq) files to Galaxy via the API.
> I can get the Library's root_folder_id, but am unsure of what the API call
> is to upload a file.  I'm constructing this dictionary:
>     data = {}
>     data['folder_id'] = galaxyFolderId
>     data['create_type'] = 'file'
>     data['file_type'] = 'fastq'
>     data['upload_option'] = 'upload_paths'
>     data['filesystem_paths'] = fileToUpload
>     data['link_data_only'] = 'link_to_files'
> I assume this is the correct format based on other code I've seen, but I'm
> not sure what the actual submit call should be. 'api/libraries/' or
> 'api/folders'????
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:

To search Galaxy mailing lists use the unified search at:

Reply via email to