{ "opencollection": "1.0.0", "info": { "name": "PlanetScale Platform Backups IP Restrictions API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "IP Restrictions", "type": "folder" }, "items": [ { "info": { "name": "List IP restrictions", "type": "http" }, "http": { "method": "GET", "url": "https://api.planetscale.com/v1/organizations/:organization/databases/:database/postgres-cidrs", "params": [ { "name": "organization", "value": "", "type": "path", "description": "The name of the organization." }, { "name": "database", "value": "", "type": "path", "description": "The name of the database." } ] }, "docs": "Returns a list of IP restriction entries for a database." }, { "info": { "name": "Create an IP restriction entry", "type": "http" }, "http": { "method": "POST", "url": "https://api.planetscale.com/v1/organizations/:organization/databases/:database/postgres-cidrs", "params": [ { "name": "organization", "value": "", "type": "path", "description": "The name of the organization." }, { "name": "database", "value": "", "type": "path", "description": "The name of the database." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new IP restriction entry to control database access by IP address or CIDR range." } ] } ], "bundled": true }