{
  "opencollection": "1.0.0",
  "info": {
    "name": "GoFundMe Pro Campaign Channel API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/oauth2/auth",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Campaign Channel",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listCampaignChannels",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pro.gofundme.com/api/2.0/campaigns/:campaign/channels",
            "params": [
              {
                "name": "campaign",
                "value": "",
                "type": "path",
                "description": "The specified Campaign ID"
              },
              {
                "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": "Retrieves a list of all Channels for the specified Campaign"
        },
        {
          "info": {
            "name": "createCampaignChannel",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pro.gofundme.com/api/2.0/campaigns/:campaign/channels",
            "params": [
              {
                "name": "campaign",
                "value": "",
                "type": "path",
                "description": "The specified Campaign ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "/oauth2/auth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Channel for specified Campaign"
        },
        {
          "info": {
            "name": "updateCampaignChannel",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://pro.gofundme.com/api/2.0/campaign-channels/:campaign_channel",
            "params": [
              {
                "name": "campaign_channel",
                "value": "",
                "type": "path",
                "description": "The specified Campaign Channel ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "/oauth2/auth",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update campaign channel"
        }
      ]
    }
  ],
  "bundled": true
}