1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 04:33:13 +02:00
Files
unrealircd/src
Bram Matthys abb6fcfcb5 RPC: user.list and user.get now have optional object_detail_level.
This is an integer which decides the amount of details in the response object.

See https://www.unrealircd.org/docs/JSON-RPC:User#Structure_of_a_client_object

Especially for user.list it can be a good idea to ask for less detail if
you don't need all the information. It's up to you...

When 'object_detail_level' is not specified in the request, then:
* For user.list it defaults to 2, which is a "breaking change" in the sense
  that it leaves out the "channels" field. To see the "channels" field you
  would have to use level 4.
* For user.get it defaults to 4, which results in the same output as 6.0.7.
* This makes sense so user.list is shorter than user.get, just like we
  already did in channel.list and channel.get.

By the way, this is all documented in the API calls at
https://www.unrealircd.org/docs/JSON-RPC:User
and for channels at https://www.unrealircd.org/docs/JSON-RPC:Channel
2023-03-27 13:12:27 +02:00
..
2022-12-14 15:24:19 +00:00
2023-03-25 09:19:41 +01:00
2021-08-18 13:08:42 +02:00
2021-09-11 09:56:22 +02:00
2022-12-14 15:24:19 +00:00
2023-03-24 13:19:57 +01:00
2022-12-14 15:24:19 +00:00
2023-03-25 09:19:41 +01:00