[Midas] web API to save/put data?

Michael Grauer michael.grauer at kitware.com
Mon Jun 25 18:31:23 EDT 2012


Hi Mona,

If you append /api to your Midas URL you can see a listing of API methods,
along with parameters and some documentation.


The basic structures in Midas are communities, folders, items and
bitstreams.

You can create a community or folder with these calls:

*midas.community.create*
*midas.folder.create*

To upload files, either create an item or upload to an existing item.

Create an item with

*midas.item.create*

To upload to an existing item, first get an upload token with

*midas.upload.generatetoken*

then using the upload token you can upload a single bitstream to the item
with

*midas.upload.perform*


You can upload more bitstreams to the same item (or to a different item) by
further calls to *midas.upload.generatetoken* and *midas.upload.perform *.

Good Luck,
Mike



On Mon, Jun 25, 2012 at 6:14 PM, Mona Wong <mona at sdsc.edu> wrote:

>
> Hi:
>
>        Is there a web API for saving/putting/uploading files into Midas?
>
> Mona
>
>
> *********************************************
>    Mona Wong
>    Web & iPad Application Developer
>    San Diego Supercomputer Center
>
>    "Forgive everyone everything."
>                                -- Regina Brett
> *********************************************
>
>
>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>



-- 
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/20120625/75589f8b/attachment.html>


More information about the Midas mailing list