Querying the Data Source List

Function

This API is used to query the data source list. This API is compatible with Sahara.

URI

Request

Request parameters

None.

Response

Table 2 Response parameter description

Parameter

Type

Description

markers

Object

Marker object For more parameter description, see Table 3.

data_sources

Array

Data source list For more parameter description, see Table 4.

Table 3 markers parameter description

Parameter

Type

Description

prev

String

Marker on the previous page

next

String

Marker on the next page

Table 4 data_sources parameter description

Parameter

Type

Description

name

String

Data source name

type

String

Data source type

url

String

Data source URL

description

String

Data source description

created_at

String

Data source creation time

updated_at

String

Data source update time

id

String

Data source ID

tenant_id

String

Project ID. For details on how to obtain the project ID, see Obtaining a Project ID.

is_public

Bool

Whether the data source is public

  • true
  • false

The current version does not support this function.

is_protected

Bool

Whether the data source is protected

  • true
  • false

The current version does not support this function.

Example

Status Code

Table 5 describes the status code of this API.

Table 5 Status code

Status Code

Description

200

The data source list is queried successfully.

For the description about error status codes, see Status Codes.