v1

latestOpenAPI 3.0.02026-08-062903562.2 MB
Story

updateStory

Update Story

put/stories/{story}

Path parameters

storyinteger required
Example:72552

Primary identifier of Story

Request body

bodystring

Main content of Story

status'draft' | 'published'

Indication whether Post is a draft or has been published

titlestring nullable

Title of Post

Example request

{
  "body": "The main reason that I am raising funds for this organization is to...",
  "status": "draft"
}

Response

Success

bodystring

Main content of Post

comments_countinteger

Cached count of the number of Comments made in response to Post

created_atstring date-time

Date/time of initial record creation

likes_countinteger

Cached count of the number of Likes that Post has received

member_idinteger

Primary identifier of Member who created Post (i.e. the poster)

postable_idinteger

Primary identifier of Fundraising Entity for which the Post was made

postable_typestring

String describing type of Fundraising Entity for which the Post was made

poster_namestring nullable

Full name of Post's creator

shares_countinteger

Cached count of the number of times Post has been shared

status'draft' | 'published'

Indication whether Post is a draft or has been published

titlestring nullable

Title of Post

updated_atstring date-time

Date/time of last record update

views_countinteger

Cached count of the number of times Post has been viewed

idinteger

Primary identifier of record

Example response

{
  "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
}