{
  "opencollection": "1.0.0",
  "info": {
    "name": "Heroku Platform Account Dynos API",
    "version": "3"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Dynos",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List dynos",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.heroku.com/apps/:app_id_or_name/dynos",
            "params": [
              {
                "name": "app_id_or_name",
                "value": "",
                "type": "path",
                "description": "App ID (UUID) or app name"
              }
            ]
          },
          "docs": "List existing dynos for an app."
        },
        {
          "info": {
            "name": "Create a dyno",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.heroku.com/apps/:app_id_or_name/dynos",
            "params": [
              {
                "name": "app_id_or_name",
                "value": "",
                "type": "path",
                "description": "App ID (UUID) or app name"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new dyno (one-off or run command)."
        },
        {
          "info": {
            "name": "Get dyno info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.heroku.com/apps/:app_id_or_name/dynos/:dyno_id_or_name",
            "params": [
              {
                "name": "app_id_or_name",
                "value": "",
                "type": "path",
                "description": "App ID (UUID) or app name"
              },
              {
                "name": "dyno_id_or_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get dyno info"
        },
        {
          "info": {
            "name": "Stop a dyno",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.heroku.com/apps/:app_id_or_name/dynos/:dyno_id_or_name/actions/stop",
            "params": [
              {
                "name": "app_id_or_name",
                "value": "",
                "type": "path",
                "description": "App ID (UUID) or app name"
              },
              {
                "name": "dyno_id_or_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Stop a dyno"
        },
        {
          "info": {
            "name": "Restart all dynos",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.heroku.com/apps/:app_id_or_name/dynos/actions/restart-all",
            "params": [
              {
                "name": "app_id_or_name",
                "value": "",
                "type": "path",
                "description": "App ID (UUID) or app name"
              }
            ]
          },
          "docs": "Restart all dynos"
        }
      ]
    }
  ],
  "bundled": true
}