[Midas] question about uploading file via web api

Michael Grauer michael.grauer at kitware.com
Thu Jul 12 17:45:11 EDT 2012


On Thu, Jul 12, 2012 at 5:24 PM, Mona Wong <mona at sdsc.edu> wrote:

>
> Thanks for the great info Michael!
>
> 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?
>>
>>
> If you call midas.item.create and try to create an Item in a Folder where
> there is already an Item by that name, Midas will create a new Item in that
> folder with an incremented number.
>
>
> Instead of creating a new file item in that folder, what if I want to save
> a new revision of the same file item?  Can I skip the midas.item.create and
> midas.upload.generatetoken steps and go straight to the
> midas.upload.perform?
>
>
You can skip the midas.item.create step, but you will still need the
midas.upload.generatetoken and midas.upload.perform steps.


> Mona
>
> *********************************************
>     Mona Wong
>     Web & iPad Application Developer
>     San Diego Supercomputer Center
>
>     Believing we are in control is an
>     illusion that brings suffering.
> *********************************************
>
>
>
>
>
>


-- 
Thanks,
Michael Grauer
R & D Engineer
Kitware, Inc.
919 969 6990 x322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120712/ad937ad7/attachment.html>


More information about the Midas mailing list