Identity Provider API, REST: SynchronizationSession.GetSession
Returns the specified synchronization session.
HTTP request
GET https://organization-manager.api.cloud.yandex.net/organization-manager/v1/idp/synchronization-sessions/{sessionId}
Path parameters
Request to get a synchronization session.
|
Field |
Description |
|
sessionId |
string Required field. ID of the session to return. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"session": {
"sessionId": "string",
"agentId": "string",
"createdAt": "string",
"expiresAt": "string",
"closedAt": "string",
"syncMode": "string",
"status": "string",
"progressEntries": [
{
"objectType": "string",
"changeInfo": [
{
"changeType": "string",
"successful": "string",
"failed": "string"
}
]
}
],
"failReason": "string",
"sessionType": "string"
}
}
Response message for SynchronizationSessionService.GetSession.
|
Field |
Description |
|
session |
Synchronization session information. |
SynchronizationSession
Synchronization session information.
|
Field |
Description |
|
sessionId |
string Unique identifier of the session. |
|
agentId |
string ID of the agent managing the session. |
|
createdAt |
string (date-time) Timestamp when the session was created. String in RFC3339 To work with values in this field, use the APIs described in the |
|
expiresAt |
string (date-time) Timestamp when the session expires. String in RFC3339 To work with values in this field, use the APIs described in the |
|
closedAt |
string (date-time) Timestamp when the session was closed. String in RFC3339 To work with values in this field, use the APIs described in the |
|
syncMode |
enum (SyncMode) Synchronization mode.
|
|
status |
enum (SessionStatus) Current status of the session.
|
|
progressEntries[] |
List of progress entries. |
|
failReason |
string Reason for session failure, if any. |
|
sessionType |
enum (SessionType) Type of synchronization session.
|
ProgressEntry
Progress entry for synchronization.
|
Field |
Description |
|
objectType |
enum (RelatedObjectType) Required field. Type of object being synchronized.
|
|
changeInfo[] |
List of change information. The number of elements must be in the range 1-6. |
ChangeInfo
Information about changes during synchronization.
|
Field |
Description |
|
changeType |
enum (ChangeType) Type of change.
|
|
successful |
string (int64) Number of successful changes. |
|
failed |
string (int64) Number of failed changes. |