{
  "opencollection": "1.0.0",
  "info": {
    "name": "Optimizely Campaign REST Assets Smart Campaigns API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Smart Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List smart campaigns",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.campaign.episerver.net/rest/:clientId/smartcampaigns",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the Optimizely Campaign client"
              }
            ]
          },
          "docs": "Returns a list of smart campaigns for the specified client."
        },
        {
          "info": {
            "name": "Get a smart campaign",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.campaign.episerver.net/rest/:clientId/smartcampaigns/:campaignId",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the Optimizely Campaign client"
              },
              {
                "name": "campaignId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the campaign"
              }
            ]
          },
          "docs": "Retrieves the details of a specific smart campaign."
        },
        {
          "info": {
            "name": "Start a smart campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.campaign.episerver.net/rest/:clientId/smartcampaigns/:campaignId/start",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the Optimizely Campaign client"
              },
              {
                "name": "campaignId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the campaign"
              }
            ]
          },
          "docs": "Starts the specified smart campaign, beginning the automated workflow execution."
        },
        {
          "info": {
            "name": "Pause a smart campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.campaign.episerver.net/rest/:clientId/smartcampaigns/:campaignId/pause",
            "params": [
              {
                "name": "clientId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the Optimizely Campaign client"
              },
              {
                "name": "campaignId",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the campaign"
              }
            ]
          },
          "docs": "Pauses the specified smart campaign."
        }
      ]
    }
  ],
  "bundled": true
}