Go to file
Alejandro Sirgo Rica 65b397f59f rest: fix GET /session payload structure
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'}]}
  ]
}
2024-10-11 12:17:28 +02:00
cfg #981 Use 'Wants' for mysql systemd unit dependency 2021-07-27 17:12:40 +02:00
extras src: port setclientmode code to C 2024-07-16 13:44:40 +02:00
src rest: fix GET /session payload structure 2024-10-11 12:17:28 +02:00
tests #915 Add commands and procedures to procedure creation 2021-06-10 17:00:01 +02:00
.gitignore #985 add .gitignore file 2020-06-17 18:20:32 +02:00
COPYING #985 add COPYING file 2020-06-18 16:48:20 +02:00
INSTALL INSTALL: generate 'configure' script 2023-10-30 11:27:06 +01:00
Makefile.am rest: remove scheduler code 2024-09-17 17:46:07 +02:00
configure.ac #986 rename to ogserver 2020-06-19 11:19:55 +02:00