Skip to main content

List exports

GET 

/exports

List exports.

Authorization Action:

exporter:exports:list

Request

Query Parameters

    ids string[]
    status string[]

    Possible values: [notProcessed, inProgress, failed, done, expired]

    type string

    Possible values: [recurring, oneTime]

    tagLabels string[]
    tagLabelValues string[]
    from date-time
    to date-time
    page number
    pageSize number

    Default value: 1000

    sort string

    Possible values: Value must match regular expression sortingStringRegex

    Default value: createdAt:desc

Responses

Schema
    results object[]required
  • Array [
  • format objectrequired
    filename string
    extension stringrequired

    Possible values: [csv, xlsx, pdf]

    columns object[]

    Define how exported data fields are mapped to the output file

  • Array [
  • id stringrequired

    Column id.

    When exporting resource items it must be formatted as: <type>.<attribute>.

    label stringrequired

    Column label

  • ]
  • timezone string

    Default value: utc

    Target timezone: all data field will be remapped to this timezone

    template string

    Possible values: [tabular, expanded]

    Default value: tabular

    csvDelimiter string
    type stringrequired

    Possible values: [recurring, oneTime]

    items object[]required
  • Array [
  • params objectrequired
    oneOf
    target objectrequired
    value stringrequired

    Identifier of the resource the be exported: typically a URN. It is possible to export multiple resources by providing a comma separated list of values.

    label string

    Label that will replace the target value. If multiple values are provided, you can can pass a comma separated list of labels. The number of labels must match the number of values.

    channelId stringrequired
    subtopic stringrequired

    Subtopic from which to retrieve data for export

    from number

    Unix timestamp: number of seconds since 1970 UTC

    to number

    Unix timestamp: number of seconds since 1970 UTC

    period string

    Possible values: Value must match regular expression durationRegExp

    ISO8601 Duration: https://en.wikipedia.org/wiki/ISO_8601#Durations

    decimation object
    ds objectrequired

    Decimation granularity. Only supports positive integer.

    dsf stringrequired

    Possible values: [avg, max, min, sum, stddev, variance]

    Aggregation algotithm

    transform string

    Possible values: [delta]

    outputFormat stringrequired

    Possible values: [long, wide]

    Default value: long

    Determines how exported data will be formatted in the output file. Check the following link for more info: https://en.wikipedia.org/wiki/Wide_and_narrow_data

    In the long format exported variables are spread across multiple rows. In the wide format exported variables are spread across multiple columns, and each row represents a different timestamp.

    If wide format is selected, request.colums must be provided.

    filename string

    Name of the output file (without extension)

  • ]
  • periodicity string

    Possible values: Value must match regular expression durationRegExp

    ISO8601 Duration: https://en.wikipedia.org/wiki/ISO_8601#Durations

    periodStart number

    Period start expressed in Unix timestamp. If not specified, the creation date of the request will be used.

    notification object
    messages object[]required

    Notification messages. For each notification, there must be exactly two notification messages with the two different policies (onSuccess, onFailure)

  • Array [
  • target string

    Notification target: can be an email address, a phone number or a telegram account. If not specified, the notification target is set to the user that created the rule.

    policy stringrequired

    Possible values: [onSuccess, onFailure]

    The notification policy: whether it is associated with a success event (export delivered), or a failure event (export failed)

    medium stringrequired

    Possible values: [email, telegram, slack, discord]

    title stringrequired
    text stringrequired
  • ]
  • tags object[]
  • Array [
  • label stringrequired
    labelValue stringrequired
    metadata object

    Other custom properties associated to the tag

  • ]
  • id stringrequired
    createdAt date-timerequired
    updatedAt date-timerequired
    deletedAt date-timerequired
  • ]
  • total numberrequired
curl -L -X GET 'https://connhex.com/exports' \
-H 'Accept: application/json'
Request Collapse all
Parameters
— query
— query
— query
— query
— query
— query
— query
— query
— query
— query