Stats:Media

Show Media Stats by Date

Retrieve stats for a media organized by day, between a start and end date paramater (inclusive). If start and end date are not provided, defaults to yesterday and today.

Requires api token with one of the following permissions

Read detailed stats

Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.

An expiring access token created with the all:delegate_to_contact_permissions scope and an authorization granting the view-stats permission on this media can also be used.

get/stats/medias/{mediaId}/by_date

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/stats/medias/{mediaId}/by_date
  • Auth
    HTTP bearer

Path parameters

mediaIdstring required

The ID of the media

Query parameters

start_datestring date

The start date for the stats, formatted YYYY-MM-DD

end_datestring date

The end date for the stats, formatted YYYY-MM-DD

Headers

X-Wistia-API-Versionstring required

Response

A list of media stats by date

datestring date
load_countinteger
play_countinteger
hours_watchednumber

Changes

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