v1
latestOpenAPI 3.0.02026-08-062903562.2 MBFeed Item
listCampaignFeedItems
List all Feed Items for specified Campaign (Direct)
get/campaigns/{campaign}/feed-items
Path parameters
campaigninteger required
Example:227362
ID of desired Campaign
Query parameters
pageinteger
Example:1
Indicator of which page of results to return
per_pageinteger
Example:20
Number of entries to return in each page of results
communalboolean
Example:true
Only fetch public (non-admin) feed items, otherwise all feed items
Response
Success
Example response
{
"current_page": 1,
"data": [
{
"id": 987,
"agent_id": 438475,
"agent_type": "member",
"agent_name": "John Doe",
"member_name": "Jane Doe",
"feedable_id": 4857,
"feedable_type": "fundraising_team",
"feedable_value": "GoFundMe Pro fundraising campaign",
"linkable_id": 4832,
"linkable_type": "fundraising_page",
"linkable_value": "How to keep donors engaged",
"linkable_effective_at": "2021-04-23T10:25:03Z",
"type": "creation",
"comment": "Thanks for the great cause, happy to support!",
"comments_count": 78,
"likes_count": 8,
"created_at": "2021-04-23T10:25:03Z",
"updated_at": "2021-04-23T10:25:03Z",
"visibility": "public",
"latest_comments": [
{
"body": "Example Comment",
"commentable_id": 876,
"commentable_type": "feed_item",
"commenter_name": "GoFundMe Pro Commenter",
"author_display_name": "Pat Supporter",
"created_at": "2021-04-23T08:23:21Z",
"id": 47281,
"likes_count": 5,
"member_id": 2012,
"updated_at": "2021-04-23T08:23:21Z"
}
],
"author_display_name": "Pat Supporter"
}
],
"first_page_url": "{host}/campaigns/227362/feed-items?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "{host}/campaigns/227362/feed-items?page=1",
"next_page_url": "https://pro.gofundme.com/api/2.0/resource?page=2",
"path": "{host}/campaigns/227362/feed-items",
"per_page": 20,
"prev_page_url": "https://pro.gofundme.com/api/2.0/resource?page=1",
"links": [
{
"label": "1",
"url": "{host}/{resource}?page=1",
"active": true
}
],
"to": 1,
"total": 1
}