Identity Provider API, REST: SynchronizationSession.ListSessions
Lists synchronization sessions for a subject container.
HTTP request
GET https://organization-manager.api.yandexcloud.kz/organization-manager/v1/idp/synchronization-sessions
Query parameters
Request to list synchronization sessions.
|
Field |
Description |
|
subjectContainerId |
string Required field. ID of the subject container. The maximum string length in characters is 50. |
|
pageSize |
string (int64) The maximum number of results per page to return. Acceptable values are 0 to 1000, inclusive. |
|
pageToken |
string Page token for pagination. The maximum string length in characters is 2000. |
|
filter |
string A filter expression that filters resources listed in the response. The maximum string length in characters is 1000. |
Response
HTTP Code: 200 - OK
{
"sessions": [
{
"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"
}
],
"nextPageToken": "string"
}
Response message for SynchronizationSessionService.ListSessions.
|
Field |
Description |
|
sessions[] |
List of synchronization sessions. |
|
nextPageToken |
string Token for getting the next page of the list. |
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. |