{ "opencollection": "1.0.0", "info": { "name": "NetBird REST Accounts Event Streaming Integrations API", "version": "0.0.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Event Streaming Integrations", "type": "folder" }, "items": [ { "info": { "name": "List Event Streaming Integrations", "type": "http" }, "http": { "method": "GET", "url": "https://api.netbird.io/api/event-streaming" }, "docs": "Retrieves all event streaming integrations for the authenticated account." }, { "info": { "name": "Create Event Streaming Integration", "type": "http" }, "http": { "method": "POST", "url": "https://api.netbird.io/api/event-streaming", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new event streaming integration for the authenticated account.\nThe request body should conform to `CreateIntegrationRequest`.\nNote: Based on the provided Go code, the `enabled` field from the request is part of the `CreateIntegrationRequest` struct,\nbut the backend `manager.CreateIntegration` function signature shown does not directly use this `enabled` field.\nThe actual behavior for `enabled` during creation should be confirmed (e.g., it might have a server-side default or be handled " }, { "info": { "name": "Get Event Streaming Integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.netbird.io/api/event-streaming/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique numeric identifier of the event streaming integration." } ] }, "docs": "Retrieves a specific event streaming integration by its ID." }, { "info": { "name": "Update Event Streaming Integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.netbird.io/api/event-streaming/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique numeric identifier of the event streaming integration." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing event streaming integration. The request body structure is `CreateIntegrationRequest`.\nHowever, for updates:\n- The `platform` field, if provided in the body, is ignored by the backend manager function, as the platform of an existing integration is typically immutable.\n- The `enabled` and `config` fields from the request body are used to update the integration.\n" }, { "info": { "name": "Delete Event Streaming Integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.netbird.io/api/event-streaming/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique numeric identifier of the event streaming integration." } ] }, "docs": "Deletes an event streaming integration by its ID." } ] } ], "bundled": true }