The zone config resource contains system settings defined by the administrator for the authenticated user.
{
"enabled": boolean,
"user_default": integer,
"highwater_percentage": integer
}
{
"mode": string ("none", "whitelist" or "blacklist"),
"email_list": [ string ],
"domain_list": [ string ]
}
{
"id": long,
"guid": string,
"disk_quotas": DiskQuotasConfig Resource,
"desktop_app_config": DesktopAppConfig Resource,
"mobile_app_config": MobileAppConfig Resource,
"file_upload_size_limit: long,
"allow_sharing_with_ldap_groups": boolean,
"external_sharing_restrictions": ExternalSharingRestrictions Resource
}
To get the user's system settings, use the zone_config related link (href: "/zone_config") from the root REST resource:
[Request]
> curl -k -u dlewis:novell https://amethyst.provo.novell.com:8443/rest/zone_config
[Response]
{
"id":1,
"guid":"09c1c3fb52569424015256945e76000f",
"binder_quotas":{
"initialized":false,
"enabled":false,
"allow_owner":false
},
"disk_quotas":{
"enabled":false,
"user_default":100,
"highwater_percentage":90
},
"desktop_app_config":{
"enabled":true,
"allow_cached_password":true,
"sync_interval":15,
"auto_update_url":"",
"max_file_size":52428800
},
"mobile_app_config":{
"enabled":true,
"allow_cached_password":true,
"allow_cached_content":true,
"allow_play_with_other_apps":true,
"force_pin_code":false,
"sync_interval":15,
"allow_cut_copy":true,
"allow_screen_capture":true,
"allow_rooted_devices":false,
"allowed_open_in_apps":"all"
},
"allow_sharing_with_ldap_groups":true,
"external_sharing_restrictions":{
"mode":"none",
"email_list":[],
"domain_list":[]
}
}