{
  "opencollection": "1.0.0",
  "info": {
    "name": "Plandex Server Accounts Diffs API",
    "version": "2"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Diffs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Apply Plan Changes",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/:branch/apply",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Apply all pending file changes for the plan on the given branch."
        },
        {
          "info": {
            "name": "Reject All Plan Changes",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/:branch/reject_all",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Reject every pending file change for the plan on the branch."
        },
        {
          "info": {
            "name": "Reject Plan File Change",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/:branch/reject_file",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Reject pending changes for a single file."
        },
        {
          "info": {
            "name": "Reject Multiple File Changes",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:8099/plans/:planId/:branch/reject_files",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Reject pending changes for the supplied list of files."
        },
        {
          "info": {
            "name": "Get Plan Diffs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8099/plans/:planId/:branch/diffs",
            "params": [
              {
                "name": "planId",
                "value": "",
                "type": "path"
              },
              {
                "name": "branch",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get the unified diff of pending changes for the plan branch."
        }
      ]
    }
  ],
  "bundled": true
}