Hello, first of all, I would like to express my respect to the community.
I have some confusion about the functions of jobs and hope to get answers from the community.
1、For Jobs whose Type is Archive, it will be lost when Orthanc is restarted. For Jobs whose Type is ResourceModification, some information will be lost, such as Type and Path in Content.
2、For Jobs whose Type is OrthancPeerStore or DicomModalityStore, Content does not contain the intended Type information like ResourceModification. This makes it impossible to determine the Level of data being sent, resulting in the inability to track whether Study or Series is being sent.
Below I provide the details of the different types of Jobs returned. I hope to get your answers. I would like to express my gratitude to the community again.
{
"Archive": {
"CompletionTime": "20230912T012518.395213",
"Content": {
"ArchiveSize": "2330625",
"ArchiveSizeMB": 2,
"Description": "REST API",
"InstancesCount": 27,
"UncompressedSize": "3583452",
"UncompressedSizeMB": 3
},
"CreationTime": "20230912T012516.576342",
"EffectiveRuntime": 1.783,
"ErrorCode": 0,
"ErrorDescription": "Success",
"ErrorDetails": "",
"ID": "68d0adff-a6ed-488a-a6b0-a0fa07d297aa",
"Priority": 0,
"Progress": 100,
"State": "Success",
"Timestamp": "20230912T012522.982562",
"Type": "Archive"
},
"ResourceModification-after": {
"CompletionTime": "20230911T124251.801895",
"Content": {
"Description": "REST API",
"FailedInstancesCount": 0,
"ID": "ba441025-6b78ad53-1ac6f914-4b83232f-19057dce",
"InstancesCount": 47,
"IsAnonymization": false,
"ParentResources": [
"ba441025-6b78ad53-1ac6f914-4b83232f-19057dce"
],
"Path": "/studies/ba441025-6b78ad53-1ac6f914-4b83232f-19057dce",
"PatientID": "67f5b2d4-14d3cc4e-9b5fcded-1d75f39e-c270323b",
"Type": "Study"
},
"CreationTime": "20230911T124243.270338",
"EffectiveRuntime": 8.531,
"ErrorCode": 0,
"ErrorDescription": "Success",
"ErrorDetails": "",
"ID": "04c744c7-bb45-4e05-bae9-61c725e08dab",
"Priority": 0,
"Progress": 100,
"State": "Success",
"Timestamp": "20230912T012522.982393",
"Type": "ResourceModification"
},
"ResourceModification-restart":{
"CompletionTime": "20230911T094933.499076",
"Content": {
"Description": "",
"FailedInstancesCount": 0,
"InstancesCount": 15,
"IsAnonymization": true,
"ParentResources": [
"4c53307e-5fd317d2-d99e4df0-c6b77f28-dc1d9e68"
]
},
"CreationTime": "20230911T094932.129197",
"EffectiveRuntime": 1.369,
"ErrorCode": 0,
"ErrorDescription": "Success",
"ErrorDetails": "",
"ID": "d98e3d81-525b-4e2a-8c53-e358d32965dd",
"Priority": 0,
"Progress": 0,
"State": "Success",
"Timestamp": "20230912T012522.983184",
"Type": "ResourceModification"
},
"OrthancPeerStore": {
"CompletionTime": "20230912T023931.235994",
"Content": {
"Compress": false,
"Description": "REST API",
"FailedInstancesCount": 0,
"InstancesCount": 27,
"ParentResources": [
"95039561-f36fd4bf-2a0b26a7-9f816596-4b3b83dc"
],
"Peer": {
"AuthPassword": "87672611a99530252c41623696faaeb8",
"DBType": "orthanc",
"Desc": "",
"HttpHeaders": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImJtZWMiLCJwYXNzd29yZCI6Ijg3NjcyNjExYTk5NTMwMjUyYzQxNjIzNjk2ZmFhZWI4In0.NU_i_yqfHHc4npnXRGhYUPSwJ4n3LWRfOj-I0KBonek",
"type": "local"
},
"IsAuth": "1",
"Name": "hhhh",
"NodeType": "local",
"Pkcs11": false,
"Timeout": 0,
"Url": "",
"Username": "bmec"
},
"Size": "3583452",
"SizeMB": 3
},
"CreationTime": "20230912T023928.357775",
"EffectiveRuntime": 2.8780000000000001,
"ErrorCode": 0,
"ErrorDescription": "Success",
"ErrorDetails": "",
"ID": "53611e30-58b9-4ca6-8c09-4c6c036ff84c",
"Priority": 0,
"Progress": 100,
"State": "Success",
"Timestamp": "20230912T024047.245793",
"Type": "OrthancPeerStore"
}
}