{ "opencollection": "1.0.0", "info": { "name": "Cribl As Code API Credentials Database Connections API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Database Connections", "type": "folder" }, "items": [ { "info": { "name": "List all database connections", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.cribl.cloud/system/database-connections" }, "docs": "Retrieves a list of all configured database connections used by collectors and lookup functions." }, { "info": { "name": "Create a database connection", "type": "http" }, "http": { "method": "POST", "url": "https://gateway.cribl.cloud/system/database-connections", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new database connection with the specified driver, connection string, and credentials." }, { "info": { "name": "Get a database connection by ID", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.cribl.cloud/system/database-connections/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ] }, "docs": "Retrieves the configuration of a specific database connection." }, { "info": { "name": "Update a database connection", "type": "http" }, "http": { "method": "PATCH", "url": "https://gateway.cribl.cloud/system/database-connections/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the configuration of an existing database connection." }, { "info": { "name": "Delete a database connection", "type": "http" }, "http": { "method": "DELETE", "url": "https://gateway.cribl.cloud/system/database-connections/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ] }, "docs": "Deletes a database connection by its unique ID." } ] } ], "bundled": true }