{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tufin SecureChange REST Compliance Devices API",
    "version": "R25-2"
  },
  "items": [
    {
      "info": {
        "name": "Devices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All Devices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tos_host}/securechangeworkflow/api/securechange/devices",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter by device name (partial match)"
              },
              {
                "name": "vendor",
                "value": "",
                "type": "query",
                "description": "Filter by vendor (e.g., Cisco, Palo Alto, Check Point)"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter by device type"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by management status"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve all network devices (firewalls, routers) managed by SecureTrack, optionally filtered by name, vendor, or management status."
        },
        {
          "info": {
            "name": "Get Device By ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tos_host}/securechangeworkflow/api/securechange/devices/:deviceId",
            "params": [
              {
                "name": "deviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the device"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve a specific network device by its identifier."
        },
        {
          "info": {
            "name": "Update Device",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{tos_host}/securechangeworkflow/api/securechange/devices/:deviceId",
            "params": [
              {
                "name": "deviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the device"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update an offline device's configuration."
        },
        {
          "info": {
            "name": "Get Device Revisions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tos_host}/securechangeworkflow/api/securechange/devices/:deviceId/revisions",
            "params": [
              {
                "name": "deviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the device"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve the list of policy revisions for a device."
        },
        {
          "info": {
            "name": "Get Rules By Device",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tos_host}/securechangeworkflow/api/securechange/devices/:deviceId/rules",
            "params": [
              {
                "name": "deviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the device"
              },
              {
                "name": "policy",
                "value": "",
                "type": "query",
                "description": "Filter by policy name"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve all firewall rules for a specific device."
        },
        {
          "info": {
            "name": "Get Rule By Device and ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tos_host}/securechangeworkflow/api/securechange/devices/:deviceId/rules/:ruleId",
            "params": [
              {
                "name": "deviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the device"
              },
              {
                "name": "ruleId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the rule"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve a specific firewall rule by device and rule ID."
        },
        {
          "info": {
            "name": "Add Offline Device",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{tos_host}/securechangeworkflow/api/securechange/devices/offline",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Add an offline device to SecureTrack management."
        }
      ]
    }
  ],
  "bundled": true
}