{ "opencollection": "1.0.0", "info": { "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists Sites API", "version": "4.2.0" }, "request": { "auth": { "type": "apikey", "key": "AuthToken", "value": "{{AuthToken}}", "placement": "header" } }, "items": [ { "info": { "name": "Sites", "type": "folder" }, "items": [ { "info": { "name": "Juniper Networks List sites in organization", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/orgs/:org_id/sites", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "Organization unique identifier" }, { "name": "page", "value": "", "type": "query", "description": "Page number for pagination" }, { "name": "limit", "value": "", "type": "query", "description": "Number of results per page" } ] }, "docs": "Returns a list of all sites belonging to the specified organization." }, { "info": { "name": "Juniper Networks Create a site", "type": "http" }, "http": { "method": "POST", "url": "https://{apstra_server}/api/orgs/:org_id/sites", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "Organization unique identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new site within the specified organization." }, { "info": { "name": "Juniper Networks Get site details", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/sites/:site_id", "params": [ { "name": "site_id", "value": "", "type": "path", "description": "Site unique identifier" } ] }, "docs": "Returns details for a specific site." }, { "info": { "name": "Juniper Networks Update site", "type": "http" }, "http": { "method": "PUT", "url": "https://{apstra_server}/api/sites/:site_id", "params": [ { "name": "site_id", "value": "", "type": "path", "description": "Site unique identifier" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing site." }, { "info": { "name": "Juniper Networks Delete site", "type": "http" }, "http": { "method": "DELETE", "url": "https://{apstra_server}/api/sites/:site_id", "params": [ { "name": "site_id", "value": "", "type": "path", "description": "Site unique identifier" } ] }, "docs": "Deletes a site from the organization." }, { "info": { "name": "Juniper Networks Get site statistics", "type": "http" }, "http": { "method": "GET", "url": "https://{apstra_server}/api/sites/:site_id/stats", "params": [ { "name": "site_id", "value": "", "type": "path", "description": "Site unique identifier" } ] }, "docs": "Returns statistics for a specific site." } ] } ], "bundled": true }