{
  "opencollection": "1.0.0",
  "info": {
    "name": "Classy API (GoFundMe Pro) Authentication Campaigns API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a campaign",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.classy.org/2.0/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              },
              {
                "name": "with",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of related sub-resources to eager-load, e.g. items, source_tracking_codes, organization, member."
              }
            ]
          },
          "docs": "Retrieve a campaign"
        },
        {
          "info": {
            "name": "Update a campaign",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.classy.org/2.0/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              },
              {
                "name": "with",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of related sub-resources to eager-load, e.g. items, source_tracking_codes, organization, member."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a campaign"
        },
        {
          "info": {
            "name": "Retrieve a campaign's fundraising overview",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.classy.org/2.0/campaigns/:id/overview",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              }
            ]
          },
          "docs": "Progress totals - raised amount, goal, donor count - for a campaign."
        },
        {
          "info": {
            "name": "Publish a campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.classy.org/2.0/campaigns/:id/publish",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              }
            ]
          },
          "docs": "Publish a campaign"
        },
        {
          "info": {
            "name": "Unpublish a campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.classy.org/2.0/campaigns/:id/unpublish",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              }
            ]
          },
          "docs": "Unpublish a campaign"
        },
        {
          "info": {
            "name": "Deactivate a campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.classy.org/2.0/campaigns/:id/deactivate",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              }
            ]
          },
          "docs": "Deactivate a campaign"
        },
        {
          "info": {
            "name": "List a campaign's fundraising pages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.classy.org/2.0/campaigns/:id/fundraising-pages",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              },
              {
                "name": "with",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of related sub-resources to eager-load, e.g. items, source_tracking_codes, organization, member."
              }
            ]
          },
          "docs": "List a campaign's fundraising pages"
        },
        {
          "info": {
            "name": "Create a fundraising page under a campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.classy.org/2.0/campaigns/:id/fundraising-pages",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              },
              {
                "name": "with",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of related sub-resources to eager-load, e.g. items, source_tracking_codes, organization, member."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a fundraising page under a campaign"
        },
        {
          "info": {
            "name": "List a campaign's fundraising teams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.classy.org/2.0/campaigns/:id/fundraising-teams",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              }
            ]
          },
          "docs": "List a campaign's fundraising teams"
        },
        {
          "info": {
            "name": "Create a fundraising team under a campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.classy.org/2.0/campaigns/:id/fundraising-teams",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a fundraising team under a campaign"
        },
        {
          "info": {
            "name": "List a campaign's designations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.classy.org/2.0/campaigns/:id/designations",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              }
            ]
          },
          "docs": "List a campaign's designations"
        },
        {
          "info": {
            "name": "List a campaign's unassigned designations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.classy.org/2.0/campaigns/:id/unassigned-designations",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              }
            ]
          },
          "docs": "List a campaign's unassigned designations"
        },
        {
          "info": {
            "name": "List a campaign's transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.classy.org/2.0/campaigns/:id/transactions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              },
              {
                "name": "with",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of related sub-resources to eager-load, e.g. items, source_tracking_codes, organization, member."
              }
            ]
          },
          "docs": "List a campaign's transactions"
        },
        {
          "info": {
            "name": "Create a transaction on a campaign (offline / bulk donations)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.classy.org/2.0/campaigns/:id/transactions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              },
              {
                "name": "with",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of related sub-resources to eager-load, e.g. items, source_tracking_codes, organization, member."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Posts an offline donation transaction against a campaign, as used by the official \"Bulk Offline Donations\" Postman collection for CSV/JSON batch imports."
        },
        {
          "info": {
            "name": "List a campaign's source tracking codes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.classy.org/2.0/campaigns/:id/source-tracking-codes",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the resource."
              },
              {
                "name": "fundraisingTeams",
                "value": "",
                "type": "query"
              },
              {
                "name": "fundraisingPages",
                "value": "",
                "type": "query"
              },
              {
                "name": "transactions",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List a campaign's source tracking codes"
        }
      ]
    }
  ],
  "bundled": true
}