Re: [pve-devel] GET /access/users/{userid} has parameter 'tokens' with 'additionalProperties' containing object definition

2024-04-03 Thread Johannes Draaijer via pve-devel
--- Begin Message --- Hi, Right, that makes a lot more sense! So the correct reading is more akin to "an object that contains unknown keys, but the objects behind those keys have a known schema" Thank you for clarifying! Kind regards, Johannes On Tue, Apr 2, 2024 at 10:00 AM Wolfgang Bumiller

Re: [pve-devel] GET /access/users/{userid} has parameter 'tokens' with 'additionalProperties' containing object definition

2024-04-02 Thread Wolfgang Bumiller
On Tue, Apr 02, 2024 at 09:27:57AM +0200, Fabian Grünbichler wrote: > > > Jona Draaijer via pve-devel hat am 01.04.2024 > > 22:00 CEST geschrieben: > > Hi, > > > > As per the title, that endpoint has an additionalProperties value that is > > not a bool, but rather an object definition. (It's de

Re: [pve-devel] GET /access/users/{userid} has parameter 'tokens' with 'additionalProperties' containing object definition

2024-04-02 Thread Fabian Grünbichler
> Jona Draaijer via pve-devel hat am 01.04.2024 > 22:00 CEST geschrieben: > Hi, > > As per the title, that endpoint has an additionalProperties value that is > not a bool, but rather an object definition. (It's defined in > pve-access-control/src/PVE/API2/User.pm). > > As far as I can tell, a

[pve-devel] GET /access/users/{userid} has parameter 'tokens' with 'additionalProperties' containing object definition

2024-04-01 Thread Jona Draaijer via pve-devel
--- Begin Message --- Hi, As per the title, that endpoint has an additionalProperties value that is not a bool, but rather an object definition. (It's defined in pve-access-control/src/PVE/API2/User.pm). As far as I can tell, all other 'additionalProperties' are bools. Does anyone know why this s