Integrations

Integration delivery timeline

Delivery counts of one integration by current status, split into buckets by the UTC day each delivery was created. Buckets are consecutive days, calendar weeks (Monday to Sunday) or calendar months; the first and the last are cut to the period. Every bucket is present, an empty one with zeros. The period is whole UTC days, at most 31, with from at most 30 days before today. Statuses are the current ones, not the ones at the end of the period.

get/v1/sites/{site_id}/integrations/{integration_id}/stats/timeline

Request

  • Base URL
    https://api.getsitecontrol.com
  • Auth
    HTTP bearer

Path parameters

site_idinteger required
integration_idstring required

Integration id from list_integrations, such as webhook:12

Query parameters

interval'day' | 'week' | 'month'

day, calendar week (Monday to Sunday) or calendar month.

Bucket length

fromstring date required

First day of the period, UTC, included

tostring date

Last day of the period, UTC, included; today when omitted

Response

Successful Response

interval'day' | 'week' | 'month' required

day, calendar week (Monday to Sunday) or calendar month.

Changes

No recorded changes to this operation across all 1 revision of this API.