{
  "opencollection": "1.0.0",
  "info": {
    "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists RPC API",
    "version": "4.2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "AuthToken",
      "value": "{{AuthToken}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "RPC",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Juniper Networks Execute arbitrary RPC command",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{apstra_server}/api/rpc/:rpc_command",
            "params": [
              {
                "name": "rpc_command",
                "value": "",
                "type": "path",
                "description": "RPC command name (e.g., get-interface-information, get-route-engine-information)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Executes any valid Junos RPC command. The RPC command name is derived from the CLI command by replacing spaces with hyphens and prefixing with 'get-' for show commands."
        }
      ]
    }
  ],
  "bundled": true
}