POST /api/metrics/v1
Add a metric data point

Params

Param name Description
api_token
required

Authentication token, available at app.doubleloop.app/organizations/settings/integrations

Validations:

  • Must be a String

name
required

Metric name for the metric data point. Data points with the same name will be added to the same metric

Validations:

  • Must be a String

date
required

Metric data point occurrence date. e.g. 01/01/2021, 2021/01/01

Validations:

  • Must be a String

value
required

Metric data point value

Validations:

  • Must be a number.

metric_type
optional

Calculation type used for the metric, affects all metric data points.

Validations:

  • Must be one of: counts, percentages, totals.

metric_source_slug
optional

Metric Source unique ID to reference the appropriate Metric. Overrides the metric name.

Validations:

  • Must be a String


POST /api/events/v1
Add an event

Params

Param name Description
api_token
required

Authentication token, available at app.doubleloop.app/organizations/settings/integrations

Validations:

  • Must be a String

headline
required

Event headline

Validations:

  • Must be a String

happened_at
required

Event occurrence date and time. e.g. 2021-08-11T12:04:47-07:00

Validations:

  • Must be a String

summary
optional

Event summary, parses as markdown

Validations:

  • Must be a String

importance
optional

Event importance

Validations:

  • Must be one of: major, medium, minor.

goal_hypothesis
optional

Event goals and hypothesis, parses as markdown

Validations:

  • Must be a String

results
optional

Event results, parses as markdown

Validations:

  • Must be a String

impact
optional

Event impact

Validations:

  • Must be one of: positive, negative.

labels
optional

Event labels

Validations:

  • Must be an array of String


GET /api/metric_sources/v1
Get the list of available metric sources

Params

Param name Description
api_token
required

Authentication token, available at app.doubleloop.app/organizations/settings/integrations

Validations:

  • Must be a String