Skip to content

Commit fa54d20

Browse files
author
Slack API Ref Buildbot
committed
Updated from Slack docs, 2025/09/26
1 parent bd5dd34 commit fa54d20

15 files changed

+260
-172
lines changed

docs.slack.dev/methods/admin.functions.list.json

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"desc": "Look up functions by a set of apps",
2+
"desc": "Look up functions by a set of apps.",
33
"http_method": "POST",
44
"scope": {
55
"user": [
66
"admin.workflows:read"
77
]
88
},
9-
"json_input_supported": true,
109
"rate_limits": "t2",
10+
"json_input_supported": true,
1111
"args": {
1212
"type": "object",
1313
"required": [
@@ -22,26 +22,32 @@
2222
"example": "xxxx-xxxxxxxxx-xxxx"
2323
},
2424
"team_id": {
25-
"desc": "The team context to retrieve functions from",
26-
"example": "T00000001",
27-
"schema": "workspace_id"
25+
"schema": "workspace_id",
26+
"desc": "The team context to retrieve functions from.",
27+
"example": "T00000001"
2828
},
2929
"app_ids": {
3030
"type": "array",
31-
"desc": "Comma-separated array of app IDs to get functions for; max 50",
31+
"desc": "Comma-separated array of app IDs to get functions for; max 50.",
3232
"example": "A02,A1234",
3333
"items": {
3434
"schema": "app_id"
3535
},
36-
"maxItems": 50
36+
"maxItems": 50,
37+
"uniqueItems": true
38+
},
39+
"include_non_distributed_functions": {
40+
"type": "boolean",
41+
"default": false,
42+
"desc": "Whether to also include functions that are not yet distributed to any users in the function count. This is needed for admins that are approving an app request and will only work if the team owns the app."
3743
},
3844
"cursor": {
39-
"desc": "Set `cursor` to `next_cursor` returned by the previous call to list items in the next page",
45+
"desc": "Set `cursor` to `next_cursor` returned by the previous call to list items in the next page.",
4046
"example": "dXNlcjpVMDYxTkZUVDI=",
4147
"type": "string"
4248
},
4349
"limit": {
44-
"desc": "The number of results that will be returned by the API on each invocation. Must be between 1 and 1000, both inclusive",
50+
"desc": "The number of results that will be returned by the API on each invocation. Must be between 1 and 1000, both inclusive.",
4551
"example": "20",
4652
"type": "integer",
4753
"default": 100,
@@ -72,10 +78,10 @@
7278
"desc": "Value passed for `cursor` was not valid or is no longer valid."
7379
},
7480
"not_allowed": {
75-
"desc": "The user is not allowed to access this API method"
81+
"desc": "The user is not allowed to access this API method."
7682
},
7783
"restricted_action": {
78-
"desc": "The user is not allowed to access this API method"
84+
"desc": "The user is not allowed to access this API method."
7985
}
8086
},
8187
"examples": {
@@ -89,20 +95,20 @@
8995
"id": "123ABC456DE",
9096
"callback_id": "sample_function",
9197
"title": "Sample function",
92-
"description": "A sample function",
98+
"description": "A sample function.",
9399
"type": "app",
94100
"input_parameters": [
95101
{
96102
"type": "string",
97103
"name": "message",
98-
"description": "Message to be posted",
104+
"description": "Message to be posted.",
99105
"title": "Message",
100106
"is_required": true
101107
},
102108
{
103109
"type": "slack#/reference/objects/user-object_id",
104110
"name": "user",
105-
"description": "The user invoking the workflow",
111+
"description": "The user invoking the workflow.",
106112
"title": "User",
107113
"is_required": false
108114
}
@@ -111,7 +117,7 @@
111117
{
112118
"type": "string",
113119
"name": "updatedMsg",
114-
"description": "Updated message to be posted",
120+
"description": "Updated message to be posted.",
115121
"title": "Updated Msg",
116122
"is_required": true
117123
}

docs.slack.dev/methods/admin.functions.permissions.set.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"desc": "Set the visibility of a Slack function and define the users or workspaces if it is set to named_entities",
2+
"desc": "Set the visibility of a Slack function and define the users or workspaces if it is set to named_entities.",
33
"http_method": "POST",
44
"scope": {
55
"user": [
66
"admin.workflows:read"
77
]
88
},
9-
"json_input_supported": true,
109
"rate_limits": "t3",
10+
"json_input_supported": true,
1111
"args": {
1212
"type": "object",
1313
"required": [
@@ -24,7 +24,7 @@
2424
},
2525
"function_id": {
2626
"type": "string",
27-
"desc": "The function ID to set permissions for"
27+
"desc": "The function ID to set permissions for."
2828
},
2929
"visibility": {
3030
"type": "string",
@@ -38,12 +38,12 @@
3838
},
3939
"user_ids": {
4040
"type": "array",
41-
"desc": "List of user IDs to allow for named_entities visibility",
41+
"desc": "List of user IDs to allow for named_entities visibility.",
4242
"example": "['U00000001', 'U00000002', 'U00000003']",
4343
"items": {
4444
"schema": "user_id"
4545
},
46-
"maxItems": 50
46+
"maxItems": 200
4747
}
4848
}
4949
},
@@ -56,13 +56,13 @@
5656
"desc": "The referenced function does not exist."
5757
},
5858
"invalid_visibility": {
59-
"desc": "Invalid value for visibility"
59+
"desc": "Invalid value for visibility."
6060
},
6161
"unknown_method": {
6262
"desc": "This method does not exist."
6363
},
6464
"invalid_setting": {
65-
"desc": "The app_collaborators setting is not allowed for apps not owned by your team/org"
65+
"desc": "The app_collaborators setting is not allowed for apps not owned by your team/org."
6666
},
6767
"restricted_action": {
6868
"desc": "This actor does not have access to the permissions on this resource."

0 commit comments

Comments
 (0)