Get an array of structs containing details about all roles.
"""
- roles = ['admin', 'pi', 'user', 'tech']
+ roles = ['admin', 'pi', 'user', 'tech', 'node']
accepts = [
Auth()
]
returns = [Role.fields]
-
+
def call(self, auth):
- return Roles(self.api).values()
+ return Roles(self.api)