v1

latestOpenAPI 3.0.02026-08-062903562.2 MB
Story

listFundraisingPageStories

List Fundraising Page Stories

get/fundraising-pages/{fundraising_page}/stories

Path parameters

fundraising_pageinteger required
Example:2173528

ID of desired Fundraising Page

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

current_pageinteger

Index of current page

first_page_urlstring nullable

URL of first page of results

frominteger nullable

Index of first displayed result within total result set

last_pageinteger

Index of last page in result set

last_page_urlstring nullable

URL of last page of results

next_page_urlstring nullable

URL of next page of results

pathstring nullable

URL of current page of results

per_pageinteger

Maximum number of records returned per page of results

prev_page_urlstring nullable

URL of previous page of results

tointeger nullable

Index of last displayed result within total result set

totalinteger

Total count of records in result set

Example response

{
  "current_page": 1,
  "data": [
    {
      "body": "The main reason that I am raising funds for this organization is to...",
      "comments_count": 3,
      "created_at": "2021-04-23T08:23:21Z",
      "latest_comments": [
        {
          "body": "Example Comment",
          "commentable_id": 72552,
          "commentable_type": "story",
          "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"
        }
      ],
      "likes_count": 14,
      "member_id": 2012,
      "postable_id": 209745,
      "postable_type": "fundraising_team",
      "poster_name": "Buster McTest",
      "shares_count": 8,
      "status": "published",
      "updated_at": "2021-04-23T10:25:03Z",
      "views_count": 46,
      "id": 72552
    }
  ],
  "first_page_url": "{host}/fundraising-pages/2173528/stories?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "{host}/fundraising-pages/2173528/stories?page=1",
  "next_page_url": "https://pro.gofundme.com/api/2.0/resource?page=2",
  "path": "{host}/fundraising-pages/2173528/stories",
  "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
}