title: How to receive resources with tags from cloudinary in one request
body: <p>My gallery of pictures is creating after request to Cloudinary. </p>
  
  <pre><code>$api = new \App\cloudinaryGallery;
  $api-&gt;resources();
  
  Response {#176 ▼
    +"rate_limit_reset_at": 1477141200
    +"rate_limit_allowed": 500
    +"rate_limit_remaining": 499
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
    storage: array:2 [▼
      "resources" =&gt; array:10 [▼
        0 =&gt; array:11 [▼
          "public_id" =&gt; "tiltkomp/gallery/kreoart"
          "format" =&gt; "jpg"
          "version" =&gt; 1477075563
          "resource_type" =&gt; "image"
          "type" =&gt; "upload"
          "created_at" =&gt; "2016-10-21T18:46:03Z"
          "bytes" =&gt; 1766084
          "width" =&gt; 1920
          "height" =&gt; 2607
          "url" =&gt; "http://res.cloudinary.com/djxgexgng/image/upload/***************/tiltkomp/gallery/kreoart.jpg"
          "secure_url" =&gt; "https://res.cloudinary.com/djxgexgng/image/upload/***************/tiltkomp/gallery/kreoart.jpg"
        ]
        1 =&gt; array:11 [▶]
        2 =&gt; array:11 [▶]
        3 =&gt; array:11 [▶]
        4 =&gt; array:11 [▶]
        5 =&gt; array:11 [▶]
        6 =&gt; array:11 [▶]
        7 =&gt; array:11 [▶]
        8 =&gt; array:11 [▶]
        9 =&gt; array:11 [▶]
      ]
    ]
  }
  </code></pre>
  
  <p>In the request table is not info about tags. To receive tags info I have to send request in loop for each picture</p>
  
  <pre><code>foreach ($pictures['resources'] as $pic) {
      $path_part = pathinfo($pic['url']);
      $tags = $api-&gt;resource($api-&gt;path . $path_part['filename']);    
      $picturesName[basename($pic['url'])] = $tags;
  }
  </code></pre>
  
  <p>and receive:</p>
  
  <pre><code>Response {#178 ▼
    +"rate_limit_reset_at": 1477141200
    +"rate_limit_allowed": 500
    +"rate_limit_remaining": 497
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
    storage: array:14 [▼
      "public_id" =&gt; "tiltkomp/gallery/bodnar"
      "format" =&gt; "jpg"
      "version" =&gt; 1477075543
      "resource_type" =&gt; "image"
      "type" =&gt; "upload"
      "created_at" =&gt; "2016-10-21T18:45:43Z"
      "bytes" =&gt; 976947
      "width" =&gt; 1920
      "height" =&gt; 1489
      "url" =&gt; "http://res.cloudinary.com/djxgexgng/image/upload/***************/tiltkomp/gallery/bodnar.jpg"
      "secure_url" =&gt; "https://res.cloudinary.com/djxgexgng/image/upload/***************/tiltkomp/gallery/bodnar.jpg"
      "tags" =&gt; array:2 [▼
        0 =&gt; "all"
        1 =&gt; "shop"
      ]
      "derived" =&gt; array:4 [▶]
    ]
  }
  </code></pre>
  
  <p>How to do it more effective? Is the way to receive info about pictures and tags in one request?</p>