= API = == Users and Roles == {{{ { "request": "createrole", "username": , "password": , "role" : { "roleName": , "canManageRoles": (true|false), #true if the user can create/edit/delete roles "canManageUsers": (true|false), #true if the user can create/edit/delete users "canManageAllPlaylists": (true|false), #true if the user can create/edit/delete playlists "canManageTimetable": (true|false), #true if the user can edit/delete the beginning and ending time of scheduled slots "fixedSlotTime": (true|false), #true if the fixedSlotTimesList field has to be considered "fixedSlotTimesList": , #if fixedSlotTime is true, then this is the list of the allowed length for the timeslots for this user "changeTimeBeforeTransmission": , "canCreateTestMountpoint": (true|false), #true if the user is permitted to create a testing mountpoint } } { "response": ("rolecreated" | "notallowed" | "servererror"), "responsen": (0, 1, 2), "description": , "role" : { #the role that has been created "roleName": , "canManageRoles": (true|false), #true if the user can create/edit/delete roles "canManageUsers": (true|false), #true if the user can create/edit/delete users "canManageAllPlaylists": (true|false), #true if the user can create/edit/delete playlists "canManageTimetable": (true|false), #true if the user can edit/delete the beginning and ending time of scheduled slots "fixedSlotTime": (true|false), #true if the fixedSlotTimesList field has to be considered "fixedSlotTimesList": , #if fixedSlotTime is true, then this is the list of the allowed length for the timeslots for this user "changeTimeBeforeTransmission": , "canCreateTestMountpoint": (true|false), #true if the user is permitted to create a testing mountpoint } } }}} {{{ { "request":"createuser", "username": , "password": , "user" : { "name": , "password": , "role": } } }}} {{{ }}}