网站

获取网站可用日期范围

GET/api/websites/{websiteId}/daterange

返回网站记录事件的最早和最晚日期。

Headers

NameTypeDescription
AuthorizationrequiredstringAuthentication credentials, e.g. Bearer <token>.

Path parameters

NameTypeDescription
websiteIdrequiredstringID of the website.

Responses

200The operation completed successfully.
NameTypeDescription
endDaterequiredstringEnd of the date range as an ISO 8601 date or date-time.
startDaterequiredstringStart of the date range as an ISO 8601 date or date-time.
200 example
401Unauthorized.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
401 example

Code samples

cURL