{"_id":"564b85dcdda79a19000f2673","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"},"editedParams2":true,"parentDoc":null,"editedParams":true,"user":"546d17e2eb9cfd1400dd4529","project":"55773a5ba042551900b002cb","__v":1,"category":{"_id":"564b797bcc472d0d00da9435","pages":["564b85b7cc472d0d00da945d","564b85cc4f06ef2b006b08b6","564b85dcdda79a19000f2673","564b85e8cc472d0d00da945f","564b85f9dda79a19000f2675","564b8608e6c67c2f0038366c","564b861bcc472d0d00da9461","564b862bcc472d0d00da9463","56e06a635fc52e320024d8ea","56e06a6d40ba87220064161a","56e06a755fc52e320024d8ec"],"project":"55773a5ba042551900b002cb","__v":11,"version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-11-17T19:01:15.286Z","from_sync":false,"order":5,"slug":"team-api","title":"Team API"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T19:54:04.436Z","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   \"data\":{\n      \"team_id\":11448,\n      \"team_title\":\"Team I Great Britain\",\n      \"team_slug\":\"team_i_great_britain\",\n      \"team_country_id\":292,\n      \"team_profile_image\":null,\n      \"team_noc\":\"GBR\",\n      \"team_country_name\":\"Great Britain\",\n      \"team_country_isoa2\":\"GB\",\n      \"team_listing\":\"http:\\/\\/www.triathlon.org\\/athletes\\/profile\\/11448\\/team_i_great_britain\",\n      \"team_flag\":\"https:\\/\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\/images\\/icons\\/gb.png\",\n      \"team_api_listing\":\"https:\\/\\/api.triathlon.org\\/v1\\/v1\\/athletes\\/11448\",\n      \"profile_edit_date\":\"2011-08-18T11:54:46+00:00\",\n      \"presentation_summary\":null,\n      \"biography\":null,\n      \"website\":null,\n      \"twitter\":null,\n      \"facebook\":null,\n      \"tag_info\":{\n         \"tag_id\":2345,\n         \"tag_name\":\"team i great britain\",\n         \"channel_entries\":0,\n         \"clicks\":1,\n         \"image_entries\":1\n      },\n      \"latest_images\":[\n         {\n            \"gallery_id\":68228,\n            \"image_id\":27286,\n            \"image_filename\":\"MSJ_1070.JPG\",\n            \"image_filesize\":\"3.68MB\",\n            \"image_extension\":\"JPG\",\n            \"image_width\":4155,\n            \"image_height\":2832,\n            \"image_date\":\"2012-08-26T17:47:37Z\",\n            \"image_url\":\"http:\\/\\/www.triathlon.org\\/uploads\\/hrgalleries\\/68228\\/MSJ_1070.JPG\",\n            \"thumbnail\":\"http:\\/\\/www.triathlon.org\\/uploads\\/hrgalleries\\/68228\\/MSJ_1070__medium.JPG\",\n            \"event\":{\n               \"event_id\":55945,\n               \"event_title\":\"2012 Stockholm ITU Triathlon Mixed Relay World Championships\",\n               \"event_slug\":\"2012_itu_world_triathlon_stockholm\",\n               \"event_edit_date\":\"2015-04-09T12:01:41+00:00\",\n               \"event_venue\":\"Stockholm\",\n               \"event_country\":\"Sweden\",\n               \"event_latitude\":59.32932,\n               \"event_longitude\":18.06858,\n               \"event_date\":\"2012-08-26\",\n               \"event_finish_date\":\"2012-08-26\",\n               \"event_country_isoa2\":\"SE\",\n               \"event_country_noc\":\"SWE\",\n               \"event_region_id\":10,\n               \"event_country_id\":275,\n               \"event_region_name\":\"Europe\",\n               \"event_categories\":[\n                  {\n                     \"cat_name\":\"World Championships\",\n                     \"cat_id\":348,\n                     \"cat_parent_id\":0\n                  }\n               ],\n               \"event_specifications\":[\n                  {\n                     \"cat_name\":\"Triathlon\",\n                     \"cat_id\":357,\n                     \"cat_parent_id\":0\n                  },\n                  {\n                     \"cat_name\":\"4xMixed Relay\",\n                     \"cat_id\":380,\n                     \"cat_parent_id\":357\n                  }\n               ],\n               \"event_flag\":\"https:\\/\\/f9ca11ef49c28681fc01-0acbf57e00c47a50e70a1acb89e86c89.ssl.cf1.rackcdn.com\\/images\\/icons\\/se.png\",\n               \"event_listing\":\"http:\\/\\/www.triathlon.org\\/events\\/event\\/2012_itu_world_triathlon_stockholm\",\n               \"event_api_listing\":\"https:\\/\\/api.triathlon.org\\/v1\\/v1\\/events\\/55945\"\n            }\n         }\n      ],\n      \"latest_news\":[\n         {\n            \"news_id\":36557,\n            \"news_title\":\"2010 Winter Team World Championships\",\n            \"news_slug\":\"2010_winter_team_world_championships\",\n            \"news_entry_date\":\"2010-02-14T20:09:30Z\",\n            \"news_excerpt\":\"USA and Norway took gold at the 2010 Winter Triathlon Team World Championships\",\n            \"news_thumbnail\":\"http:\\/\\/www.triathlon.org\\/images\\/news_thumbs\\/2010-winter-team-web.jpg\",\n            \"news_tab_image\":\"http:\\/\\/www.triathlon.org\\/images\\/news_thumbs\\/2010-winter-team-web.jpg\",\n            \"news_multipurpose_image\":null,\n            \"news_url\":\"http:\\/\\/www.triathlon.org\\/news\\/article\\/2010_winter_team_world_championships\",\n            \"news_api_url\":\"https:\\/\\/api.triathlon.org\\/content\\/news\\/36557\",\n            \"news_categories\":[\n               {\n                  \"cat_name\":\"Multisports\",\n                  \"cat_id\":12,\n                  \"cat_parent_id\":0\n               },\n               {\n                  \"cat_name\":\"Winter Triathlon\",\n                  \"cat_id\":18,\n                  \"cat_parent_id\":12\n               }\n            ]\n         }\n      ],\n      \"latest_videos\":[\n\n      ],\n      \"results_wts\":[\n         {\n            \"event_id\":74437,\n            \"event_title\":\"2014 ITU World Triathlon Grand Final Edmonton\",\n            \"event_slug\":\"2014_itu_world_triathlon_grand_final_edmonton\",\n            \"event_venue\":\"Edmonton, AB\",\n            \"event_country\":\"Canada\",\n            \"event_latitude\":53.54439,\n            \"event_longitude\":-113.49093,\n            \"event_date\":\"2014-08-29\",\n            \"event_start_date\":\"2014-08-29\",\n            \"event_finish_date\":\"2014-09-01\",\n            \"event_country_a2\":\"CA\",\n            \"event_country_noc\":\"CAN\",\n            \"event_region_id\":11,\n            \"event_country_id\":135,\n            \"event_region_name\":\"Americas\",\n            \"prog_id\":268531,\n            \"prog_name\":\"4xMixed Relay U23 and Junior\",\n            \"position\":1,\n            \"total_time\":\"01:22:58\",\n            \"categories\":[\n               {\n                  \"cat_name\":\"World Championships\",\n                  \"cat_id\":348,\n                  \"cat_parent_id\":0\n               },\n               {\n                  \"cat_name\":\"World Triathlon Series\",\n                  \"cat_id\":351,\n                  \"cat_parent_id\":0\n               }\n            ],\n            \"specifications\":[\n               {\n                  \"cat_name\":\"Triathlon\",\n                  \"cat_id\":357,\n                  \"cat_parent_id\":0\n               },\n               {\n                  \"cat_name\":\"Sprint\",\n                  \"cat_id\":376,\n                  \"cat_parent_id\":357\n               },\n               {\n                  \"cat_name\":\"Standard\",\n                  \"cat_id\":377,\n                  \"cat_parent_id\":357\n               },\n               {\n                  \"cat_name\":\"4xMixed Relay\",\n                  \"cat_id\":380,\n                  \"cat_parent_id\":357\n               },\n               {\n                  \"cat_name\":\"Paratriathlon\",\n                  \"cat_id\":381,\n                  \"cat_parent_id\":357\n               }\n            ],\n            \"result_url\":\"http:\\/\\/www.triathlon.org\\/results\\/result\\/2014_itu_world_triathlon_grand_final_edmonton\\/268531\",\n            \"api_url\":\"https:\\/\\/api.triathlon.org\\/v1\\/events\\/74437\\/programs\\/268531\\/results\",\n            \"splits\":{\n               \"Swim\":\"00:21:22\",\n               \"T1\":\"00:19:39\",\n               \"Bike\":\"00:21:54\",\n               \"T2\":\"00:20:04\"\n            }\n         }\n      ],\n      \"major_games\":null,\n      \"latest_results\":[\n         {\n            \"event_id\":91429,\n            \"event_title\":\"2015 Banyoles ETU Triathlon U23 and Youth European Championships\",\n            \"event_slug\":\"2015_banyoles_etu_triathlon_u23_youth_european_championships\",\n            \"event_venue\":\"Banyoles\",\n            \"event_country\":\"Spain\",\n            \"event_latitude\":42.11805,\n            \"event_longitude\":2.75674,\n            \"event_date\":\"2015-07-25\",\n            \"event_start_date\":\"2015-07-25\",\n            \"event_finish_date\":\"2015-07-26\",\n            \"event_country_a2\":\"ES\",\n            \"event_country_noc\":\"ESP\",\n            \"event_region_id\":10,\n            \"event_country_id\":270,\n            \"event_region_name\":\"Europe\",\n            \"prog_id\":271394,\n            \"prog_name\":\"4xMixed Relay U23\",\n            \"position\":2,\n            \"total_time\":\"01:23:17\",\n            \"categories\":[\n               {\n                  \"cat_name\":\"Continental Championship\",\n                  \"cat_id\":340,\n                  \"cat_parent_id\":0\n               }\n            ],\n            \"specifications\":[\n               {\n                  \"cat_name\":\"Triathlon\",\n                  \"cat_id\":357,\n                  \"cat_parent_id\":0\n               },\n               {\n                  \"cat_name\":\"Standard\",\n                  \"cat_id\":377,\n                  \"cat_parent_id\":357\n               },\n               {\n                  \"cat_name\":\"3xRelay\",\n                  \"cat_id\":379,\n                  \"cat_parent_id\":357\n               },\n               {\n                  \"cat_name\":\"4xMixed Relay\",\n                  \"cat_id\":380,\n                  \"cat_parent_id\":357\n               }\n            ],\n            \"result_url\":\"http:\\/\\/www.triathlon.org\\/results\\/result\\/2015_banyoles_etu_triathlon_u23_youth_european_championships\\/271394\",\n            \"api_url\":\"https:\\/\\/api.triathlon.org\\/v1\\/events\\/91429\\/programs\\/271394\\/results\",\n            \"splits\":{\n               \"Swim\":\"00:21:19\",\n               \"T1\":\"00:18:57\",\n               \"Bike\":\"00:22:02\",\n               \"T2\":\"00:20:51\"\n            }\n         }\n      ],\n      \"stats\":{\n         \"race_starts\":3,\n         \"race_finishes\":3,\n         \"finish_percentage\":100,\n         \"race_wins\":0,\n         \"race_podiums\":0,\n         \"race_podium_percentage\":0\n      }\n   }\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"56e064c4903c7a29001d530e","ref":"","in":"path","required":true,"desc":"The unique id of the team to be returned","default":"","type":"int","name":"team_id"}],"url":"/teams/:team_id"},"isReference":true,"order":2,"body":"The **Retrieve Team Information** method returns a full team profile for a given `team_id`.\n\nFor the latest results, news, videos and images the latest **5** results are included. If you require more then please consult the relevant endpoints for results, news, videos and images.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl --header \\\"apikey: [[app:key]]\\\" https://api.triathlon.org/v1/teams/11448\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"retrieve-team-information","type":"endpoint","title":"Retrieve Team Information"}

getRetrieve Team Information


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

team_id:
required
integer
The unique id of the team to be returned

Result Format


Documentation

The **Retrieve Team Information** method returns a full team profile for a given `team_id`. For the latest results, news, videos and images the latest **5** results are included. If you require more then please consult the relevant endpoints for results, news, videos and images. [block:code] { "codes": [ { "code": "curl --header \"apikey: [[app:key]]\" https://api.triathlon.org/v1/teams/11448", "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 }}