X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FGetPeers.py;h=4a77ce4f69d104de92a8bfa78272165f01f70f70;hb=e81fb1f3d2c89f2e3951b3c0df975e174ed6545d;hp=dca352a9c39c24cfcf495e8f395433224abddbcc;hpb=70ae1fb8bcca6e47daabf31233499636234d898a;p=plcapi.git diff --git a/PLC/Methods/GetPeers.py b/PLC/Methods/GetPeers.py index dca352a..4a77ce4 100644 --- a/PLC/Methods/GetPeers.py +++ b/PLC/Methods/GetPeers.py @@ -14,13 +14,13 @@ from PLC.Peers import Peer, Peers class GetPeers (Method): """ Returns an array of structs containing details about peers. If - person_filter is specified and is an array of peer identifiers or + peer_filter is specified and is an array of peer identifiers or peer names, or a struct of peer attributes, only peers matching the filter will be returned. If return_fields is specified, only the specified details will be returned. """ - roles = ['admin', 'node','pi','user'] + roles = ['admin', 'node', 'pi', 'user'] accepts = [ Auth(),