DataSource Information

DataSource Information

Get Datasources Present In Account

API for getting all the datasources present in account.

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Response containing list of data sources present in account

get/v1/data-sources
Request samples
Response samples
{
  • "data_sources": [
    ]
}

Get DataPoints present in DataSources for an account

Get DataPoints Present in DataSources

Securityx-api-key
Request
path Parameters
data-source
required
string

Identifier for datasource

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Example response

get/v1/data-sources/{data-source}/datapoints
Request samples
Response samples
application/json
{
  • "data_points": [
    ]
}

Get Data Sources and Data Points Map for Account

API for getting the map of data sources and data points for account

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Response for getting the data source and data point map

get/v1/data-sources/data-points/map
Request samples
Response samples
{
  • "data_source_data_points_map": [
    ]
}