get family images
Returns an array all of the uploaded family images for a user's family.
Responses
200 OK application/json
imagesarray
[items]object
eTagstring
imageIdstring
lastModifiedstring
sizenumber
{ "images": [ { "eTag": "\"e4af17fbe28aa8c31ce15499ac176173\"", "imageId": "1afea16db1aeb62f8ba84cdb191eee7c1dd734d23098b4756717c3e2bded8c6a", "lastModified": "2024-09-06T12:22:27.000Z", "size": 58229 } ]}
Query Parameters
limit string
Optional limit to number of images returned
Example
5
GET
/media/family/images
Server URL: https://api.yotoplay.com
Authorization (bearerAuth)
Query Parameters
KEY | VALUE |
---|---|
curl "https://api.yotoplay.com/media/family/images"--header "Authorization: Bearer [YOUR_TOKEN]"
const options = { method: 'GET', headers: { 'Authorization': 'Bearer [YOUR_TOKEN]' }};
fetch('https://api.yotoplay.com/media/family/images', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [ CURLOPT_URL => "https://api.yotoplay.com/media/family/images", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer [YOUR_TOKEN]" ],]);
$response = curl_exec($curl);$err = curl_error($curl);
curl_close($curl);
if ($err) { echo "cURL Error #:" . $err;} else { echo $response;}
import requests
url = "https://api.yotoplay.com/media/family/images"
headers = { "Authorization": "Bearer [YOUR_TOKEN]"}
response = requests.request("GET", url, headers=headers)
print(response.text)