Image list of a particular tenant

asked 2014-05-12 09:24:32 -0500

Lokesh gravatar image

Hi ,

    I need to filter out the images created by each user through api call , can any one please help me out .I have an api which lists out all the images . i.e 


$curl = curl_init();
 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
 curl_setopt($curl, CURLOPT_POST, false);
 curl_setopt($curl, CURLOPT_URL, $url_send);
 curl_setopt($curl, CURLOPT_HTTPHEADER,array($header1));
 curl_setopt($curl, CURLOPT_HEADER, false);
 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

    $response = curl_exec($curl);

The response will give me the output of all the images , bt i need the images that are created by a particular user .

Thanks in advance , Regards , Lokesh.S

edit retag flag offensive close merge delete


v1/images/detail will give you the image owner as well! Not sure if it is supported, but you might also try filtering based on the owner in the API call itself.

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-05-13 03:47:13 -0500 )edit