def _get_resource_raw(<EOL>self, cls, id, extra=None, headers=None, stream=False, **filters<EOL>):
headers = headers or {}<EOL>headers.update(self.session.headers)<EOL>postfix = "<STR_LIT>".format(extra) if extra else "<STR_LIT>"<EOL>if cls.api_root != "<STR_LIT:a>":<EOL><INDENT>url = "<STR_LIT>".format(self.api_server, cls.collection_name, id, postfix)<EOL><DEDENT>else:<EOL><INDENT>url = "<STR_LIT>".format(<EOL>self.api_server, self.app_id, cls.collection_name, id, postfix<EOL>)<EOL><DEDENT>converted_filters = convert_datetimes_to_timestamps(<EOL>filters, cls.datetime_filter_attrs<EOL>)<EOL>url = str(URLObject(url).add_query_params(converted_filters.items()))<EOL>response = self._get_http_session(cls.api_root).get(<EOL>url, headers=headers, stream=stream<EOL>)<EOL>return _validate(response)<EOL>
Get an individual REST resource