curl --request GET \
--url http://localhost:8787/v1/streamer/{name}/yearly-streams \
--header 'Authorization: Bearer <token>'{
"stream_count": 123,
"total_minutes": 123,
"avg_viewers": 123,
"peak_viewers": 123
}curl --request GET \
--url http://localhost:8787/v1/streamer/{name}/yearly-streams \
--header 'Authorization: Bearer <token>'{
"stream_count": 123,
"total_minutes": 123,
"avg_viewers": 123,
"peak_viewers": 123
}Optional bearer token enforced when the Worker is configured with an API token.
Year to summarize. Defaults to current year.
x >= 2016