{
  "opencollection": "1.0.0",
  "info": {
    "name": "Matillion DPC Agents ETL Tasks API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "ETL Tasks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List running tasks (legacy).",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://eu1.api.matillion.com/dpc/rest/v1/task/running",
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "List running tasks (legacy)."
        },
        {
          "info": {
            "name": "Get a task by id (legacy).",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://eu1.api.matillion.com/dpc/rest/v1/task/id/:taskId",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "The Matillion ETL task id."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a task by id (legacy)."
        },
        {
          "info": {
            "name": "Cancel a task by id (legacy).",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://eu1.api.matillion.com/dpc/rest/v1/task/id/:taskId/cancel",
            "params": [
              {
                "name": "taskId",
                "value": "",
                "type": "path",
                "description": "The Matillion ETL task id."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Cancel a task by id (legacy)."
        },
        {
          "info": {
            "name": "Page task history (legacy).",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://eu1.api.matillion.com/dpc/rest/v1/task/history",
            "params": [
              {
                "name": "since",
                "value": "",
                "type": "query",
                "description": "Return tasks since this timestamp."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of tasks to return."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset into the history for pagination."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Page task history (legacy)."
        }
      ]
    }
  ],
  "bundled": true
}