Module ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Num Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Num Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Raise Call NameLoad Num Str TryExcept body Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Num Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Num Str decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Num Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Num Str Assign NameStore Call NameLoad NameLoad Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Num Dict Str Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad attr NameLoad decorator_list
N/A twisted.internet defer synapse.api.errors AuthError SynapseError synapse.http.servlet RestServlet parse_json_object_from_request synapse.types UserID _base client_v2_patterns N/A logging N/A logger N/A N/A logging getLogger __name__ GetFilterRestServlet N/A RestServlet N/A N/A PATTERNS N/A client_v2_patterns /user/(?P<user_id>[^/]*)/filter/(?P<filter_id>[^/]*) __init__ N/A N/A self hs N/A N/A N/A N/A N/A N/A super GetFilterRestServlet self __init__ N/A N/A self hs hs N/A N/A self auth N/A N/A hs get_auth N/A N/A self filtering N/A N/A hs get_filtering N/A on_GET N/A N/A self request user_id filter_id N/A N/A N/A target_user N/A N/A UserID from_string user_id N/A requester N/A N/A N/A N/A self auth get_user_by_req request N/A N/A target_user N/A requester user N/A N/A N/A AuthError 403 Cannot get filters for other users N/A N/A N/A N/A N/A self hs is_mine target_user N/A N/A N/A SynapseError 400 Can only get filters for local users N/A N/A N/A filter_id N/A int filter_id N/A N/A N/A N/A N/A SynapseError 400 Invalid filter_id N/A N/A N/A filter N/A N/A N/A N/A self filtering get_user_filter user_localpart N/A target_user localpart filter_id filter_id N/A N/A N/A defer returnValue N/A 200 N/A N/A filter get_filter_json N/A N/A N/A KeyError N/A N/A N/A SynapseError 400 No such filter N/A N/A defer inlineCallbacks N/A CreateFilterRestServlet N/A RestServlet N/A N/A PATTERNS N/A client_v2_patterns /user/(?P<user_id>[^/]*)/filter __init__ N/A N/A self hs N/A N/A N/A N/A N/A N/A super CreateFilterRestServlet self __init__ N/A N/A self hs hs N/A N/A self auth N/A N/A hs get_auth N/A N/A self filtering N/A N/A hs get_filtering N/A on_POST N/A N/A self request user_id N/A N/A N/A target_user N/A N/A UserID from_string user_id N/A requester N/A N/A N/A N/A self auth get_user_by_req request N/A N/A target_user N/A requester user N/A N/A N/A AuthError 403 Cannot create filters for other users N/A N/A N/A N/A N/A self hs is_mine target_user N/A N/A N/A SynapseError 400 Can only create filters for local users N/A content N/A parse_json_object_from_request request N/A filter_id N/A N/A N/A N/A self filtering add_user_filter user_localpart N/A target_user localpart user_filter content N/A N/A N/A defer returnValue N/A 200 N/A filter_id N/A str filter_id N/A N/A defer inlineCallbacks N/A register_servlets N/A N/A hs http_server N/A N/A N/A N/A N/A N/A GetFilterRestServlet hs register http_server N/A N/A N/A N/A CreateFilterRestServlet hs register http_server N/A