Github user apps4u commented on the pull request:

    https://github.com/apache/incubator-usergrid/pull/88#issuecomment-60474311
  
    Ive started on version 1.0.1 of the Web Service Descriptors so instead of 
just having the Application and Organisation file it now has the default 
collections as well and Ive also enabled ResourceIteration class so by using 
manifest version 1.0.1 you now have 
    ``` 
    Usergrid::Devices()->findById(['uuid' => '1234']);
    // Resource Iteration -- get all entities in collection by calling the 
request till there is no more cursor.
    
    $allDevices = Usergrid::DevicesIterator();
    
    foreach($allDevices as $device) {
    // this will have all devices as the api will check each result to see if 
their is a cursor and if there is will get the next set till 
    // all entities are returned.
    }
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to