Hi Mona,<div><br></div><div>If you append /api to your Midas URL you can see a listing of API methods, along with parameters and some documentation.</div><div><br></div><div><br></div><div>The basic structures in Midas are communities, folders, items and bitstreams.</div>

<div><br></div><div>You can create a community or folder with these calls:</div><div><br></div><div><b>midas.community.create</b></div><div><b>midas.folder.create</b></div><div><br></div><div>To upload files, either create an item or upload to an existing item.</div>
<div><br></div><div>Create an item with</div><div><br></div><div><b>midas.item.create</b></div><div><br></div><div>To upload to an existing item, first get an upload token with</div><div><br></div><div><b>midas.upload.generatetoken</b></div>
<div><br></div><div>then using the upload token you can upload a single bitstream to the item with</div><div><br></div><div><b>midas.upload.perform</b></div><div><br><br>You can upload more bitstreams to the same item (or to a different item) by further calls to <b>midas.upload.generatetoken</b> and <b>midas.upload.perform </b>.</div>
<div><br></div><div>Good Luck,</div><div>Mike</div><div><br><br><br><div class="gmail_quote">On Mon, Jun 25, 2012 at 6:14 PM, Mona Wong <span dir="ltr"><<a href="mailto:mona@sdsc.edu" target="_blank">mona@sdsc.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi:<br>
<br>
        Is there a web API for saving/putting/uploading files into Midas?<br>
<br>
Mona<br>
<br>
<br>
*********************************************<br>
    Mona Wong<br>
    Web & iPad Application Developer<br>
    San Diego Supercomputer Center<br>
<br>
    "Forgive everyone everything."<br>
                                -- Regina Brett<br>
*********************************************<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com" target="_blank">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks,<br>Michael Grauer<br>R & D Engineer<br>Kitware, Inc.<br><a href="tel:919%20969%206990%20x322" value="+19199696990" target="_blank">919 969 6990 x322</a><br>
<br><br><br>
</div>