API v2: Session Data Replication πΒΆ
Additionally to automated session data replication, Fudo Enterprise enables on-demand replication to Fudo Enterprise instances to which the given data is not replicated automatically.
Data StructuresΒΆ
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Read-only. Unique identifier. Protected. |
|
|
string |
yes |
Serial number of the node on which the session has been replicated. The value |
|
string |
yes |
ID of the session. Immutable. Uniqueness is required in the combination of attribute |
|
boolean; default value |
yes |
Read-only. |
|
string |
Backup ID, available when the |
|
|
string |
Read-only. Protected. |
|
|
string |
Directory where session backup has been saved. Read-only. Expensive to use. |
|
|
string |
Name of the node on which the session has been replicated. Read-only. Expensive to use. |
|
|
string |
Read-only. Expensive to use. |
|
|
datetime |
Datetime of the record creation. Read-only. |
|
|
datetime |
Datetime of the record modification. Read-only. |
|
|
boolean |
Read-only. |
Retrieve Available Attributes of the SessionReplicaModelΒΆ
Request
Method |
|
Path |
|
GET /api/v2/objspec/session_replica
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/objspec/session_replica'
Get Session Replication DetailsΒΆ
Request
Method |
|
Path |
|
GET /api/v2/session/<session_id>/replica
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.31.92.108/api/v2/session/4665729213955833864/replica'
Response
{
"result": "success",
"session_replica": [
{
"session_on": "83329531",
"session_id": "4665729213955833864",
"fully_replicated": true,
"created_at": "2025-05-14 06:32:04.355502-07",
"modified_at": "2025-05-14 06:32:04.355502-07"
}
]
}
Process Session ReplicationΒΆ
Request
Method |
|
Path |
|
Headers |
|
Body |
|
POST /api/v2/session/<session_id>/replica
Example Request
curl -s -k -X POST \
-H 'Authorization: proxycrypto' \
-H 'Content-Type: application/json' \
-d '{"session_on": "83329531"}' \
'https://10.31.92.108/api/v2/session/4665729213955833858/replica'
Response
{
"result": "success"
}