{
  "opencollection": "1.0.0",
  "info": {
    "name": "Plandex Server Accounts Branches API",
    "version": "2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Branches",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Current Branches By Plan",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8099/projects/:projectId/plans/current_branches",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the current branch for each of the supplied plan IDs."
        },
        {
          "info": {
            "name": "List Plan Branches",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/:planId/branches",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List all branches that exist on the plan."
        },
        {
          "info": {
            "name": "Delete Plan Branch",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:8099/plans/:planId/branches/:branch",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an existing branch from the plan."
        },
        {
          "info": {
            "name": "Create Plan Branch",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:8099/plans/:planId/:branch/branches",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a new branch off the specified branch of the plan."
        }
      ]
    }
  ],
  "bundled": true
}