Skip to content

SD Get Domain Info REST API

Endi S. Dewata edited this page Apr 1, 2024 · 1 revision

Request

  • Path: /ca/rest/securityDomain/domainInfo

  • Method: GET

  • Authentication: Not Required

Response

$ curl \
    -k \
    -s \
    https://localhost.localdomain:8443/ca/rest/securityDomain/domainInfo | python -m json.tool
{
    "subsystemArray": [
        {
            "hosts": {
                "CA fedora 8443": {
                    "id": "CA fedora 8443",
                    "Hostname": "fedora",
                    "Port": "8080",
                    "SecurePort": "8443",
                    "SecureEEClientAuthPort": "8443",
                    "SecureAgentPort": "8443",
                    "SecureAdminPort": "8443",
                    "Clone": "FALSE",
                    "SubsystemName": "CA fedora 8443",
                    "DomainManager": "TRUE"
                }
            },
            "hostArray": [
                {
                    "id": "CA fedora 8443",
                    "Hostname": "fedora",
                    "Port": "8080",
                    "SecurePort": "8443",
                    "SecureEEClientAuthPort": "8443",
                    "SecureAgentPort": "8443",
                    "SecureAdminPort": "8443",
                    "Clone": "FALSE",
                    "SubsystemName": "CA fedora 8443",
                    "DomainManager": "TRUE"
                }
            ],
            "id": "CA"
        }
    ],
    "id": "EXAMPLE",
    "subsystems": {
        "CA": {
            "hosts": {
                "CA fedora 8443": {
                    "id": "CA fedora 8443",
                    "Hostname": "fedora",
                    "Port": "8080",
                    "SecurePort": "8443",
                    "SecureEEClientAuthPort": "8443",
                    "SecureAgentPort": "8443",
                    "SecureAdminPort": "8443",
                    "Clone": "FALSE",
                    "SubsystemName": "CA fedora 8443",
                    "DomainManager": "TRUE"
                }
            },
            "hostArray": [
                {
                    "id": "CA fedora 8443",
                    "Hostname": "fedora",
                    "Port": "8080",
                    "SecurePort": "8443",
                    "SecureEEClientAuthPort": "8443",
                    "SecureAgentPort": "8443",
                    "SecureAdminPort": "8443",
                    "Clone": "FALSE",
                    "SubsystemName": "CA fedora 8443",
                    "DomainManager": "TRUE"
                }
            ],
            "id": "CA"
        }
    }
}
Clone this wiki locally