code: def _api_all_limits(self):
          
          response.content_type = 'application/json; charset=utf-8'
  
          try:
              # Get the JSON value of the stat limits
              limits = json.dumps(self.stats.getAllLimitsAsDict())
          except Exception as e:
              abort(404, "Cannot get limits (%s)" % (str(e)))
          return limits
docs: Glances API RESTful implementation.
  
          Return the JSON representation of all the plugins limits
          HTTP/200 if OK
          HTTP/400 if plugin is not found
          HTTP/404 if others error