Content API Overview

The Content API provides access to all of the International Triathlon Union's media content. Using the API you can gain all content that is available on the media.triathlon.org website.

1024

Basic Image Object

When images are returned for API calls a basic image object is returned which will always confirm to the following specification. Image use is always restricted as outlined in the terms and conditions.

{
   "entry_id":90163,
   "entry_title":"2015 ITU World Triathlon Cape Town",
   "entry_slug":"2015_itu_world_triathlon_cape_town",
   "entry_channel":3,
   "image_id":48529,
   "image_filename":"del_4853.jpg",
   "image_extension":"jpg",
   "image_date":"2015-04-25",
   "image_width":1183,
   "image_height":787,
   "image_filesize":"269.60kB",
   "image_title":"Del 4853",
   "image_slug":"del-4853",
   "image_credit":"International Triathlon Union\/Delly Carr",
   "image_url":"http:\/\/www.triathlon.org\/uploads\/webgalleries\/90163\/del_4853.jpg",
   "image_thumbnail":"http:\/\/www.triathlon.org\/uploads\/webgalleries\/90163\/del_4853__small.jpg"
}

Basic Video Object

When video listings are returned for API calls a basic video object is returned which will always confirm to the following specification.

{
   "video_id":104414,
   "video_title":"Science Triathlon Conference 2015 - 16  Scott Murray Eng",
   "video_slug":"science_triathlon_conference_2015_-_16_scott_murray_eng",
   "video_entry_date":"2016-03-31T04:37:22Z",
   "video_thumbnail":"http:\/\/www.triathlon.org\/images\/news_thumbs\/science_2015_murray.png",
   "video_caption":"Science Triathlon Conference 2015 - 16  Scott Murray Eng",
   "youtube_url":"https:\/\/www.youtube.com\/embed\/h_5ALcmva5I",
   "video_url":"http:\/\/www.triathlon.org\/multimedia\/video\/science_triathlon_conference_2015_-_16_scott_murray_eng",
   "video_api_url":"https:\/\/api.triathlon.org\/content\/videos\/104414",
   "video_categories":[
      {
         "cat_name":"Science and Triathlon",
         "cat_id":431,
         "cat_parent_id":0
      }
   ]
}

Basic News Object

When news articles are returned for API calls a basic news object is returned which will always confirm to the following specification.

{  
   "entry_id":100552,
   "title":"Merle marvels to win U23 World Championship",
   "slug":"merle_marvels_to_win_u23_world_championship",
   "entry_date":"2015-09-18 18:06",
   "status":"open",
   "excerpt":"A finish that came down to the wire, the 2015 Women\u2019s Under23 World Championship title went to Audrey Merle after she outran her French compatriot on the blue carpet. ",
   "thumbnail":"http:\/\/www.triathlon.org\/images\/news_thumbs\/DEL_3672.JPG",
   "tab_image":"http:\/\/www.triathlon.org\/images\/news_thumbs\/DEL_36721.JPG",
   "multipurpose_image":"http:\/\/www.triathlon.org\/images\/news_thumbs\/DEL_36722.JPG",
   "url":"http:\/\/www.triathlon.org\/news\/article\/merle_marvels_to_win_u23_world_championship"
}

Basic Download Object

{
   "download_id":102996,
   "download_title":"2014 Financial Statements",
   "download_slug":"2014_financial_statements",
   "download_edit_date":"2015-12-18T20:05:29+00:00",
   "download_file":"http:\/\/www.triathlon.org\/uploads\/docs\/Audit_report_2014_-_ITU_(with_2_signatures).pdf",
   "download_external_link":"",
   "download_order":null,
   "download_author":null,
   "download_categories":[
      {
         "cat_name":"General ITU Documents",
         "cat_id":77,
         "cat_parent_id":0
      },
      {
         "cat_name":"Financial",
         "cat_id":428,
         "cat_parent_id":77
      }
   ]
}