-
Notifications
You must be signed in to change notification settings - Fork 22
Create share
Diego edited this page May 20, 2013
·
9 revisions
POST /api/movements/:movement_id/shares(.:format)
Creates a new share for the requested action page, user and type of share
Parameters | |
---|---|
movement_idMandatory
|
Movement ID for which we want to create the share |
page_idMandatory
|
Action Page ID for which we want to create the share |
user_idMandatory
|
User ID for which we want to create the share |
share_typeMandatory
|
One of the following: 'facebook', 'twitter' or 'email' |
201
if Successful
400
If share data is invalid
N/A
POST /api/movements/test-movement/shares.json
Content-Type: application/x-www-form-urlencoded
page_id=1234&share_type=facebook&user_id=100
200 (OK)