PingDirectory

GET list example

Example of the GET request for all local backends.

Example

The following is a sample GET request for all local backends:

GET /config/backends
Host: example.com:5033
Accept: application/scim+json

The response, which has been shortened:

{
    "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
    ],
    "totalResults": 24,
    "Resources": [
    {
    "schemas": [
    "urn:unboundid:schemas:configuration:2.0:backend:ldif"
    ],
    "id": "adminRoot",
    "meta": {
    "resourceType": "LDIF Backend",
    "location": "http://localhost:5033/config/backends/adminRoot"
    },
    "backendID": "adminRoot",
    "backupFilePermissions": "700",
    "baseDN": [
    "cn=admin data"
    ],
    "enabled": "true",
    "isPrivateBackend": "true",
    "javaClass": "com.unboundid.directory.server.backends.LDIFBackend",
    "ldifFile": "config/admin-backend.ldif",
    "returnUnavailableWhenDisabled": "true",
    "setDegradedAlertWhenDisabled": "false",
    "writabilityMode": "enabled"
    },
    {
    "schemas": [
    "urn:unboundid:schemas:configuration:2.0:backend:trust-store"
    ],
    "id": "ads-truststore",
    "meta": {
    "resourceType": "Trust Store Backend",
    "location": "http://localhost:5033/config/backends/ads-truststore"
    },
    "backendID": "ads-truststore",
    "backupFilePermissions": "700",
    "baseDN": [
    "cn=ads-truststore"
    ],
    "enabled": "true",
    "javaClass":
    "com.unboundid.directory.server.backends.TrustStoreBackend",
    "returnUnavailableWhenDisabled": "true",
    "setDegradedAlertWhenDisabled": "true",
    "trustStoreFile": "config/server.keystore",
    "trustStorePin": "**",
    "trustStoreType": "JKS",
    "writabilityMode": "enabled"
    },
    {
    "schemas": [
    "urn:unboundid:schemas:configuration:2.0:backend:alarm"
    ],
    "id": "alarms",
    "meta": {
    "resourceType": "Alarm Backend",
    "location": "http://localhost:5033/config/backends/alarms"
    },
    ...