You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/commands/admin_analytics.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ class App
9
9
g.desc'Retrieve analytics data for a given date, presented as a compressed JSON file'
10
10
g.long_desc%( Retrieve analytics data for a given date, presented as a compressed JSON file )
11
11
g.command'getFile'do |c|
12
-
c.flag'type',desc: 'The type of analytics to retrieve. The options are currently limited to member (for grid member analytics) and public_channel (for public channel analytics).'
13
12
c.flag'date',desc: 'Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC. Required unless metadata_only is set to true.'
13
+
c.flag'type',desc: 'The type of analytics to retrieve. The options are currently limited to member (for Enterprise org member analytics) and public_channel (for public channel analytics).'
14
14
c.flag'metadata_only',desc: 'Retrieve metadata for the type of analytics indicated. Can be used only with type set to public_channel analytics. See detail below. Omit the date parameter when using this argument.'
g.long_desc%( Uninstall an app from one or many workspaces, or an entire enterprise organization. )
46
46
g.command'uninstall'do |c|
47
47
c.flag'app_id',desc: 'The ID of the app to uninstall.'
48
-
c.flag'enterprise_id',desc: 'The enterprise to completely uninstall the application from (across all workspaces). With an org-level token, this or team_ids is required.'
49
48
c.flag'team_ids',desc: 'IDs of the teams to uninstall from (max 100). With an org-level token, this or enterprise_id is required.'
49
+
c.flag'enterprise_id',desc: 'The enterprise to completely uninstall the application from (across all workspaces). With an org-level token, this or team_ids is required.'
Copy file name to clipboardExpand all lines: bin/commands/admin_apps_activities.rb
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,18 @@ class App
10
10
g.long_desc%( Get logs for a specified team/org )
11
11
g.command'list'do |c|
12
12
c.flag'app_id',desc: 'The ID of the app to get activities from.'
13
-
c.flag'component_id',desc: 'The component ID of log events to be returned. Will be FnXXXXXX for functions, and WfXXXXXX for worflows.'
14
-
c.flag'component_type',desc: 'The component type of log events to be returned. Acceptable values are events_api, workflows, functions and tables.'
13
+
c.flag'team_id',desc: 'The team who owns this log.'
15
14
c.flag'cursor',desc: "Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. See pagination for more detail."
16
15
c.flag'limit',desc: 'The maximum number of items to return.'
17
-
c.flag'log_event_type',desc: 'The event type of log events to be returned.'
18
-
c.flag'max_date_created',desc: 'The latest timestamp of the log to retrieve (epoch microseconds).'
19
-
c.flag'min_date_created',desc: 'The earliest timestamp of the log to retrieve (epoch microseconds).'
20
16
c.flag'min_log_level',desc: 'The minimum log level of the log events to be returned. Defaults to info. Acceptable values (in order of relative importance from smallest to largest) are trace, debug, info, warn, error and fatal.'
21
-
c.flag'sort_direction',desc: 'The direction you want the data sorted by (always by timestamp).'
17
+
c.flag'log_event_type',desc: 'The event type of log events to be returned.'
22
18
c.flag'source',desc: 'The source of log events to be returned. Acceptable values are slack and developer.'
23
-
c.flag'team_id',desc: 'The team who owns this log.'
19
+
c.flag'component_type',desc: 'The component type of log events to be returned. Acceptable values are events_api, workflows, functions and tables.'
20
+
c.flag'component_id',desc: 'The component ID of log events to be returned. Will be FnXXXXXX for functions, and WfXXXXXX for workflows.'
24
21
c.flag'trace_id',desc: 'The trace ID of log events to be returned.'
22
+
c.flag'min_date_created',desc: 'The earliest timestamp of the log to retrieve (epoch microseconds).'
23
+
c.flag'max_date_created',desc: 'The latest timestamp of the log to retrieve (epoch microseconds).'
24
+
c.flag'sort_direction',desc: 'The direction you want the data sorted by (always by timestamp).'
g.long_desc%( Set the app config for a connector )
20
21
g.command'set'do |c|
21
22
c.flag'app_id',desc: 'The encoded app ID to set the app config for.'
22
-
c.flag'domain_restrictions',desc: 'Domain restrictions for the app. Should be an object with two properties: urls and emails. Each is an array of strings, and each sets the allowed URLs and emails for connector authorization, respectively.'
23
23
c.flag'workflow_auth_strategy',desc: 'The workflow auth permission. Can be one of builder_choice or end_user_only.'
24
+
c.flag'rich_link_preview_type',desc: 'Indicates the app-level override for rich link preview. Unsupported for free teams.'
25
+
c.flag'domain_restrictions',desc: 'Domain restrictions for the app. Should be an object with two properties: urls and emails. Each is an array of strings, and each sets the allowed URLs and emails for connector authorization, respectively.'
Copy file name to clipboardExpand all lines: bin/commands/admin_auth_policy.rb
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ class App
9
9
g.desc'Assign entities to a particular authentication policy.'
10
10
g.long_desc%( Assign entities to a particular authentication policy. )
11
11
g.command'assignEntities'do |c|
12
-
c.flag'entity_ids',desc: 'Array of IDs to assign to the policy.'
13
-
c.flag'entity_type',desc: 'The type of entity to assign to the policy. Currently, USER is supported.'
14
12
c.flag'policy_name',desc: 'The name of the authentication policy to assign the entities to. Currently, email_password is the only policy that may be used with this method.'
13
+
c.flag'entity_type',desc: 'The type of entity to assign to the policy. Currently, USER is supported.'
14
+
c.flag'entity_ids',desc: 'Array of IDs to assign to the policy.'
g.long_desc%( Fetch all the entities assigned to a particular authentication policy by name. )
22
22
g.command'getEntities'do |c|
23
23
c.flag'policy_name',desc: 'The name of the policy to fetch entities for. Currently, email_password is the only policy that may be used with this method.'
24
-
c.flag'cursor',desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
25
24
c.flag'entity_type',desc: 'The type of entity to assign to the policy. Currently, USER is supported.'
26
25
c.flag'limit',desc: 'The maximum number of items to return. Must be between 1 and 1000, both inclusive.'
26
+
c.flag'cursor',desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
g.desc'Remove specified entities from a specified authentication policy.'
33
33
g.long_desc%( Remove specified entities from a specified authentication policy. )
34
34
g.command'removeEntities'do |c|
35
-
c.flag'entity_ids',desc: "Encoded IDs of the entities you'd like to remove from the policy."
36
-
c.flag'entity_type',desc: 'The type of entity to assign to the policy. Currently, USER is supported.'
37
35
c.flag'policy_name',desc: 'The name of the policy to remove entities from. Currently, email_password is the only policy that may be used with this method.'
36
+
c.flag'entity_type',desc: 'The type of entity to assign to the policy. Currently, USER is supported.'
37
+
c.flag'entity_ids',desc: "Encoded IDs of the entities you'd like to remove from the policy."
0 commit comments