{"_id":"564b7929e323d01700a5132f","parentDoc":null,"editedParams":true,"category":{"_id":"55773abaa042551900b002d5","version":"55773a5ba042551900b002ce","__v":18,"pages":["55776c06a042551900b0034f","564a6fdf4cd0521700523edc","564b6753cc472d0d00da940e","564b78801ed5c823003eb640","564b788fcc472d0d00da942e","564b7898dda79a19000f2641","564b78bfdda79a19000f2643","564b78cd1ed5c823003eb643","564b78ebdda79a19000f2646","564b791d766d4923004e1fb3","564b7929e323d01700a5132f","564b7935766d4923004e1fb5","564b793fe323d01700a51331","564b7957cc472d0d00da9431","564b7962dda79a19000f2648","564b79b31ed5c823003eb645","564b79c31ed5c823003eb647","564b79fee323d01700a51336"],"project":"55773a5ba042551900b002cb","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:12:58.040Z","from_sync":false,"order":2,"slug":"athletes-api","title":"Athletes API"},"project":"55773a5ba042551900b002cb","editedParams2":true,"user":"546d17e2eb9cfd1400dd4529","version":{"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","__v":18,"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","59cd4b81935249001c77c48e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"__v":2,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T18:59:53.672Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"get","results":{"codes":[{"language":"json","status":200,"name":"","code":"{\n   \"code\":200,\n   \"message\": \"Usage of International Triathlon Union images are subject to agreement of image terms and conditions found here: http://media.triathlon.org/terms_and_conditions\",\n   \"status\":\"success\",\n   \"total\":4,\n   \"per_page\":10,\n   \"current_page\":1,\n   \"last_page\":1,\n   \"next_page_url\":null,\n   \"prev_page_url\":null,\n   \"from\":1,\n   \"to\":4,\n   \"data\":[\n      {\n         \"gallery_id\":96435,\n         \"image_id\":49415,\n         \"filename\":\"msj_4266.jpg\",\n         \"image_date\":\"2015-05-31T19:21:37Z\",\n         \"image_url\":\"http:\\/\\/www.triathlon.org\\/uploads\\/hrgalleries\\/96435\\/msj_4266.jpg\",\n         \"thumbnail\":\"http:\\/\\/www.triathlon.org\\/uploads\\/hrgalleries\\/96435\\/msj_4266__medium.jpg\",\n         \"event\":{\n            \"event_id\":91029,\n            \"event_title\":\"2015 ITU World Triathlon London\",\n            \"event_slug\":\"2015_itu_world_triathlon_london\",\n            \"event_venue\":\"London\",\n            \"event_country\":\"Great Britain\",\n            \"event_latitude\":\"51.50735\",\n            \"event_longitude\":\"-0.12776\",\n            \"event_date\":\"2015-05-30\",\n            \"event_start_date\":\"2015-05-30\",\n            \"event_finish_date\":\"2015-05-31\",\n            \"event_country_a2\":\"GB\",\n            \"event_country_noc\":\"GBR\",\n            \"event_region_id\":10,\n            \"event_country_id\":292,\n            \"event_region_name\":\"Europe\"\n         }\n      }\n   ]\n}"}]},"settings":"","auth":"required","params":[{"_id":"56576fde5656350d001d84cd","ref":"","in":"path","required":true,"desc":"The unique id of the athlete","default":"","type":"int","name":"athlete_id"},{"_id":"56576fde5656350d001d84cc","ref":"","in":"query","required":false,"desc":"How many results to be returned per page","default":"10","type":"int","name":"per_page"},{"_id":"56576fde5656350d001d84cb","ref":"","in":"query","required":false,"desc":"The page number to be returned","default":"","type":"int","name":"page"},{"_id":"56b3bc7dc25dea2b00b0cacc","ref":"","in":"query","required":false,"desc":"Restrict images to a certain event","default":"","type":"string","name":"event_id"}],"url":"/athletes/:athlete_id/images"},"isReference":true,"order":13,"body":"The **Athlete Images** method returns an array of basic image objects where the athlete has been tagged.\n\nThe `event_id` parameter allows image searches to be restricted to a pipe delimited list of event_ids. For example the following request returns all images for Jonathan Brownlee at the 2015 ITU World Triathlon Series London.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl --header \\\"apikey: [[app:key]]\\\" https://api.triathlon.org/v1/athletes/11378/images?event_id=91029\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"athlete-images","type":"endpoint","title":"Athlete Images"}

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
event_id:
string
Restrict images to a certain event

Result Format


Documentation

The **Athlete Images** method returns an array of basic image objects where the athlete has been tagged. The `event_id` parameter allows image searches to be restricted to a pipe delimited list of event_ids. For example the following request returns all images for Jonathan Brownlee at the 2015 ITU World Triathlon Series London. [block:code] { "codes": [ { "code": "curl --header \"apikey: [[app:key]]\" https://api.triathlon.org/v1/athletes/11378/images?event_id=91029", "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 }}