{ "opencollection": "1.0.0", "info": { "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists API", "version": "4.2.0" }, "request": { "auth": { "type": "apikey", "key": "AuthToken", "value": "{{AuthToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Allowlists and Blocklists", "type": "folder" }, "items": [ { "info": { "name": "Juniper Networks Get allowlist entries", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/lists/allowlist" }, "docs": "Returns all entries in the allowlist." }, { "info": { "name": "Juniper Networks Add to allowlist", "type": "http" }, "http": { "method": "POST", "url": "https://{apstra_server}/api/lists/allowlist", "body": { "type": "json", "data": "{}" } }, "docs": "Adds an entry to the allowlist." }, { "info": { "name": "Juniper Networks Get blocklist entries", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/lists/blocklist" }, "docs": "Returns all entries in the blocklist." }, { "info": { "name": "Juniper Networks Add to blocklist", "type": "http" }, "http": { "method": "POST", "url": "https://{apstra_server}/api/lists/blocklist", "body": { "type": "json", "data": "{}" } }, "docs": "Adds an entry to the blocklist." } ] } ], "bundled": true }