{"__v":7,"_id":"564b889b68ec9a17004e721c","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:05:47.747Z","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\": 58,\n    \"per_page\": \"5\",\n    \"current_page\": 1,\n    \"last_page\": 12,\n    \"next_page_url\": \"https://api.triathlon.org/v1/content/galleries/97637?per_page=5&page=2\",\n    \"prev_page_url\": null,\n    \"from\": 1,\n    \"to\": 5,\n    \"data\": [\n        {\n            \"event_id\": 97637,\n            \"image_id\": 57425,\n            \"image_filename\": \"del_0092.jpg\",\n            \"image_filesize\": \"191.83kB\",\n            \"image_extension\": \"jpg\",\n            \"image_width\": 1183,\n            \"image_height\": 787,\n            \"image_date\": \"2016-04-09T07:28:45Z\",\n            \"image_credit\": \"Delly Carr / ITU Media\",\n            \"image_url\": \"http://www.triathlon.org/uploads/webgalleries/97637/del_0092.jpg\",\n            \"thumbnail\": \"http://www.triathlon.org/uploads/webgalleries/97637/del_0092__medium.jpg\"\n        }\n    ]\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"5760b647f222c60e00a4f30e","ref":"","in":"path","required":true,"desc":"The unique id of the event to be returned","default":"","type":"int","name":"event_id"},{"_id":"57618d3e207db7170022fbdb","ref":"","in":"query","required":false,"desc":"How many results to be returned per page","default":"10","type":"int","name":"per_page"},{"_id":"57618d3e207db7170022fbda","ref":"","in":"query","required":false,"desc":"The page number to be returned","default":"","type":"int","name":"page"}],"url":"/content/galleries/:event_id"},"isReference":true,"order":6,"body":"[block:callout]\n{\n  \"type\": \"danger\",\n  \"body\": \"The use of images retrieved via this method are subject to the [standard terms and conditions](http://media.triathlon.org/terms_and_conditions) for all images in the media centre.\",\n  \"title\": \"Usage Restrictions Apply\"\n}\n[/block]\nThe **Retrieve Event Gallery** method returns a paginated array of image objects for an `event id`.","excerpt":"","slug":"retrieve-event-gallery","type":"endpoint","title":"Retrieve Event Gallery"}

getRetrieve Event Gallery


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

event_id:
required
integer
The unique id of the event to be returned

Query Params

per_page:
integer10
How many results to be returned per page
page:
integer
The page number to be returned

Result Format


Documentation

[block:callout] { "type": "danger", "body": "The use of images retrieved via this method are subject to the [standard terms and conditions](http://media.triathlon.org/terms_and_conditions) for all images in the media centre.", "title": "Usage Restrictions Apply" } [/block] The **Retrieve Event Gallery** method returns a paginated array of image objects for an `event id`.

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 }}