{"__v":2,"_id":"564b7935766d4923004e1fb5","category":{"__v":18,"_id":"55773abaa042551900b002d5","pages":["55776c06a042551900b0034f","564a6fdf4cd0521700523edc","564b6753cc472d0d00da940e","564b78801ed5c823003eb640","564b788fcc472d0d00da942e","564b7898dda79a19000f2641","564b78bfdda79a19000f2643","564b78cd1ed5c823003eb643","564b78ebdda79a19000f2646","564b791d766d4923004e1fb3","564b7929e323d01700a5132f","564b7935766d4923004e1fb5","564b793fe323d01700a51331","564b7957cc472d0d00da9431","564b7962dda79a19000f2648","564b79b31ed5c823003eb645","564b79c31ed5c823003eb647","564b79fee323d01700a51336"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:12:58.040Z","from_sync":false,"order":2,"slug":"athletes-api","title":"Athletes API"},"editedParams":true,"editedParams2":true,"parentDoc":null,"project":"55773a5ba042551900b002cb","user":"546d17e2eb9cfd1400dd4529","version":{"__v":17,"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","createdAt":"2015-06-09T19:11:23.764Z","releaseDate":"2015-06-09T19:11:23.764Z","categories":["55773a5ca042551900b002cf","55773a6ce6063e0d00481380","55773ab007e7110d001043ec","55773abaa042551900b002d5","55773ac207e7110d001043ed","55773acb07e7110d001043ee","55773ad3a042551900b002d6","55773adce6063e0d00481383","55773ae4a042551900b002d7","55773af307e7110d001043ef","55773af907e7110d001043f0","55773b0407e7110d001043f1","563a4f7ad25e8919005f3f39","563a4fcaa19edf0d00972321","564a70dc4cd0521700523edf","564b797bcc472d0d00da9435","564b855b766d4923004e1fd1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T19:00:05.119Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"get","results":{"codes":[{"name":"","code":"{\n   \"code\":200,\n   \"status\":\"success\",\n   \"total\":18,\n   \"per_page\":10,\n   \"current_page\":1,\n   \"last_page\":2,\n   \"next_page_url\":\"https:\\/\\/api.triathlon.org\\/v1\\/content\\/videos?page=2\",\n   \"prev_page_url\":null,\n   \"from\":1,\n   \"to\":10,\n   \"data\":[\n      {\n         \"video_id\":94511,\n         \"video_title\":\"2015 ITU World Triathlon Gold Coast - Elite Men's Highlights\",\n         \"video_slug\":\"2015_itu_world_triathlon_gold_coast_-_elite_mens_highlights\",\n         \"video_entry_date\":\"2015-04-12T06:29:45Z\",\n         \"video_thumbnail\":\"http:\\/\\/www.triathlon.org\\/images\\/news_thumbs\\/7758748.jpg\",\n         \"video_caption\":\"Jonathan Brownlee returned to the top of the podium with a convincing victory at the 2015 ITU World Triathlon Gold Coast, delivering him back to back wins in the series. He was the master,...\",\n         \"youtube_url\":\"http:\\/\\/www.youtube.com\\/watch?v=QcVqt8QVRsU&feature=youtube_gdata_player\",\n         \"video_url\":\"http:\\/\\/www.triathlon.org\\/multimedia\\/video\\/2015_itu_world_triathlon_gold_coast_-_elite_mens_highlights\",\n         \"video_api_url\":\"https:\\/\\/api.triathlon.org\\/content\\/videos\\/94511\",\n         \"video_categories\":[\n            {\n               \"cat_name\":\"Events\",\n               \"cat_id\":59,\n               \"cat_parent_id\":0\n            },\n            {\n               \"cat_name\":\"World Triathlon Series\",\n               \"cat_id\":60,\n               \"cat_parent_id\":59\n            }\n         ]\n      }\n   ]\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"565770145656350d001d84d0","ref":"","in":"path","required":true,"desc":"The unique id of the athlete","default":"","type":"int","name":"athlete_id"},{"_id":"565770145656350d001d84cf","ref":"","in":"query","required":false,"desc":"How many results to be returned per page","default":"10","type":"int","name":"per_page"},{"_id":"565770145656350d001d84ce","ref":"","in":"query","required":false,"desc":"The page number to be returned","default":"","type":"int","name":"page"},{"_id":"56ba220779c46b1700473dff","ref":"","in":"query","required":false,"desc":"A pipe delimited list of category ids","default":"","type":"string","name":"category_id"}],"url":"/athletes/:athlete_id/videos"},"isReference":true,"order":14,"body":"The **Athlete Videos** method returns a paginated, filterable array of basic video objects where the athlete has been tagged.\n\nThe following example returns tagged videos for athlete_id 11378 for a `category_id` of 59 (World Triathlon Series).\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl --header \\\"apikey: [[app:key]]\\\" https://api.triathlon.org/v1/athletes/11378/videos?category_id=59\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"athlete-videos","type":"endpoint","title":"Athlete Videos"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

athlete_id:
required
integer
The unique id of the athlete

Query Params

per_page:
integer10
How many results to be returned per page
page:
integer
The page number to be returned
category_id:
string
A pipe delimited list of category ids

Result Format


Documentation

The **Athlete Videos** method returns a paginated, filterable array of basic video objects where the athlete has been tagged. The following example returns tagged videos for athlete_id 11378 for a `category_id` of 59 (World Triathlon Series). [block:code] { "codes": [ { "code": "curl --header \"apikey: [[app:key]]\" https://api.triathlon.org/v1/athletes/11378/videos?category_id=59", "language": "curl" } ] } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}