lib/slack/web/api/endpoints/team.rb in slack-ruby-client-0.3.1 vs lib/slack/web/api/endpoints/team.rb in slack-ruby-client-0.4.0
- old
+ new
@@ -20,9 +20,26 @@
# @see https://api.slack.com/methods/team.info
# @see https://github.com/dblock/slack-api-ref/blob/master/methods/team.info.json
def team_info(options = {})
post('team.info', options)
end
+
+ #
+ # This method lists the integration activity logs for a team, including when integrations are added, modified and removed. This method can only be called by Admins.
+ #
+ # @option options [Object] :service_id
+ # Filter logs to this service. Defaults to all logs.
+ # @option options [Object] :app_id
+ # Filter logs to this API application. Defaults to all logs.
+ # @option options [user] :user
+ # Filter logs generated by this user’s actions. Defaults to all logs.
+ # @option options [Object] :change_type
+ # Filter logs with this change type. Defaults to all logs.
+ # @see https://api.slack.com/methods/team.integrationLogs
+ # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team.integrationLogs.json
+ def team_integrationLogs(options = {})
+ post('team.integrationLogs', options)
+ end
end
end
end
end
end