{ "opencollection": "1.0.0", "info": { "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists Self API", "version": "4.2.0" }, "request": { "auth": { "type": "apikey", "key": "AuthToken", "value": "{{AuthToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Self", "type": "folder" }, "items": [ { "info": { "name": "Juniper Networks Get current user info", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/self" }, "docs": "Returns information about the currently authenticated user." }, { "info": { "name": "Juniper Networks List API tokens", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/self/apitokens" }, "docs": "Returns a list of API tokens for the authenticated user." }, { "info": { "name": "Juniper Networks Create API token", "type": "http" }, "http": { "method": "POST", "url": "https://{apstra_server}/api/self/apitokens", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new API token for the authenticated user." } ] } ], "bundled": true }