System Administration > Configuration > Directory Service > Domains

Get domain sync statistics for the given identifier

Request:

Method:
GET
URI Path(s):
/api/v1/directory/domains/<domain-id>/sync-stats
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/directory/domains/123e4567-e89b-12d3-a456-426655440000/sync-stats

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DirectoryDomainSyncStats+

Example Response:

{ "current_state": "FULL_SYNC", "current_state_begin_time": 1507573933, "avg_full_sync_time": 25, "num_full_sync": 234, "avg_delta_sync_time": 2, "num_delta_sync": 12345, "prev_sync_type": "DeltaSync", "prev_sync_status": "Success", "prev_sync_error": "Failed due to improper LDAP server", "prev_sync_finish_time": 1507578611, }

Required Permissions:

read

Feature:

directory_service

Additional Errors: