You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by ro...@apache.org on 2014/11/12 02:15:30 UTC

[25/45] incubator-usergrid git commit: updated manifest files change response model to model from class .

updated manifest files change response model to model from class .


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/4bd23609
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/4bd23609
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/4bd23609

Branch: refs/heads/master
Commit: 4bd236092fb085a99c409863fbb75741206033e6
Parents: fbc8168
Author: Jason Kristian <ja...@apps4u.com.au>
Authored: Fri Oct 31 17:32:22 2014 +1000
Committer: Jason Kristian <ja...@apps4u.com.au>
Committed: Fri Oct 31 17:32:22 2014 +1000

----------------------------------------------------------------------
 .../src/Manifests/1.0.1/Application.php         | 48 ++++++++++----------
 .../src/Manifests/1.0.1/Devices.php             | 16 +++----
 .../src/Manifests/1.0.1/Errors.php              |  2 +-
 .../src/Manifests/1.0.1/Groups.php              | 14 +++---
 .../src/Manifests/1.0.1/Management.php          | 14 +++---
 .../src/Manifests/1.0.1/Notification.php        |  8 ++--
 .../src/Manifests/1.0.1/Roles.php               | 15 +++---
 .../src/Manifests/1.0.1/Users.php               | 13 +++---
 8 files changed, 64 insertions(+), 66 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4bd23609/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Application.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Application.php b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Application.php
index e27b30e..64f8cbc 100644
--- a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Application.php
+++ b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Application.php
@@ -22,7 +22,7 @@ return [
         'notes' => 'Get the app access token.  See the OAuth2 specification for details.',
         'summary' => 'Get app access token',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'grant_type' => [
@@ -76,7 +76,7 @@ return [
         'notes' => 'Get the app access token.  See the OAuth2 specification for details.',
         'summary' => 'Get app access token',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'grant_type' => [
@@ -130,7 +130,7 @@ return [
         'notes' => 'Authorize the app client.  See the OAuth2 specification.',
         'summary' => 'Authorize app client',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -184,7 +184,7 @@ return [
         'notes' => 'Authorize the app client.  See the OAuth2 specification.',
         'summary' => 'Authorize app client',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -238,7 +238,7 @@ return [
         'notes' => 'Get the app client credentials.',
         'summary' => 'Get app client credentials',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -267,7 +267,7 @@ return [
         'notes' => 'Generate new app client credentials',
         'summary' => 'Generate app client credentials',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -296,7 +296,7 @@ return [
         'notes' => 'Create new app user',
         'summary' => 'Create new app user.  See Usergrid documentation for JSON format of body.',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -343,7 +343,7 @@ return [
         'notes' => 'Create new app user',
         'summary' => 'Create new app user using form post parameters.',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -390,7 +390,7 @@ return [
         'notes' => 'Initiate a user password reset.  Returns browser-viewable HTML page.',
         'summary' => 'Initiate a user password reset',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -413,7 +413,7 @@ return [
         'notes' => 'Complete a user password reset.  Handles form POST response.',
         'summary' => 'Complete a user password reset',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -454,7 +454,7 @@ return [
         'notes' => 'Returns the app user details.',
         'summary' => 'Returns the app user details',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -489,7 +489,7 @@ return [
         'notes' => 'Updates the app user details.',
         'summary' => 'Updates the app user details',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -527,7 +527,7 @@ return [
         'notes' => 'Activates the app user from link provided in email notification.',
         'summary' => 'Activates the app user',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -568,7 +568,7 @@ return [
         'notes' => 'Request app user reactivation.',
         'summary' => 'Reactivates the app user',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -597,7 +597,7 @@ return [
         'notes' => 'Get app user activity feed.',
         'summary' => 'Get app user activity feed',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -632,7 +632,7 @@ return [
         'notes' => 'Set app user password.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Set app user password',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -671,7 +671,7 @@ return [
         'notes' => 'Initiate a user password reset.  Returns browser-viewable HTML page.',
         'summary' => 'Initiate a user password reset',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -700,7 +700,7 @@ return [
         'notes' => 'Complete a user password reset.  Handles form POST response.',
         'summary' => 'Complete a user password reset',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -740,8 +740,8 @@ return [
         'uri' => '/{org_name_or_uuid}/{app_name_or_uuid}/{collection}',
         'notes' => 'Query an app collection.',
         'summary' => 'Query an app collection',
-        'responseClass' => '',
-        'responseType' => 'object',
+        'responseClass' => 'Apache\Usergrid\Api\Models\Collection',
+        'responseType' => 'class',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -812,7 +812,7 @@ return [
         'notes' => 'Create new app entity.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new app entity',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -851,7 +851,7 @@ return [
         'notes' => 'Update an app entity in a collection.',
         'summary' => 'Update an app entity',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -896,7 +896,7 @@ return [
         'notes' => 'Delete an app entity.',
         'summary' => 'Delete an app entity',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -937,7 +937,7 @@ return [
         'notes' => 'Create Event.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new app event',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4bd23609/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Devices.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Devices.php b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Devices.php
index b688575..de3473d 100644
--- a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Devices.php
+++ b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Devices.php
@@ -22,7 +22,7 @@ return [
         'notes' => 'Get All devices.',
         'summary' => 'Get all Device collection limit 10000',
         'responseClass' => 'Apache\Usergrid\Api\Models\Collection',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -78,8 +78,8 @@ return [
                 'description' => 'an encoded representation of the query position for paging',
                 'location' => 'query',
                 'type' => 'integer',
-                'required' => false,
-                'default' => 10000
+                'required' => false
+
             ],
             'filter' => [
                 'description' => 'a condition to filter on',
@@ -99,7 +99,7 @@ return [
         'notes' => 'Query Devices.',
         'summary' => 'Query the devices collection',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -174,7 +174,7 @@ return [
         'notes' => 'Find Device by uuid.',
         'summary' => 'Find device by uuid',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -256,7 +256,7 @@ return [
         'notes' => 'Create new Device.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new Device entity',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -296,7 +296,7 @@ return [
         'notes' => 'Delete a Device entity.',
         'summary' => 'Delete a Device entity by name or uuid',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -338,7 +338,7 @@ return [
         'notes' => 'Update a Device entity.',
         'summary' => 'Update a Device entity by name or uuid and using JSON data',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4bd23609/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Errors.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Errors.php b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Errors.php
index de2da47..3230dbd 100644
--- a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Errors.php
+++ b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Errors.php
@@ -47,4 +47,4 @@ return [
         'class' => 'Apache\Usergrid\Api\Exception\ServerErrorException',
         'code' => 504,
     ],
-];
+];
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4bd23609/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Groups.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Groups.php b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Groups.php
index e874ce9..230f347 100644
--- a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Groups.php
+++ b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Groups.php
@@ -22,7 +22,7 @@ return [
         'notes' => 'Query an app collection.',
         'summary' => 'Query an app collection',
         'responseClass' => 'Apache\Usergrid\Api\Models\Collection',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -79,7 +79,7 @@ return [
                 'location' => 'query',
                 'type' => 'integer',
                 'required' => false,
-                'default' => 10000
+
             ],
             'filter' => [
                 'description' => 'a condition to filter on',
@@ -99,7 +99,7 @@ return [
         'notes' => 'Query Groups.',
         'summary' => 'Query the groups collection',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -174,7 +174,7 @@ return [
         'notes' => 'Find group by uuid.',
         'summary' => 'Find group by uuid',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -256,7 +256,7 @@ return [
         'notes' => 'Create new Group.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new Group entity',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -296,7 +296,7 @@ return [
         'notes' => 'Delete a Group entity.',
         'summary' => 'Delete a Group entity by name or uuid',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -338,7 +338,7 @@ return [
         'notes' => 'Update a Group entity.',
         'summary' => 'Update a Group entity by name or uuid and using JSON data',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4bd23609/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Management.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Management.php b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Management.php
index d50d221..14c4a29 100644
--- a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Management.php
+++ b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Management.php
@@ -22,7 +22,7 @@ return [
         'notes' => 'Get the org or admin user access token.  See the OAuth2 specification for details.',
         'summary' => 'Get organization access token',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'grant_type' => [
@@ -64,7 +64,7 @@ return [
         'notes' => 'Get the Application user access token.  See the OAuth2 specification for details.',
         'summary' => 'Get Application access token',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'org_name_or_uuid' => [
@@ -118,7 +118,7 @@ return [
         'notes' => 'Create Admin User .  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create Admin User',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'org_name_or_uuid' => [
@@ -168,7 +168,7 @@ return [
         'notes' => 'Update Admin User .  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create Admin User',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'org_name_or_uuid' => [
@@ -200,7 +200,7 @@ return [
         'notes' => 'Get Admin User .  See Usergrid documentation for JSON format of body.',
         'summary' => 'Get Admin User',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'org_name_or_uuid' => [
@@ -229,7 +229,7 @@ return [
         'notes' => 'Set Admin User Password.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Get Admin User',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'org_name_or_uuid' => [
@@ -272,7 +272,7 @@ return [
         'notes' => 'Create new Organization.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create New Organization',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'access_token' => [

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4bd23609/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Notification.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Notification.php b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Notification.php
index 0606eb2..7f65626 100644
--- a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Notification.php
+++ b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Notification.php
@@ -21,7 +21,7 @@ return [
         'notes' => 'Create Notification for group.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new app notification',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'access_token' => [
@@ -57,7 +57,7 @@ return [
         'notes' => 'Create Notification for single Device.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new app notification',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'access_token' => [
@@ -93,7 +93,7 @@ return [
         'notes' => 'Create Notification all Devices.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new app notification',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'access_token' => [
@@ -122,7 +122,7 @@ return [
         'notes' => 'Create Notification single User.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new app notification',
         'responseClass' => '',
-        'responseType' => 'object',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'access_token' => [

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4bd23609/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Roles.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Roles.php b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Roles.php
index a0f7c43..eaabf26 100644
--- a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Roles.php
+++ b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Roles.php
@@ -22,7 +22,7 @@ return [
         'notes' => 'Query an app collection.',
         'summary' => 'Query an app collection',
         'responseClass' => 'Apache\Usergrid\Api\Models\Collection',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -79,7 +79,6 @@ return [
                 'location' => 'query',
                 'type' => 'integer',
                 'required' => false,
-                'default' => 10000
             ],
             'filter' => [
                 'description' => 'a condition to filter on',
@@ -99,7 +98,7 @@ return [
         'notes' => 'Query Roles.',
         'summary' => 'Query the roles collection',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -174,7 +173,7 @@ return [
         'notes' => 'Find Role by uuid.',
         'summary' => 'Find role by uuid',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -256,7 +255,7 @@ return [
         'notes' => 'Create new Role.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new Role entity',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -296,7 +295,7 @@ return [
         'notes' => 'Delete a Role entity.',
         'summary' => 'Delete a Role entity by name or uuid',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -338,7 +337,7 @@ return [
         'notes' => 'Update a Role entity.',
         'summary' => 'Update a Roles entity by name or uuid and using JSON data',
         'responseClass' => 'Apache\Usergrid\Api\Models\Entity',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -358,7 +357,7 @@ return [
                 'location' => 'uri',
                 'type' => 'string',
                 'required' => true,
-                'default' => 'roles'
+                'default' => 'r'
             ],
             'access_token' => [
                 'description' => 'The OAuth2 access token',

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4bd23609/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Users.php
----------------------------------------------------------------------
diff --git a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Users.php b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Users.php
index 2b8e199..b187fdd 100644
--- a/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Users.php
+++ b/sdks/php5/apache-usergrid/src/Manifests/1.0.1/Users.php
@@ -22,7 +22,7 @@ return [
         'notes' => 'Query an app collection.',
         'summary' => 'Query an app collection',
         'responseClass' => 'Apache\Usergrid\Api\Models\Collection',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -79,7 +79,6 @@ return [
                 'location' => 'query',
                 'type' => 'integer',
                 'required' => false,
-                'default' => 10000
             ],
             'filter' => [
                 'description' => 'a condition to filter on',
@@ -99,7 +98,7 @@ return [
         'notes' => 'Query Users.',
         'summary' => 'Query the users collection',
         'responseClass' => 'Apache\Usergrid\Api\Models\User',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -174,7 +173,7 @@ return [
         'notes' => 'Find User by uuid.',
         'summary' => 'Find user by uuid',
         'responseClass' => 'Apache\Usergrid\Api\Models\User',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -256,7 +255,7 @@ return [
         'notes' => 'Create new User.  See Usergrid documentation for JSON format of body.',
         'summary' => 'Create new User entity',
         'responseClass' => 'Apache\Usergrid\Api\Models\User',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -296,7 +295,7 @@ return [
         'notes' => 'Delete a User entity.',
         'summary' => 'Delete a User entity by name or uuid',
         'responseClass' => 'Apache\Usergrid\Api\Models\User',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [
@@ -338,7 +337,7 @@ return [
         'notes' => 'Update a User entity.',
         'summary' => 'Update a User entity by name or uuid and using JSON data',
         'responseClass' => 'Apache\Usergrid\Api\Models\User',
-        'responseType' => 'class',
+        'responseType' => 'model',
         'errorResponses' => $errors,
         'parameters' => [
             'app_name_or_uuid' => [