{
  "opencollection": "1.0.0",
  "info": {
    "name": "Donately Accounts Campaigns API",
    "version": "2019-03-15"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List campaigns",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.donately.com/v2/campaigns",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "query",
                "description": "The ID of the account to operate against."
              }
            ]
          },
          "docs": "Returns campaigns for the specified account. CONFIRMED."
        },
        {
          "info": {
            "name": "Create a campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.donately.com/v2/campaigns",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new campaign. MODELED - verify against the live reference."
        },
        {
          "info": {
            "name": "Retrieve a campaign",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.donately.com/v2/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource."
              }
            ]
          },
          "docs": "Retrieves a single campaign by ID. MODELED - verify against the live reference."
        },
        {
          "info": {
            "name": "Update a campaign",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.donately.com/v2/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing campaign. CONFIRMED."
        },
        {
          "info": {
            "name": "Delete a campaign",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.donately.com/v2/campaigns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource."
              }
            ]
          },
          "docs": "Deletes a campaign. MODELED - verify against the live reference."
        }
      ]
    }
  ],
  "bundled": true
}