/api/dataSets/:id/dataSources

List data sources for data set with the specified ID.

Resource Information

Resource URL

https://service.belladati.com/api/dataSets/:id/dataSources

HTTP Method

GET

Request Parameters

Parameters

Detail

Example

id

ID of the data set to fetch. You can find the ID in the response to /api/dataSets.

123

Response Structure

{
  "dataSources" : [ ],
}

JSON response contains array "dataSources" that contains multiple data sources with following definition:

NameDescription
idData source identifier
nameData source name
typeData source type

 

Sample Request / Response

Using curl:

curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/dataSets/123/dataSources

The JSON format response:

{
  "dataSources" : [
    {
      "id" : 4543,
      "name" : "My SQL Data Source",
      "type" : "SQLImportTable"
    }
  ],
}