{
  "opencollection": "1.0.0",
  "info": {
    "name": "Docker Engine Config Task API",
    "version": "1.54"
  },
  "items": [
    {
      "info": {
        "name": "Task",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List tasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/tasks",
            "params": [
              {
                "name": "filters",
                "value": "",
                "type": "query",
                "description": "A JSON encoded value of the filters (a `map[string][]string`) to\nprocess on the tasks list.\n\nAvailable filters:\n\n- `desired-state=(running | shutdown | accepted)`\n- `id=<task id>`\n- `label=key` or `label=\"key=value\"`\n- `name=<task name>`\n- `node=<node id or name>`\n- `service=<service name>`\n"
              }
            ]
          },
          "docs": "List tasks"
        },
        {
          "info": {
            "name": "Inspect a task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/tasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the task"
              }
            ]
          },
          "docs": "Inspect a task"
        },
        {
          "info": {
            "name": "Get task logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/tasks/:id/logs",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the task"
              },
              {
                "name": "details",
                "value": "",
                "type": "query",
                "description": "Show task context and extra details provided to logs."
              },
              {
                "name": "follow",
                "value": "",
                "type": "query",
                "description": "Keep connection after returning logs."
              },
              {
                "name": "stdout",
                "value": "",
                "type": "query",
                "description": "Return logs from `stdout`"
              },
              {
                "name": "stderr",
                "value": "",
                "type": "query",
                "description": "Return logs from `stderr`"
              },
              {
                "name": "since",
                "value": "",
                "type": "query",
                "description": "Only return logs since this time, as a UNIX timestamp"
              },
              {
                "name": "timestamps",
                "value": "",
                "type": "query",
                "description": "Add timestamps to every log line"
              },
              {
                "name": "tail",
                "value": "",
                "type": "query",
                "description": "Only return this number of log lines from the end of the logs.\nSpecify as an integer or `all` to output all log lines.\n"
              }
            ]
          },
          "docs": "Get `stdout` and `stderr` logs from a task.\nSee also [`/containers/{id}/logs`](#operation/ContainerLogs).\n\n**Note**: This endpoint works only for services with the `local`,\n`json-file` or `journald` logging drivers.\n"
        }
      ]
    }
  ],
  "bundled": true
}