{ "opencollection": "1.0.0", "info": { "name": "Astra DevOps Access List API", "version": "2.3.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Access List", "type": "folder" }, "items": [ { "info": { "name": "Get all access lists for an organization", "type": "http" }, "http": { "method": "GET", "url": "https://api.astra.datastax.com/v2/access-lists", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all access lists for an organization" }, { "info": { "name": "Get the access list for a database", "type": "http" }, "http": { "method": "GET", "url": "https://api.astra.datastax.com/v2/databases/:databaseID/access-list", "params": [ { "name": "databaseID", "value": "", "type": "path", "description": "String representation of the database ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the access list for a database" }, { "info": { "name": "Add addresses to the access list for a database", "type": "http" }, "http": { "method": "POST", "url": "https://api.astra.datastax.com/v2/databases/:databaseID/access-list", "params": [ { "name": "databaseID", "value": "", "type": "path", "description": "String representation of the database ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Add addresses to the access list for a database" }, { "info": { "name": "Upsert the access list for a database. This endpoint replaces the entire access list with what is present in the request body.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.astra.datastax.com/v2/databases/:databaseID/access-list", "params": [ { "name": "databaseID", "value": "", "type": "path", "description": "String representation of the database ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Upsert the access list for a database. This endpoint replaces the entire access list with what is present in the request body." }, { "info": { "name": "Update the access list for a database. This endpoint updates existing fields in the access list if they exist", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.astra.datastax.com/v2/databases/:databaseID/access-list", "params": [ { "name": "databaseID", "value": "", "type": "path", "description": "String representation of the database ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update the access list for a database. This endpoint updates existing fields in the access list if they exist" }, { "info": { "name": "Delete a list of addresses or the access list for a database. If the addresses query parameter is not present it will delete the entire access list. If the addresses query parameter is present it will delete only the given addresses from the access list", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.astra.datastax.com/v2/databases/:databaseID/access-list", "params": [ { "name": "databaseID", "value": "", "type": "path", "description": "String representation of the database ID" }, { "name": "addresses", "value": "", "type": "query", "description": "Array of addresses" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a list of addresses or the access list for a database. If the addresses query parameter is not present it will delete the entire access list. If the addresses query parameter is present it will delete only the given addresses from the access list" }, { "info": { "name": "Validate the structure of an access list", "type": "http" }, "http": { "method": "POST", "url": "https://api.astra.datastax.com/v2/access-list/validate" }, "docs": "Validate the structure of an access list" }, { "info": { "name": "Get a template of an access list", "type": "http" }, "http": { "method": "POST", "url": "https://api.astra.datastax.com/v2/access-list/template" }, "docs": "Get a template of an access list" } ] } ], "bundled": true }