/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

{
  "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:

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:

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