{ "opencollection": "1.0.0", "info": { "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists Scripts API", "version": "4.2.0" }, "request": { "auth": { "type": "apikey", "key": "AuthToken", "value": "{{AuthToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Scripts", "type": "folder" }, "items": [ { "info": { "name": "Juniper Networks List scripts", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/script-management/scripts" }, "docs": "Returns all script bundles available in Junos Space." }, { "info": { "name": "Juniper Networks Execute script on devices", "type": "http" }, "http": { "method": "POST", "url": "https://{apstra_server}/api/script-management/scripts/:script_id/execute", "params": [ { "name": "script_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Executes a script on one or more managed devices." } ] } ], "bundled": true }