[Midas] question about uploading file via web api

Mona Wong mona at sdsc.edu
Tue Jul 10 18:35:35 EDT 2012


	I have some questions about uploading a file via the web api:

	1.  How do you hand the actual content to save/upload to Midas via either midas.item.create or midas.upload.perform?

	2.  If the filename already exists, will both midas.item.create and midas.upload.perform automatically create a new revision of that file in Midas?

	3.  What is the difference between midas.upload.perform and midas.item.create?

	4.  For midas.upload.generatetoken, the parameter "itemid" is a bit confusing...it says "parent item", is it really "folderid" and "parent folder"?

thanks,
Mona

*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    Believing we are in control is an
    illusion that brings suffering.
*********************************************





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120710/ae0e8505/attachment.html>


More information about the Midas mailing list