I'm noticing strange behavior when using UAPI's DomainInfo single_domain_data - when using the json I'm getting field "ssl": 1 (int) for some users and "ssl":"1" (string) for other users. Why is this happening and how can I fix this? Anyone had similar problems?
Could you post the full output that you see, ensuring to replace any identifying information with examples? Also, could you confirm what steps you are taking to reproduce the issue?
Can you reproduce this when using the "uapi --user=user1 DomainInfo single_domain_data domain=domain1.com_SSL --output=json" command on in it's own, before it's output to ".result.data.ssl"?
Also, per the documentation, this UAPI function only supports the domain name itself, as opposed to "domain1.com_SSL". If you'd like to see if the SSL certificate is installed, you may find one of these UAPI functions more helpful: