Inheritance
Every UNIT has i.a. the variable '_super' that (optionaly) references a UNIT of the same UNIT-CLASS.
Example-UNITs
unit:cct/john.doe@goohoo.com
| Variable | Example |
_super
|
john.doe@goohoo.com?q=priv
(reference on unit://cct/john.doe@goohoo.com?q=priv) |
_b_private
|
0 (FALSE)
|
phone
|
++49 89 3456789
|
| ... |
unit:cct/john.doe@goohoo.com?q=priv
| Variable | Example |
_b_private |
1 (TRUE) |
_lst_follower |
john.doe@goohoo.com?q=friends (reference on unit://lst/john.doe@goohoo.com?q=friends) |
mobile |
++49 171 222222222 |
unit:lst/john.doe@goohoo.com?q=friends
| Variable | Example |
csv |
alice@a-provider.com,... |
e_type |
|
Example-Requests
GET https://www.goohoo.com/unit/cct/john.doe/goohoo.com
| AuthenticationHeader | |
| Response |
{ "phone":"++49 89 3456789", ... }
|
| AuthenticationHeader |
bob@b-provider.com /<Password Bob on goohoo.com> |
| Response |
{ "phone":"++49 89 3456789", .... }
|
| AuthenticationHeader |
alice@a-provider.com /<Password Alice on goohoo.com> |
| Response |
{ "phone":"++49 89 3456789", "mobile":"++49 171 222222222", ... }
|
| AuthenticationHeader |
john.doe@goohoo.com /<Password John> |
| Response |
{ "phone":"++49 89 3456789", "mobile":"++49 171 222222222", ... }
|