{ "opencollection": "1.0.0", "info": { "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists Authentication API", "version": "4.2.0" }, "request": { "auth": { "type": "apikey", "key": "AuthToken", "value": "{{AuthToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Authentication", "type": "folder" }, "items": [ { "info": { "name": "Juniper Networks Authenticate user", "type": "http" }, "http": { "method": "POST", "url": "https://{apstra_server}/api/aaa/login", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticates a user and returns an authentication token. The token must be included in subsequent requests as an AuthToken header." }, { "info": { "name": "Juniper Networks Authenticate", "type": "http" }, "http": { "method": "POST", "url": "https://{apstra_server}/api/auth/login", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticates a user and returns an API session token." } ] } ], "bundled": true }