diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-11 11:22:33 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-11 12:17:28 +0200 |
commit | 65b397f59fd39b742c56a9be7da4b8bce8b88eb1 (patch) | |
tree | f145482eef2d4360d64984089d03ef7f862b7bd2 /cfg/ogadmserver.service | |
parent | ca3503b716a9189a4cadd8e75cc701fe5dd00c9e (diff) |
rest: fix GET /session payload structurev1.2.5-22
Split partition data by client instead of a single array with every
partition.
Old payload structure:
{
'sessions': [{'disk': 1, 'partition': 1, 'name': 'unknown'}, {'disk': 1, 'partition': 2, 'name': 'unknown'}, {'disk': 1, 'partition': 1, 'name': 'Ubuntu 22.04.4 LTS 64 bits'}]
}
New payload structure:
{
'sessions': [
{'addr': '1.1.1.1', 'partitions': ['disk': 1, 'partition': 1, 'name': 'Ubuntu 22.04.4 LTS 64 bits']},
{'addr': '1.1.1.2', 'partitions': [{'disk': 1, 'partition': 1, 'name': 'unknown'}, {'disk': 1, 'partition': 2, 'name': 'unknown'}]}
]
}
Diffstat (limited to 'cfg/ogadmserver.service')
0 files changed, 0 insertions, 0 deletions