1. RunSignup
  2. API
  3. Methods
  4. Get Video Settings for Result Sets

Get Video Settings for Result Sets

Get the YouTube finish line video and split video settings for a result set.

Each video has a list of offsets that map a range of clock times to a time in the video. A clock_time_end_sec of null means the range has no end.

Every split in the result set is returned in split_videos. Splits without a video have a null video_id and play_start_padding_sec and an empty offsets list.

Response Format

{
    "finish_line_video": {
        "video_id": "itpHfrH0pFg",
        "play_start_padding_sec": 5,
        "offsets": [
            {
                "clock_time_start_sec": 3900,
                "clock_time_end_sec": 4505,
                "video_offset_sec": 10
            },
            {
                "clock_time_start_sec": 4505,
                "clock_time_end_sec": null,
                "video_offset_sec": 900
            }
        ]
    },
    "split_videos": [
        {
            "split_id": 12345,
            "split_name": "Halfway",
            "video_id": "dQw4w9WgXcQ",
            "play_start_padding_sec": 5,
            "offsets": [
                {
                    "clock_time_start_sec": 1800,
                    "clock_time_end_sec": 2400,
                    "video_offset_sec": 5
                }
            ]
        },
        {
            "split_id": 12346,
            "split_name": "Mile 10",
            "video_id": null,
            "play_start_padding_sec": null,
            "offsets": []
        }
    ]
}

URL

https://api.runsignup.com/rest/v2/results/result-set-video-settings.json

HTTP Method

GET

API Caller Identification

Parameter HTTP Method Default Description Datatype
rsu_api_reg GET API caller token. If used, you must send the API caller password in an HTTP header named X-RSU-API-REG-SECRET. string
X-RSU-API-REG-SECRET HTTP Header API caller password. string

Standard Parameters

Parameter HTTP Method Default Description Datatype
api_key GET API Key string
api_secret GET API Secret string
rsu_api_key GET API v2 key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
sp_api_key GET Super partner API key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. string
X-RSU-API-SECRET HTTP Header API v2 or super partner secret. string
Authorization HTTP Header Authorization Header. If using OAuth 2.0, fill this in with `Bearer <token>`. string
format GET xml Format of response. The default if not sent is `xml`, but `json` is preferred. format

Parameters

Parameter HTTP Method Default Description Datatype
race_id
Required
GET ID of race. uint
event_id
Required
GET ID of the event. uint
individual_result_set_id
Required
GET ID of the result set. uint

If you continue to use this site, you consent to use all cookies. We use cookies to offer you a better browsing experience. Read how we use cookies and how you can control them by visiting our Privacy Policy.

If you continue to use this site, you consent to use all cookies.