{ "opencollection": "1.0.0", "info": { "name": "PDCP agents API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "agents", "type": "folder" }, "items": [ { "info": { "name": "Register Agents", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectdiscovery.io/v1/agents/in", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "os", "value": "", "type": "query", "description": "Operating system" }, { "name": "arch", "value": "", "type": "query", "description": "Architecture" }, { "name": "id", "value": "", "type": "query", "description": "Agent ID" }, { "name": "name", "value": "", "type": "query", "description": "Agent name" }, { "name": "tags", "value": "", "type": "query", "description": "Comma-separated tags" }, { "name": "networks", "value": "", "type": "query", "description": "Comma-separated networks" }, { "name": "network_subnets", "value": "", "type": "query", "description": "Comma-separated network subnets" }, { "name": "type", "value": "", "type": "query", "description": "Agent type (agent or tunnel)" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Register Agents" }, { "info": { "name": "Deregister Agent", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectdiscovery.io/v1/agents/out", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "query", "description": "Agent ID" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Deregister Agent" }, { "info": { "name": "Get Agents", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectdiscovery.io/v1/agents", "headers": [ { "name": "x-api-key", "value": "" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get Agents" }, { "info": { "name": "Bulk Update Agents", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.projectdiscovery.io/v1/agents", "headers": [ { "name": "x-api-key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Bulk Update Agents" }, { "info": { "name": "Get Agent by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.projectdiscovery.io/v1/agents/:id", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Get Agent by ID" }, { "info": { "name": "Update Agent", "type": "http" }, "http": { "method": "POST", "url": "https://api.projectdiscovery.io/v1/agents/:id", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "docs": "Update Agent" } ] } ], "bundled": true }