analytics
Retrieve analytics totals
Changed onRetrieve aggregated lifetime stats (views, reactions, comments) for articles.
Scope Control:
- Specify article_id to query a single post's metrics.
- Specify organization_id to retrieve metrics across all articles owned by the target organization.
get/api/analytics/totals
Request
- Base URLhttps://dev.to
- Auth
- API key in header api-key
- or HTTP bearer
Query parameters
article_idinteger
Optional ID to limit totals to a single article.
organization_idinteger
Optional ID to limit totals to an organization's articles.
Response
successful
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking