Define archive control v1 protocol

This commit is contained in:
2026-07-22 11:59:57 +00:00
commit 7652262b4c
25 changed files with 1333 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
{
"protocolVersion": {
"major": 1,
"minor": 0
},
"messageId": "2fc6a524-84cd-47ab-bd73-30d463b7c43f",
"sentAt": "2026-07-22T12:03:00Z",
"command": {
"commandId": "6bfccbf4-866f-46fe-bf67-d8943c1ece91",
"createdAt": "2026-07-22T12:03:00Z",
"assignJob": {
"job": {
"jobId": "fd6844d0-ed76-475e-8375-2f98d8eea470",
"idempotencyKey": "telegram-confirmation-615e42",
"operation": "JOB_OPERATION_ARCHIVE",
"resourceId": {
"infoHashV1Hex": "0123456789abcdef0123456789abcdef01234567"
},
"resourceDisplayName": "Resource A",
"createdAt": "2026-07-22T12:03:00Z",
"transfer": {
"sourceClientId": "x1",
"targetClientId": "lithium",
"routeId": "archive-control-x1-lithium-f8b629",
"requestedFiles": {
"ranges": [
{
"first": 2,
"last": 4
}
]
},
"expectedTargetPlacementGeneration": "3",
"targetBaselineFiles": {
"ranges": [
{
"first": 2,
"last": 2
}
]
},
"transferDeltaFiles": {
"ranges": [
{
"first": 3,
"last": 4
}
]
},
"requestedLogicalBytes": "10735000000",
"transferDeltaLogicalBytes": "7340000000"
}
},
"expectedLastEventSequence": "0"
}
}
}