@@ -4184,71 +4184,6 @@ def sharing_update_folder_policy(self,
41844184 )
41854185 return r
41864186
4187- # ------------------------------------------
4188- # Routes in team_log namespace
4189-
4190- def team_log_get_events (self ,
4191- limit = 1000 ,
4192- account_id = None ,
4193- time = None ,
4194- category = None ):
4195- """
4196- Retrieves team events. Events have a lifespan of two years. Events older
4197- than two years will not be returned. Many attributes note 'may be
4198- missing due to historical data gap'. Note that the file_operations
4199- category and & analogous paper events are not available on all Dropbox
4200- Business `plans </business/plans-comparison>`_. Use `features/get_values
4201- </developers/documentation/http/teams#team-features-get_values>`_ to
4202- check for this feature. Permission : Team Auditing.
4203-
4204- :param long limit: Number of results to return per call.
4205- :param Nullable account_id: Filter the events by account ID. Return ony
4206- events with this account_id as either Actor, Context, or
4207- Participants.
4208- :param Nullable time: Filter by time range.
4209- :param Nullable category: Filter the returned events to a single
4210- category.
4211- :rtype: :class:`dropbox.team_log.GetTeamEventsResult`
4212- :raises: :class:`.exceptions.ApiError`
4213-
4214- If this raises, ApiError will contain:
4215- :class:`dropbox.team_log.GetTeamEventsError`
4216- """
4217- arg = team_log .GetTeamEventsArg (limit ,
4218- account_id ,
4219- time ,
4220- category )
4221- r = self .request (
4222- team_log .get_events ,
4223- 'team_log' ,
4224- arg ,
4225- None ,
4226- )
4227- return r
4228-
4229- def team_log_get_events_continue (self ,
4230- cursor ):
4231- """
4232- Once a cursor has been retrieved from :meth:`team_log_get_events`, use
4233- this to paginate through all events. Permission : Team Auditing.
4234-
4235- :param str cursor: Indicates from what point to get the next set of
4236- events.
4237- :rtype: :class:`dropbox.team_log.GetTeamEventsResult`
4238- :raises: :class:`.exceptions.ApiError`
4239-
4240- If this raises, ApiError will contain:
4241- :class:`dropbox.team_log.GetTeamEventsContinueError`
4242- """
4243- arg = team_log .GetTeamEventsContinueArg (cursor )
4244- r = self .request (
4245- team_log .get_events_continue ,
4246- 'team_log' ,
4247- arg ,
4248- None ,
4249- )
4250- return r
4251-
42524187 # ------------------------------------------
42534188 # Routes in users namespace
42544189
0 commit comments