POST files/share/:id

Share a file with other users. Requires the user (or email) and must be a POST. Returns the upload sharing object or success message (in case if email parameter provided).

Resource URL
http://whootin.com/api/v1/files/share/:id.format (json | xml)

Parameters
One of user_id or username or email are required.

user_id
optional
The ID of the user who should receive the direct message. Helpful for disambiguating when a valid user ID is also a valid username.
username
optional
The username of the user who should receive the direct message. Helpful for disambiguating when a valid username is also a user ID.
email
optional
An email that will receive a message with attached file.

Example Request

POST http://whootin.com/api/v1/files/share/12.json
POST Data email=you@gmail.com