Get online user using rest

i'm looking for the request to see the online user list with rest on PHP

i have this request ton see the roster list of the user test

$request = "get_roster test servername.com";
$response = sendRESTRequest($url, $request);

but i can't find the complete list of request i can use in rest

i know
add_rosteritem
delete-rosteritem
get_roster

why it's so hard to find a list of this request?
can someone help me to find it or just find the online user list request?

finelly i found it if someone

finelly i found it

if someone look for the same this is the answer

$request = "connected_users";
$response = sendRESTRequest($url, $request);

Syndicate content