Get Activity MP4 File

Retrieve an offline playable MP4 file for a specific Activity ID.

Retrieves the single mp4 file created for an Activity IdActivity Id - A unique non changing value to identify a particular Activity within an Accessory event stream. The API uses a short ISO8601 based timestamp format (YYYYMMDDTHHMMSSZ) with everything represented server side as UTC+0 or "zulu" format. Activity Id's are the short Timestamp of the initial time of Activity creation. However, the Activities startTime value may be later than the value represented by the Activity Id due to trimming and video processing. Activity Id's are not globally unique, but are unique for a given Accessory Id.. The content is returned as a HTTP file attachment and is only meant for saving. For viewing, use Get Activity DASH or Get Activity HLS. You MUST include an Accept header indicating support for video/mp4 in this call. This call will be processed as a 302 - Temporary Redirect to a one-time, time-limited direct download URL. You must follow this 302 immediately. If the download fails partway through, you must recall this endpoint to get a new redirect / one-time use URL.

This API call will include Cache-Control headers in the response that must be honored. The cache duration is 10 sec for an activity in progress and the cache duration for a completed activity is the lifetime of that activity.


Requires the Permissions scope of circle:summaries