Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

/api/dataSets/:id/dataSources

List data sources for data set with the specified ID.

Resource Information

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

Code Block
javascript
javascript
{
  "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:

Code Block
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:

Code Block
javascript
javascript
{
  "dataSources" : [
    {
      "id" : 4543,
      "name" : "My SQL Data Source",
      "type" : "SQLImportTable"
    }
  ],
}
Sv translation
languageja

/api/dataSets/:id/dataSources

指定されたIDを使用して設定データにータソースをリストする。

リソース情報

リクエストパラメータ

パラメーター

詳細

id

データセットのIDをフェッチする。api/dataSetsに応答して、IDを見つけることができる。

123

レスポンスの構造

Code Block
javascript
javascript
{
  "dataSources" : [ ],
}

JSONレスポンスは、次の定義を持つ複数のデータソースを含む「データソース」配列含まれている。

説明
idデータソース識別子
nameデータソース名
typeデータ・ソース・タイプ

 

サンプルリクエスト/レスポンス

Curl使用:

Code Block
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

JSONフォーマットの応答:

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