Topic: Is there any api call to share files?

I am developing an app which is using CloudMe services, for this I need to share files using API call. I have gone through with the following API link, but I couldn't found any documentation/details about any API call related to share files.

API link: [url]https://www.cloudme.com/en/api[/url]

Please provide API call details for files sharing.

Re: Is there any api call to share files?

Hi Mandal,

Sorry for late answer. The API call is the following (page 46 in the more complete documentation):

Create Webshare: POST [url=https://www.cloudme.com/v1/users/\userId\/webshares]https://www.cloudme.com/v1/users/\"userId\"/webshares[/url]
Creates a new webshare for the user with id userId

Example
We create a new webshare for the user with id 15151241

Outgoing message
POST [url]https://www.cloudme.com/v1/users/15151241/webshares[/url] HTTP/1
.1
And attach the webshare message in the body, an example is
<webshare name='webshareName' password='password' description='description'><folder id='562958
546675878' name='hej'/></webshare>"

Incoming answer
<webshare id='646307' userId='12885514210' name='webshareName' description='description' visib
ility='public' password='password' type='' created='2012-10-22T10:08:34Z' updated='2012-10-
22T10:08:34Z'><folder name='hej' id='562958546675878'/></webshare>


You can find full API documentation here:
[url]https://www.cloudme.com/en/api/webservices[/url]

Best, CloudMe Team

Re: Is there any api call to share files?

You need to use HTTP DIGEST in order to make any calls to the CloudMe API. Please check the internet for how to best setup these headers with the software you are using.