Skip to content

Get Share Counts

Diego edited this page May 20, 2013 · 10 revisions

GET /api/:locale/movements/:movement_id/action_pages/:id/share_counts(.:format)

Retrieves the shares count for the requested action page

Parameters
movement_id
Mandatory
Movement ID for which we want to retrieve the share counts
locale
Mandatory
Action Page localized version
id
Mandatory
Action Page Id for which we want to retrieve the share counts

Response

Status Code

200 if Successful
400 If Action Page ID not provided

Content

Field Description
Share counts See Share Counts

Example Request

GET /api/en/movements/test-movement/action_pages/909/share_counts.json

Example Response

200 (OK)
Content-Type: application/json

{"facebook":0,
"twitter":0,
"email":0
}

back

Clone this wiki locally