{"__v":7,"_id":"564b8859d768500d0088b715","category":{"__v":14,"_id":"55773ae4a042551900b002d7","pages":["55776b78a042551900b0034d","564b87fd7a18b00d00a21bf6","564b882d82c0c90d00ea8b69","564b8859d768500d0088b715","564b886cd768500d0088b718","564b888982c0c90d00ea8b6b","564b889b68ec9a17004e721c","564b88b98341ec0d00a7d589","564b88d382c0c90d00ea8b6d","564b891b68ec9a17004e721f","564b89280a68360d00a3a53d","564b894b7a18b00d00a21bfb","564b8962844edc170025d0af","564b897d68ec9a17004e7222"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:13:40.679Z","from_sync":false,"order":6,"slug":"content-api","title":"Content 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-17T20:04:41.861Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\n   \"code\":200,\n   \"status\":\"success\",\n   \"total\":538,\n   \"per_page\":10,\n   \"current_page\":1,\n   \"last_page\":54,\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\":104414,\n         \"video_title\":\"Science Triathlon Conference 2015 - 16  Scott Murray Eng\",\n         \"video_slug\":\"science_triathlon_conference_2015_-_16_scott_murray_eng\",\n         \"video_entry_date\":\"2016-03-31T04:37:22Z\",\n         \"video_thumbnail\":\"http:\\/\\/www.triathlon.org\\/images\\/news_thumbs\\/science_2015_murray.png\",\n         \"video_caption\":\"Science Triathlon Conference 2015 - 16  Scott Murray Eng\",\n         \"youtube_url\":\"https:\\/\\/www.youtube.com\\/embed\\/h_5ALcmva5I\",\n         \"video_url\":\"http:\\/\\/www.triathlon.org\\/multimedia\\/video\\/science_triathlon_conference_2015_-_16_scott_murray_eng\",\n         \"video_api_url\":\"https:\\/\\/api.triathlon.org\\/content\\/videos\\/104414\",\n         \"video_categories\":[\n            {\n               \"cat_name\":\"Science and Triathlon\",\n               \"cat_id\":431,\n               \"cat_parent_id\":0\n            }\n         ]\n      }\n   ]\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"56fd4af727b4321900186f59","ref":"","in":"query","required":false,"desc":"How many events to be returned per page","default":"","type":"int","name":"per_page"},{"_id":"56fd4af727b4321900186f58","ref":"","in":"query","required":false,"desc":"The page number to be returned","default":"","type":"int","name":"page"},{"_id":"56fd4af727b4321900186f57","ref":"","in":"query","required":false,"desc":"A pipe delimited list of category ids","default":"","type":"string","name":"category_id"},{"_id":"56fd4af727b4321900186f56","ref":"","in":"query","required":false,"desc":"A pipe delimited list of video ids","default":"","type":"string","name":"video_id"},{"_id":"56fd4b66896b2c0e007160f3","ref":"","in":"query","required":false,"desc":"The tag id to restrict results to","default":"","type":"int","name":"tag_id"},{"_id":"56fd4b2b27b4321900186f5a","ref":"","in":"query","required":false,"desc":"Specify asc or desc ordering","default":"desc","type":"string","name":"order"}],"url":"/content/videos"},"isReference":true,"order":3,"body":"The **Video Listings** method returns a filterable list of basic video objects matching the search criteria.\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Video Search API also available\",\n  \"body\": \"The search API can also be used to return a searchable array of basic video objects and is suitable for producing front-end search applications.\"\n}\n[/block]\nMany of the parameters accept a pipe delimited list to allow selection of multiple categories/video_ids and you may specify a `tag_id` to return all videos for a given tag_id.\n\nThe following example returns all WTS event videos:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl --header \\\"apikey: [[app:key]]\\\" https://api.triathlon.org/v1/content/videos?category_id=60\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"video-listings","type":"endpoint","title":"Video Listings"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

per_page:
integer
How many events to be returned per page
page:
integer
The page number to be returned
category_id:
string
A pipe delimited list of category ids
video_id:
string
A pipe delimited list of video ids
tag_id:
integer
The tag id to restrict results to
order:
stringdesc
Specify asc or desc ordering

Result Format


Documentation

The **Video Listings** method returns a filterable list of basic video objects matching the search criteria. [block:callout] { "type": "warning", "title": "Video Search API also available", "body": "The search API can also be used to return a searchable array of basic video objects and is suitable for producing front-end search applications." } [/block] Many of the parameters accept a pipe delimited list to allow selection of multiple categories/video_ids and you may specify a `tag_id` to return all videos for a given tag_id. The following example returns all WTS event videos: [block:code] { "codes": [ { "code": "curl --header \"apikey: [[app:key]]\" https://api.triathlon.org/v1/content/videos?category_id=60", "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 }}