get
https://{app-url}{}/api/v2/bc/data-sources/
Retrieve a single data source by its ID
The response includes the matching data source object, along with all data streams associated with that data source.
Request Arguements
| Argument | Type | Description |
|---|---|---|
| id | string | Data source ID to retrieve. |
Response Fields
A data source object, including all fields according to its type.
| Field | Type | Description / Example |
|---|---|---|
| id | string | Unique identifier of the data source. |
| name | string | Data source name as displayed in the Anodot application. |
| creator | string | Unique identifier of the user who created the stream |
| createTime | epoch | Time when the data source was created (epoch seconds). |
| modifyTime | epoch | Time when the data source was last updated (epoch seconds). |
| type | string (enum) | Data source type. One of the supported data source types. |
| additional | various | Additional fields depending on the data source type, such as authentication type, database name, database host, region, bucket name, and more. |
| streams | array | List of streams associated with the data source. |
