{ "opencollection": "1.0.0", "info": { "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists Inventory API", "version": "4.2.0" }, "request": { "auth": { "type": "apikey", "key": "AuthToken", "value": "{{AuthToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Inventory", "type": "folder" }, "items": [ { "info": { "name": "Juniper Networks Get organization inventory", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/orgs/:org_id/inventory", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "Organization unique identifier" }, { "name": "type", "value": "", "type": "query", "description": "Filter by device type" }, { "name": "unassigned", "value": "", "type": "query", "description": "Filter for unassigned devices only" }, { "name": "page", "value": "", "type": "query", "description": "Page number for pagination" }, { "name": "limit", "value": "", "type": "query", "description": "Number of results per page" } ] }, "docs": "Returns the device inventory for the organization." }, { "info": { "name": "Juniper Networks Add devices to inventory", "type": "http" }, "http": { "method": "POST", "url": "https://{apstra_server}/api/orgs/:org_id/inventory", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "Organization unique identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds devices to the organization inventory by claim code or serial number." } ] } ], "bundled": true }