You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/04/02 22:09:49 UTC

[8/9] incubator-trafficcontrol git commit: User API - adding tenancy - documentation

User API - adding tenancy - documentation


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/85b05575
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/85b05575
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/85b05575

Branch: refs/heads/master
Commit: 85b05575a0b446bb95630026cb80d8dc43c7a871
Parents: 0219ede
Author: nir-sopher <ni...@gmail.com>
Authored: Mon Mar 20 10:56:46 2017 +0200
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Sun Apr 2 16:08:51 2017 -0600

----------------------------------------------------------------------
 .../development/traffic_ops_api/v12/user.rst      | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/85b05575/docs/source/development/traffic_ops_api/v12/user.rst
----------------------------------------------------------------------
diff --git a/docs/source/development/traffic_ops_api/v12/user.rst b/docs/source/development/traffic_ops_api/v12/user.rst
index b141eca..281ce3e 100644
--- a/docs/source/development/traffic_ops_api/v12/user.rst
+++ b/docs/source/development/traffic_ops_api/v12/user.rst
@@ -72,6 +72,8 @@ Users
   +----------------------+--------+------------------------------------------------+
   |``stateOrProvince``   | string |                                                |
   +----------------------+--------+------------------------------------------------+
+  | ``tenantId``         | int    | Owning tenant ID                               |
+  +----------------------+--------+------------------------------------------------+
   |``uid``               | string |                                                |
   +----------------------+--------+------------------------------------------------+
   |``username``          | string |                                                |
@@ -100,6 +102,7 @@ Users
 			"role": "6",
 			"rolename": "admin",
 			"stateOrProvince": "",
+			"tenantId": 1,
 			"uid": "0",
 			"username": "tsimpson"
 		 },
@@ -169,6 +172,8 @@ Users
   +----------------------+--------+------------------------------------------------+
   |``stateOrProvince``   | string |                                                |
   +----------------------+--------+------------------------------------------------+
+  | ``tenantId``         | int    | Owning tenant ID                               |
+  +----------------------+--------+------------------------------------------------+
   |``uid``               | string |                                                |
   +----------------------+--------+------------------------------------------------+
   |``username``          | string |                                                |
@@ -197,6 +202,7 @@ Users
 			"role": "6",
 			"rolename": "admin",
 			"stateOrProvince": "",
+			"tenantId": 1,
 			"uid": "0",
 			"username": "tsimpson"
 		 },
@@ -487,6 +493,8 @@ Users
   +----------------------+---------+------------------------------------------------+
   |``postalCode``        | string  |                                                |
   +----------------------+---------+------------------------------------------------+
+  | ``tenantId``         | int     | Owning tenant ID                               |
+  +----------------------+---------+------------------------------------------------+
 
   **Response Example** ::
 
@@ -508,7 +516,9 @@ Users
                             "role": "6",
                             "addressLine1": "",
                             "gid": "0",
-                            "postalCode": ""
+                            "postalCode": "",
+                            "tenantId": 1
+
            },
     }
 
@@ -561,6 +571,8 @@ Users
   +----------------------+---------+------------------------------------------------+
   |``postalCode``        | string  |                                                |
   +----------------------+---------+------------------------------------------------+
+  | ``tenantId``         | int     | Owning tenant ID                               |
+  +----------------------+---------+------------------------------------------------+
 
   **Request Example** ::
 
@@ -582,7 +594,9 @@ Users
         "role": "6",
         "addressLine1": "",
         "gid": "0",
-        "postalCode": ""
+        "postalCode": "",
+        "tenantId": 1,
+
      }
     }