From df5496d0e4571fbb511909c89d2324edf9f7e425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Tue, 12 Dec 2023 15:33:55 +0100 Subject: [PATCH] fixed actor data comments --- server/src/uds/REST/methods/actor_v3.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/src/uds/REST/methods/actor_v3.py b/server/src/uds/REST/methods/actor_v3.py index b9b4a6943..cdf3a39f0 100644 --- a/server/src/uds/REST/methods/actor_v3.py +++ b/server/src/uds/REST/methods/actor_v3.py @@ -362,13 +362,15 @@ class Initialize(ActorV3Action): Will return on field "result" a dictinary with: * own_token: Optional[str] -> Personal uuid for the service (That, on service, will be used from now onwards). If None, there is no own_token * unique_id: Optional[str] -> If not None, unique id for the service (normally, mac adress of recognized interface) - * max_idle: Optional[int] -> If not None, max configured Idle for the vm. Remember it can be a null value * os: Optional[dict] -> Data returned by os manager for setting up this service. Example: { 'own_token' 'asdfasdfasdffsadfasfd' - 'unique_ids': 'aa:bb:cc:dd:ee:ff' - 'maxIdle': 34 + 'unique_id': 'aa:bb:cc:dd:ee:ff' + 'os': { + 'action': 'rename', + 'name': 'new_name' + } } On error, will return Empty (None) result, and error field """