def service_list():
 r = salt.utils.http.query((DETAILS['url'] + 'service/list'), decode_type='json', decode=True)
 return r['dict']

def service_list ( ) : r = salt . utils . http . query ( ( DETAILS [ 'url' ] + 'service/list' ) , decode_type = 'json' , decode = True ) return r [ 'dict' ]
return a list of available services cli example: .