{
  "opencollection": "1.0.0",
  "info": {
    "name": "GoFundMe Pro Story API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/oauth2/auth",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Story",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listCampaignStories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pro.gofundme.com/api/2.0/campaigns/:campaign/stories",
            "params": [
              {
                "name": "campaign",
                "value": "",
                "type": "path",
                "description": "ID of desired Campaign"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Indicator of which page of results to return"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of entries to return in each page of results"
              }
            ]
          },
          "docs": "List Campaign Stories"
        },
        {
          "info": {
            "name": "listFundraisingPageStories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pro.gofundme.com/api/2.0/fundraising-pages/:fundraising_page/stories",
            "params": [
              {
                "name": "fundraising_page",
                "value": "",
                "type": "path",
                "description": "ID of desired Fundraising Page"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Indicator of which page of results to return"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of entries to return in each page of results"
              }
            ]
          },
          "docs": "List Fundraising Page Stories"
        },
        {
          "info": {
            "name": "createFundraisingPageStory",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pro.gofundme.com/api/2.0/fundraising-pages/:fundraising_page/stories",
            "params": [
              {
                "name": "fundraising_page",
                "value": "",
                "type": "path",
                "description": "ID of desired Fundraising Page"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "/oauth2/auth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Fundraising Page Story"
        },
        {
          "info": {
            "name": "listFundraisingTeamStories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pro.gofundme.com/api/2.0/fundraising-teams/:fundraising_team/stories",
            "params": [
              {
                "name": "fundraising_team",
                "value": "",
                "type": "path",
                "description": "ID of desired Fundraising Team"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Indicator of which page of results to return"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of entries to return in each page of results"
              }
            ]
          },
          "docs": "List Fundraising Team Stories"
        },
        {
          "info": {
            "name": "createFundraisingTeamStory",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pro.gofundme.com/api/2.0/fundraising-teams/:fundraising_team/stories",
            "params": [
              {
                "name": "fundraising_team",
                "value": "",
                "type": "path",
                "description": "ID of desired Fundraising Team"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "/oauth2/auth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Fundraising Team Story"
        },
        {
          "info": {
            "name": "updateStory",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://pro.gofundme.com/api/2.0/stories/:story",
            "params": [
              {
                "name": "story",
                "value": "",
                "type": "path",
                "description": "Primary identifier of Story"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "/oauth2/auth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Story"
        },
        {
          "info": {
            "name": "deleteStory",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://pro.gofundme.com/api/2.0/stories/:story",
            "params": [
              {
                "name": "story",
                "value": "",
                "type": "path",
                "description": "Primary identifier of Story"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "/oauth2/auth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Story"
        }
      ]
    }
  ],
  "bundled": true
}