Перейти к основному содержимому

Получить задачу по ID

GET
/tasks/{id}

Контракт

Параметр
Значение
Разделtasks
АвторизацияCookieAuth
Принимаетне требуется
Возвращаетapplication/json

Параметры

1 параметр

Имя
Где
Обязательный
Тип
Описание
idpathдаintegerID задачи

Ответы

4 ответов

Статус
Описание
Тип
200
Успешный ответobject
400
Некорректный IDobject
401
Не авторизованobject
500
Задача не найденаobject
  • {
      "accessPlane": [
        {
          "accessLine": [
            0
          ],
          "agent": {
            "id": 0
          },
          "dhcp": [
            0
          ],
          "dhcpv6": [
            0
          ],
          "dot1x": [
            0
          ],
          "gptp": [
            0
          ],
          "groupId": 0,
          "igmp": [
            0
          ],
          "interfaces": [
            0
          ],
          "ipoe": [
            0
          ],
          "isServer": true,
          "l2tp": [
            0
          ],
          "lag": [
            0
          ],
          "links": [
            0
          ],
          "openflow": [
            0
          ],
          "ppp": [
            0
          ],
          "pppoe": [
            0
          ],
          "role": "<string>",
          "sessions": [
            0
          ],
          "stp": [
            0
          ]
        }
      ],
      "comment": "<string>",
      "configuration": [
        {
          "plugin": {
            "id": 0
          },
          "subplugins": {
            "duration": {},
            "subplugins": [
              {}
            ]
          },
          "values": {
            "applicationParams": {},
            "clientPortRange": "<string>",
            "convergenceFlows": 0,
            "cpuCores": 0,
            "cveReplayParams": {},
            "dnsParams": {},
            "duration": {},
            "frameSize": 0,
            "harReplayParams": {},
            "httpParams": {},
            "initialTps": 0,
            "invalidChecksum": true,
            "ipLayer": {},
            "ipsecAuthMethod": "<string>",
            "ipsecCa": "<string>",
            "ipsecCert": "<string>",
            "ipsecCipher": "<string>",
            "ipsecCipherKey": "<string>",
            "ipsecDpdInterval": 0,
            "ipsecDpdTimeout": 0,
            "ipsecEncrypt": 0,
            "ipsecIkeDh": "<string>",
            "ipsecIkeEncr": "<string>",
            "ipsecIkePrf": "<string>",
            "ipsecInnerDstEnd": "<string>",
            "ipsecInnerDstStart": "<string>",
            "ipsecInnerSrcEnd": "<string>",
            "ipsecInnerSrcStart": "<string>",
            "ipsecKey": "<string>",
            "ipsecLoadConcurrentHs": 0,
            "ipsecLoadHsRatePps": 0,
            "ipsecLoadKeepalivePps": 0,
            "ipsecLoadLocalBaseIp": "<string>",
            "ipsecLoadPeerBaseIp": "<string>",
            "ipsecLoadPeerCount": 0,
            "ipsecLoadPeerShareEndpoint": 0,
            "ipsecLoadRecycleAfterMs": 0,
            "ipsecLoadResponderIdleRecycleMs": 0,
            "ipsecLoadResponderPoolCap": 0,
            "ipsecLoadRole": "<string>",
            "ipsecLoadSrcIpCount": 0,
            "ipsecMode": "<string>",
            "ipsecMultiChildCount": 0,
            "ipsecNatt": 0,
            "ipsecPeerBase": "<string>",
            "ipsecPeerCount": 0,
            "ipsecPfs": 0,
            "ipsecPsk": "<string>",
            "ipsecRekeyTime": 0,
            "ipsecSaLifetime": 0,
            "ipsecSpi": "<string>",
            "ipsecTsDstEnd": "<string>",
            "ipsecTsDstStart": "<string>",
            "ipsecTsSrcEnd": "<string>",
            "ipsecTsSrcStart": "<string>",
            "ipsecTunnelCount": 0,
            "ipsecTunnelOpenRatePps": 0,
            "ipsecTunnelPeerShareEndpoint": 0,
            "ipsecTunnelSrcIpCount": 0,
            "isServer": true,
            "keepAlive": {},
            "l2PolicyVersion": 0,
            "malwareFiles": [
              0
            ],
            "maxStreams": 0,
            "packetsPerSecond": 0,
            "payload": {},
            "pcapReplayParams": {},
            "ppsPerConnection": 0,
            "ppsUnlimited": true,
            "reopenSessionTime": 0,
            "requestInterval": 0,
            "requestsPerSecond": 0,
            "rocev2Params": {},
            "rotationMode": "<string>",
            "rpsUnlimited": true,
            "sessionsPerSecond": 0,
            "sources": [
              {}
            ],
            "targets": [
              {}
            ],
            "tcpConfiguration": {},
            "tlsParams": {},
            "totalSessions": 0,
            "tpsRampStep": 0,
            "tunnelClientIp": "<string>",
            "tunnelEndpoints": "<string>",
            "tunnelID": 0,
            "tunnelIDs": [
              0
            ],
            "tunnelServerIp": "<string>",
            "wafModules": {}
          }
        }
      ],
      "controlPlane": [
        {
          "access": [
            0
          ],
          "agent": {
            "id": 0
          },
          "bfd": [
            0
          ],
          "bgp": [
            0
          ],
          "evpn": [
            0
          ],
          "fec129": [
            0
          ],
          "igmp": [
            0
          ],
          "igmp-querier": [
            0
          ],
          "interfaces": [
            [
              0
            ]
          ],
          "isServer": true,
          "isis": [
            0
          ],
          "ldp": [
            0
          ],
          "link-oam": [
            0
          ],
          "mld": [
            0
          ],
          "mld-querier": [
            0
          ],
          "mldp": [
            0
          ],
          "mpls-oam": [
            0
          ],
          "mpls-tp": [
            0
          ],
          "ospf": [
            0
          ],
          "pim": [
            0
          ],
          "pseudowire": [
            0
          ],
          "rip": [
            0
          ],
          "vpls": [
            0
          ],
          "vpws": [
            0
          ]
        }
      ],
      "createdAt": "<string>",
      "deletedAt": "<string>",
      "dumps": {
        "captureArp": true,
        "enabled": true,
        "savelen": 0
      },
      "error": "<string>",
      "finishedAt": "<string>",
      "id": 0,
      "issuer": {
        "agreementAccepted": true,
        "createdAt": "<string>",
        "deletedAt": "<string>",
        "email": "<string>",
        "group": {
          "createdAt": "<string>",
          "deletedAt": "<string>",
          "id": 0,
          "issuer": {},
          "issuerID": 0,
          "name": "<string>",
          "permissions": [
            {}
          ],
          "updatedAt": "<string>",
          "users": [
            {}
          ]
        },
        "groupID": 0,
        "id": 0,
        "isActive": true,
        "isRequiredToSetPassword": true,
        "lastLogin": "<string>",
        "notificationsReadAt": "<string>",
        "passwordLength": 0,
        "realName": "<string>",
        "updatedAt": "<string>"
      },
      "issuerID": 0,
      "startedAt": "<string>",
      "status": 0,
      "updatedAt": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }