5.5 Additional APIs

5.5.1 Getting the ID of a Specific Cluster

Getting the ID of an Identity Server Cluster:

Request: curl -k -X GET $rest_url -u cn=$ADMIN_USERNAME,o=novell:$ADMIN_PASSWORD)

Where rest_url="https://$ADMIN_CONSOLE_IP:8443/amsvc/v1/idpclusters"

Getting the ID of an Access Gateway:

Request: curl -k -X GET $rest_url -u cn=$ADMIN_USERNAME,o=novell:$ADMIN_PASSWORD)

Where rest_url="https://$ADMIN_CONSOLE_IP:8443/amsvc/v1/agclusters"

5.5.2 Getting the Number of Active Sessions in Identity Server

Request: curl -k -X GET $rest_url -u cn=$ADMIN_NAME,o=novell:$ADMIN_PASS

Where rest_url="https://$AC_IP:8443/roma/rest/$IDP_CLUSTER_ID/sessions/devices/$IDP_DEVICE_ID"