Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'zh'
Sv translation
languageen

/api/dataSets/dataSources/:id/executions

List data source executions for data source with the specified ID.

Resource Information

Request Parameters

Parameters

Detail

Example

id

ID of the data source to fetch. You can find the ID in the response to /api/dataSets/:id/dataSources.

123

Response Structure

Code Block
javascript
javascript
{
  "executions" : [ ]
}

JSON response contains array "executions" that contains multiple data source executions with following definition:

NameDescription
idExecution identifier.
whenDate and time when first execution of import should run.
createdByIdentifier of user that created execution.
overwritingPolicy

(Optional) Action to perform with existing data - please see list of supported values. If this element is not specified then existing data remains unchanged and new data rows will be appended.

repeateInterval

(Optional) Period of import execution - please see list of supported values. If this element is not specified then import will be performed only once.

repeateIntervalCustomMandatory only if "repeateInterval" has value "CUSTOM". Specifies custom repeat interval in minutes.

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/dataSources/3435/executions

The JSON format response:

Code Block
javascript
javascript
{
  "executions" : [
    {
      "id" : 54354564,
      "when" : "Mon, 16 Apr 2012 10:17:26 GMT",
      "createdBy" : "123",
      "overwrittingPolicy" : "DELETE_ALL",
      "repeateInterval" : "CUSTOM",
      "repeateIntervalCustom" : 30
    }
  ]
}
Sv translation
languageja

/api/dataSets/dataSources/:id/executions

指定されたIDを持つデータソースのデータソース実行を一覧表示します。

リソース情報

リクエストパラメーター

パラメーター

詳細

id

データソースのIDをフェッチします。/api/dataSets/:id/dataSourcesに応答して、IDを見つけることができます。

123

レスポンス構造

Code Block
javascript
javascript
{
  "executions" : [ ]
}

JSONレスポンスは、次の定義で複数のデータソースの実行を含む "executions配列を含んでいます:

説明
id実行識別子
when実行必要にする最初インポートの日付と時間
createdBy実行を作成したユーザーの識別子
overwritingPolicy

(オプション) アクションは、既存のデータを使用して実行する - サポートされる値のリストをご参照してください。この要素が指定されていない場合、データは変更されないまま既存および新規のデータ行が追加される。

repeateInterval

(オプション) インポートの実行期間  -  サポートされる値のリストをご参照してください。この要素が指定されていない場合、インポートは1回だけ実行されます

repeateIntervalCustom"repeateInterval" が "CUSTOM" の場合にのみ必須。カスタムリピート間隔を分単位で指定します。

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

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/dataSources/3435/executions

JSON形式のレスポンス:

Code Block
javascript
javascript
{
  "executions" : [
    {
      "id" : 54354564,
      "when" : "Mon, 16 Apr 2012 10:17:26 GMT",
      "createdBy" : "123",
      "overwrittingPolicy" : "DELETE_ALL",
      "repeateInterval" : "CUSTOM",
      "repeateIntervalCustom" : 30
    }
  ]
}