Analytics

Read the coach's weekly metrics as a trend series

The stored weekly rollup as a series. It takes a weeks count instead of a date window, because the table behind it is already bucketed by week.

API key scopes: analytics:read.

get/api/analytics/trends

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/analytics/trends
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Query parameters

weeksinteger

Number of weeks the report covers.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Response

ok

Changes

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