v1
latestOpenAPI 3.0.02026-08-062903562.2 MBComment
listUpdateComments
Retrieves a paginated list of Comments for a Update
get/updates/{update}/comments
Path parameters
updateinteger required
Example:72631
The specified Update ID
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
Response
Success
Example response
{
"current_page": 1,
"data": [
{
"body": "Example Comment",
"commentable_id": 736,
"commentable_type": "update",
"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"
}
],
"first_page_url": "{host}/updates/72631/comments?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "{host}/updates/72631/comments?page=1",
"next_page_url": "https://pro.gofundme.com/api/2.0/resource?page=2",
"path": "{host}/updates/72631/comments",
"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
}