@wirecat/slack-cli 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +104 -0
- package/LICENSE +204 -0
- package/README.md +131 -2
- package/contracts/wirecat.json +5526 -0
- package/dist/bin/slack.d.ts +3 -0
- package/dist/bin/slack.d.ts.map +1 -0
- package/dist/bin/slack.js +40 -0
- package/dist/bin/slack.js.map +1 -0
- package/dist/bundle/agent-GOFXFUQP.js +37 -0
- package/dist/bundle/all-profiles-4C7VOT2D.js +320 -0
- package/dist/bundle/anthropic-ZD66TC5S.js +91 -0
- package/dist/bundle/app-server-QNCVEDMY.js +249 -0
- package/dist/bundle/bun-2FULBYXS.js +169 -0
- package/dist/bundle/bun-sqlite-PMS26ZUT.js +76 -0
- package/dist/bundle/chunk-2LB5BWC4.js +362 -0
- package/dist/bundle/chunk-2ZEYRHZV.js +18 -0
- package/dist/bundle/chunk-3IJ3THPV.js +7 -0
- package/dist/bundle/chunk-4HSVEQ3R.js +29 -0
- package/dist/bundle/chunk-4QPMHVM5.js +1007 -0
- package/dist/bundle/chunk-53LIHHXC.js +16 -0
- package/dist/bundle/chunk-5F36CXDM.js +794 -0
- package/dist/bundle/chunk-5LPREGD3.js +12636 -0
- package/dist/bundle/chunk-5R5YRYIP.js +1148 -0
- package/dist/bundle/chunk-5RSQTG7L.js +388 -0
- package/dist/bundle/chunk-5SXZETJF.js +170 -0
- package/dist/bundle/chunk-6PDQP5RM.js +50 -0
- package/dist/bundle/chunk-75BLNPN3.js +1197 -0
- package/dist/bundle/chunk-7BEO72EN.js +131 -0
- package/dist/bundle/chunk-7F6RNAIM.js +230 -0
- package/dist/bundle/chunk-AG7FP64Z.js +77 -0
- package/dist/bundle/chunk-B7ZM3FCB.js +61 -0
- package/dist/bundle/chunk-BRXTN5LJ.js +338 -0
- package/dist/bundle/chunk-CABZAU37.js +319 -0
- package/dist/bundle/chunk-CCOSG3F2.js +24616 -0
- package/dist/bundle/chunk-CDTZSFTN.js +58 -0
- package/dist/bundle/chunk-CMZBCWND.js +1246 -0
- package/dist/bundle/chunk-CRQEEJNF.js +185 -0
- package/dist/bundle/chunk-CWYU4R65.js +358 -0
- package/dist/bundle/chunk-CZFR6JQX.js +52 -0
- package/dist/bundle/chunk-D72URWJE.js +532 -0
- package/dist/bundle/chunk-DFDN6AUB.js +21 -0
- package/dist/bundle/chunk-DVHX7R54.js +4072 -0
- package/dist/bundle/chunk-DYKOG7QR.js +9596 -0
- package/dist/bundle/chunk-ECDI42G6.js +100 -0
- package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
- package/dist/bundle/chunk-ELY2TLCY.js +259 -0
- package/dist/bundle/chunk-ERRVUVKR.js +156 -0
- package/dist/bundle/chunk-FBWR4E5D.js +353 -0
- package/dist/bundle/chunk-GKS6KL57.js +6848 -0
- package/dist/bundle/chunk-H2COZZ55.js +2787 -0
- package/dist/bundle/chunk-HGXTEK7R.js +82 -0
- package/dist/bundle/chunk-HXLXM7HV.js +726 -0
- package/dist/bundle/chunk-IPP4N6HD.js +24 -0
- package/dist/bundle/chunk-IWTVR7S7.js +53 -0
- package/dist/bundle/chunk-IYJH75D4.js +63 -0
- package/dist/bundle/chunk-JCZLRT4Z.js +39 -0
- package/dist/bundle/chunk-JGRWMR5H.js +123 -0
- package/dist/bundle/chunk-JYRYQJBN.js +633 -0
- package/dist/bundle/chunk-KIKLDI74.js +161 -0
- package/dist/bundle/chunk-L4WO3XH6.js +2020 -0
- package/dist/bundle/chunk-LQDNUAK3.js +274 -0
- package/dist/bundle/chunk-LV5ONLQH.js +38 -0
- package/dist/bundle/chunk-M27Z23OZ.js +23 -0
- package/dist/bundle/chunk-M5XTZHXM.js +142 -0
- package/dist/bundle/chunk-MJBEGUIZ.js +76 -0
- package/dist/bundle/chunk-N4WOLGIV.js +2333 -0
- package/dist/bundle/chunk-N5K4OHPT.js +206 -0
- package/dist/bundle/chunk-NYAPUET7.js +108 -0
- package/dist/bundle/chunk-P4IFLOIK.js +218 -0
- package/dist/bundle/chunk-P6G2QTCD.js +288 -0
- package/dist/bundle/chunk-PL5P7UKW.js +25216 -0
- package/dist/bundle/chunk-PU7R6XNV.js +80 -0
- package/dist/bundle/chunk-QLLBACDR.js +72 -0
- package/dist/bundle/chunk-QP7XN5KX.js +407 -0
- package/dist/bundle/chunk-QY2F6A3D.js +557 -0
- package/dist/bundle/chunk-RLIT7VAZ.js +66 -0
- package/dist/bundle/chunk-S4UUN6LD.js +1410 -0
- package/dist/bundle/chunk-SKGAKI62.js +86 -0
- package/dist/bundle/chunk-SQMZP5MA.js +66653 -0
- package/dist/bundle/chunk-UB6NTICY.js +95 -0
- package/dist/bundle/chunk-UBHQO5HV.js +778 -0
- package/dist/bundle/chunk-UM4RKO24.js +106 -0
- package/dist/bundle/chunk-VAHFY732.js +1068 -0
- package/dist/bundle/chunk-VGDM4C3F.js +188 -0
- package/dist/bundle/chunk-VOUAKCPM.js +41181 -0
- package/dist/bundle/chunk-WCCFJ4Q6.js +3736 -0
- package/dist/bundle/chunk-WV6EXRDV.js +46 -0
- package/dist/bundle/chunk-WVAT5TGY.js +334 -0
- package/dist/bundle/chunk-WW76JMKE.js +1243 -0
- package/dist/bundle/chunk-XXOMUKC6.js +54 -0
- package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
- package/dist/bundle/chunk-YDO6RJ2P.js +1337 -0
- package/dist/bundle/chunk-ZBCFZCJW.js +388 -0
- package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
- package/dist/bundle/command-contract-BWGRUY6L.js +37 -0
- package/dist/bundle/command-server-entry-BATOWE3Y.js +166 -0
- package/dist/bundle/decode-MZQGYXJH.js +297 -0
- package/dist/bundle/definitions-3EONB23J.js +8600 -0
- package/dist/bundle/dispatch-NYC4ARWX.js +411 -0
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/dist-XZ65GRQ6.js +7577 -0
- package/dist/bundle/echarts-7OYGL2GW.js +42501 -0
- package/dist/bundle/embed-4I25DVKZ.js +38 -0
- package/dist/bundle/embedder-YXKQHAZO.js +111 -0
- package/dist/bundle/emoji-4LYX3GOS.js +4271 -0
- package/dist/bundle/failure-3YOVYZTX.js +25 -0
- package/dist/bundle/first-run-2VL2BOV7.js +29 -0
- package/dist/bundle/first-screen-C7FIWZL2.js +37 -0
- package/dist/bundle/instructions-UMNDHXG2.js +11 -0
- package/dist/bundle/mcp-V27RHILF.js +167 -0
- package/dist/bundle/meeting-combined-LS6XO4JH.js +24 -0
- package/dist/bundle/meeting-model-VIR465CY.js +25 -0
- package/dist/bundle/meeting-semantic-H5J3OOF2.js +22 -0
- package/dist/bundle/node-JJ3WDCNJ.js +2340 -0
- package/dist/bundle/node-PYFPGL4E.js +176 -0
- package/dist/bundle/node-TLZSIHIJ.js +21 -0
- package/dist/bundle/node-sqlite-LFWPGDVP.js +74 -0
- package/dist/bundle/oauth-42VCSIVL.js +20 -0
- package/dist/bundle/open-XJ5R5LHC.js +23 -0
- package/dist/bundle/openai-RZBLV4HG.js +238 -0
- package/dist/bundle/process-DD6H3K7L.js +91 -0
- package/dist/bundle/program-33RT6DER.js +35421 -0
- package/dist/bundle/prompt-NQRDM5LY.js +17 -0
- package/dist/bundle/recognize-EM7H2IZS.js +26 -0
- package/dist/bundle/remote-Z6NU6QQA.js +31 -0
- package/dist/bundle/rerank-PNPCSPNF.js +52 -0
- package/dist/bundle/schemas-JMKNP4U3.js +2765 -0
- package/dist/bundle/serve-SQVGX76J.js +199 -0
- package/dist/bundle/server-NPJH45FZ.js +212 -0
- package/dist/bundle/server-Z4ZMGRAH.js +79 -0
- package/dist/bundle/slack.js +184 -0
- package/dist/bundle/sqlite-runtime-F3AJGAPN.js +20 -0
- package/dist/bundle/state-JT7ZFSXN.js +36 -0
- package/dist/bundle/store-FXGMHRF3.js +181 -0
- package/dist/bundle/store-J5ZL2USR.js +295 -0
- package/dist/bundle/store-maintenance-command-TIHOIKLZ.js +66 -0
- package/dist/bundle/surface-NW6T5OR6.js +65 -0
- package/dist/commands/api.d.ts +7 -0
- package/dist/commands/api.d.ts.map +1 -0
- package/dist/commands/api.js +49 -0
- package/dist/commands/api.js.map +1 -0
- package/dist/commands/comments.d.ts +3 -0
- package/dist/commands/comments.d.ts.map +1 -0
- package/dist/commands/comments.js +114 -0
- package/dist/commands/comments.js.map +1 -0
- package/dist/commands/doctor.d.ts +7 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +53 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/session.d.ts +7 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +26 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/config.d.ts +24 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +75 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +59 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +75 -0
- package/dist/context.js.map +1 -0
- package/dist/generated/definitions.d.ts +3 -0
- package/dist/generated/definitions.d.ts.map +1 -0
- package/dist/generated/definitions.js +8596 -0
- package/dist/generated/definitions.js.map +1 -0
- package/dist/generated/emoji.d.ts +2 -0
- package/dist/generated/emoji.d.ts.map +1 -0
- package/dist/generated/emoji.js +4265 -0
- package/dist/generated/emoji.js.map +1 -0
- package/dist/generated/manifest.d.ts +6 -0
- package/dist/generated/manifest.d.ts.map +1 -0
- package/dist/generated/manifest.js +6139 -0
- package/dist/generated/manifest.js.map +1 -0
- package/dist/generated/schemas.d.ts +631 -0
- package/dist/generated/schemas.d.ts.map +1 -0
- package/dist/generated/schemas.js +2426 -0
- package/dist/generated/schemas.js.map +1 -0
- package/dist/generated/types.d.ts +3220 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +5 -0
- package/dist/generated/types.js.map +1 -0
- package/dist/identity.d.ts +29 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +32 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/messenger.d.ts +12 -0
- package/dist/messenger.d.ts.map +1 -0
- package/dist/messenger.js +184 -0
- package/dist/messenger.js.map +1 -0
- package/dist/program.d.ts +6 -0
- package/dist/program.d.ts.map +1 -0
- package/dist/program.js +116 -0
- package/dist/program.js.map +1 -0
- package/dist/reasons.d.ts +7 -0
- package/dist/reasons.d.ts.map +1 -0
- package/dist/reasons.js +20 -0
- package/dist/reasons.js.map +1 -0
- package/dist/sample/comments.d.ts +61 -0
- package/dist/sample/comments.d.ts.map +1 -0
- package/dist/sample/comments.js +39 -0
- package/dist/sample/comments.js.map +1 -0
- package/dist/sample/records.d.ts +16 -0
- package/dist/sample/records.d.ts.map +1 -0
- package/dist/sample/records.js +22 -0
- package/dist/sample/records.js.map +1 -0
- package/dist/sample/transport.d.ts +42 -0
- package/dist/sample/transport.d.ts.map +1 -0
- package/dist/sample/transport.js +153 -0
- package/dist/sample/transport.js.map +1 -0
- package/dist/setup/flow.d.ts +2 -0
- package/dist/setup/flow.d.ts.map +1 -0
- package/dist/setup/flow.js +83 -0
- package/dist/setup/flow.js.map +1 -0
- package/dist/setup/guide.d.ts +6 -0
- package/dist/setup/guide.d.ts.map +1 -0
- package/dist/setup/guide.js +13 -0
- package/dist/setup/guide.js.map +1 -0
- package/dist/setup/texts.d.ts +24 -0
- package/dist/setup/texts.d.ts.map +1 -0
- package/dist/setup/texts.js +24 -0
- package/dist/setup/texts.js.map +1 -0
- package/dist/slack/adapter.d.ts +36 -0
- package/dist/slack/adapter.d.ts.map +1 -0
- package/dist/slack/adapter.js +551 -0
- package/dist/slack/adapter.js.map +1 -0
- package/dist/slack/app-manifest.d.ts +25 -0
- package/dist/slack/app-manifest.d.ts.map +1 -0
- package/dist/slack/app-manifest.js +51 -0
- package/dist/slack/app-manifest.js.map +1 -0
- package/dist/slack/client.d.ts +45 -0
- package/dist/slack/client.d.ts.map +1 -0
- package/dist/slack/client.js +236 -0
- package/dist/slack/client.js.map +1 -0
- package/dist/slack/map.d.ts +429 -0
- package/dist/slack/map.d.ts.map +1 -0
- package/dist/slack/map.js +406 -0
- package/dist/slack/map.js.map +1 -0
- package/dist/slack/mrkdwn.d.ts +9 -0
- package/dist/slack/mrkdwn.d.ts.map +1 -0
- package/dist/slack/mrkdwn.js +56 -0
- package/dist/slack/mrkdwn.js.map +1 -0
- package/dist/slack/search.d.ts +24 -0
- package/dist/slack/search.d.ts.map +1 -0
- package/dist/slack/search.js +99 -0
- package/dist/slack/search.js.map +1 -0
- package/dist/slack/threads.d.ts +28 -0
- package/dist/slack/threads.d.ts.map +1 -0
- package/dist/slack/threads.js +56 -0
- package/dist/slack/threads.js.map +1 -0
- package/dist/slack/tokens.d.ts +17 -0
- package/dist/slack/tokens.d.ts.map +1 -0
- package/dist/slack/tokens.js +27 -0
- package/dist/slack/tokens.js.map +1 -0
- package/dist/slack/writes.d.ts +43 -0
- package/dist/slack/writes.d.ts.map +1 -0
- package/dist/slack/writes.js +277 -0
- package/dist/slack/writes.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +89 -4
- package/skills/slack-cli/SKILL.md +117 -0
- package/skills/slack-cli/references/api/api-admin.md +541 -0
- package/skills/slack-cli/references/api/api-api.md +13 -0
- package/skills/slack-cli/references/api/api-apps.md +78 -0
- package/skills/slack-cli/references/api/api-auth.md +18 -0
- package/skills/slack-cli/references/api/api-bots.md +12 -0
- package/skills/slack-cli/references/api/api-calls.md +68 -0
- package/skills/slack-cli/references/api/api-chat.md +123 -0
- package/skills/slack-cli/references/api/api-conversations.md +230 -0
- package/skills/slack-cli/references/api/api-dialog.md +13 -0
- package/skills/slack-cli/references/api/api-dnd.md +31 -0
- package/skills/slack-cli/references/api/api-emoji.md +8 -0
- package/skills/slack-cli/references/api/api-files.md +120 -0
- package/skills/slack-cli/references/api/api-migration.md +14 -0
- package/skills/slack-cli/references/api/api-pins.md +37 -0
- package/skills/slack-cli/references/api/api-reactions.md +58 -0
- package/skills/slack-cli/references/api/api-reminders.md +51 -0
- package/skills/slack-cli/references/api/api-search.md +18 -0
- package/skills/slack-cli/references/api/api-stars.md +42 -0
- package/skills/slack-cli/references/api/api-team.md +55 -0
- package/skills/slack-cli/references/api/api-usergroups.md +80 -0
- package/skills/slack-cli/references/api/api-users.md +101 -0
- package/skills/slack-cli/references/api/api-views.md +46 -0
- package/skills/slack-cli/references/api/api-workflows.md +36 -0
- package/skills/slack-cli/references/api.md +35 -0
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Slack API: admin
|
|
4
|
+
|
|
5
|
+
## `slk api admin apps-approve [options]`
|
|
6
|
+
|
|
7
|
+
- What: admin\_apps\_approve — write (POST /admin.apps.approve)
|
|
8
|
+
- Call: `POST /admin.apps.approve`, effect: write
|
|
9
|
+
- Body: `AdminAppsApproveRequest`
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
14
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
15
|
+
|
|
16
|
+
## `slk api admin apps-approved-list [options]`
|
|
17
|
+
|
|
18
|
+
- What: admin\_apps\_approved\_list — read (GET /admin.apps.approved.list)
|
|
19
|
+
- Call: `GET /admin.apps.approved.list`, effect: read
|
|
20
|
+
|
|
21
|
+
| Flag | Required | What |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `--limit <value>` | no | The maximum number of items to return. Must be between 1 - 1000 both inclusive. |
|
|
24
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page |
|
|
25
|
+
| `--team-id <value>` | no | team\_id |
|
|
26
|
+
| `--enterprise-id <value>` | no | enterprise\_id |
|
|
27
|
+
|
|
28
|
+
## `slk api admin apps-requests-list [options]`
|
|
29
|
+
|
|
30
|
+
- What: admin\_apps\_requests\_list — read (GET /admin.apps.requests.list)
|
|
31
|
+
- Call: `GET /admin.apps.requests.list`, effect: read
|
|
32
|
+
|
|
33
|
+
| Flag | Required | What |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| `--limit <value>` | no | The maximum number of items to return. Must be between 1 - 1000 both inclusive. |
|
|
36
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page |
|
|
37
|
+
| `--team-id <value>` | no | team\_id |
|
|
38
|
+
|
|
39
|
+
## `slk api admin apps-restrict [options]`
|
|
40
|
+
|
|
41
|
+
- What: admin\_apps\_restrict — write (POST /admin.apps.restrict)
|
|
42
|
+
- Call: `POST /admin.apps.restrict`, effect: write
|
|
43
|
+
- Body: `AdminAppsRestrictRequest`
|
|
44
|
+
|
|
45
|
+
| Flag | Required | What |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
48
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
49
|
+
|
|
50
|
+
## `slk api admin apps-restricted-list [options]`
|
|
51
|
+
|
|
52
|
+
- What: admin\_apps\_restricted\_list — read (GET /admin.apps.restricted.list)
|
|
53
|
+
- Call: `GET /admin.apps.restricted.list`, effect: read
|
|
54
|
+
|
|
55
|
+
| Flag | Required | What |
|
|
56
|
+
|---|---|---|
|
|
57
|
+
| `--limit <value>` | no | The maximum number of items to return. Must be between 1 - 1000 both inclusive. |
|
|
58
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page |
|
|
59
|
+
| `--team-id <value>` | no | team\_id |
|
|
60
|
+
| `--enterprise-id <value>` | no | enterprise\_id |
|
|
61
|
+
|
|
62
|
+
## `slk api admin conversations-archive [options]`
|
|
63
|
+
|
|
64
|
+
- What: admin\_conversations\_archive — destructive (POST /admin.conversations.archive)
|
|
65
|
+
- Call: `POST /admin.conversations.archive`, effect: destructive
|
|
66
|
+
- Permission keys: `slack.delete`
|
|
67
|
+
- Body: `AdminConversationsArchiveRequest`
|
|
68
|
+
|
|
69
|
+
| Flag | Required | What |
|
|
70
|
+
|---|---|---|
|
|
71
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
72
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
73
|
+
|
|
74
|
+
## `slk api admin conversations-convert-to-private [options]`
|
|
75
|
+
|
|
76
|
+
- What: admin\_conversations\_convertToPrivate — write (POST…
|
|
77
|
+
- Call: `POST /admin.conversations.convertToPrivate`, effect: write
|
|
78
|
+
- Body: `AdminConversationsConvertToPrivateRequest`
|
|
79
|
+
|
|
80
|
+
| Flag | Required | What |
|
|
81
|
+
|---|---|---|
|
|
82
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
83
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
84
|
+
|
|
85
|
+
## `slk api admin conversations-create [options]`
|
|
86
|
+
|
|
87
|
+
- What: admin\_conversations\_create — write (POST /admin.conversations.create)
|
|
88
|
+
- Call: `POST /admin.conversations.create`, effect: write
|
|
89
|
+
- Body: `AdminConversationsCreateRequest`
|
|
90
|
+
|
|
91
|
+
| Flag | Required | What |
|
|
92
|
+
|---|---|---|
|
|
93
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
94
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
95
|
+
|
|
96
|
+
## `slk api admin conversations-delete [options]`
|
|
97
|
+
|
|
98
|
+
- What: admin\_conversations\_delete — destructive (POST /admin.conversations.delete)
|
|
99
|
+
- Call: `POST /admin.conversations.delete`, effect: destructive
|
|
100
|
+
- Permission keys: `slack.delete`
|
|
101
|
+
- Body: `AdminConversationsDeleteRequest`
|
|
102
|
+
|
|
103
|
+
| Flag | Required | What |
|
|
104
|
+
|---|---|---|
|
|
105
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
106
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
107
|
+
|
|
108
|
+
## `slk api admin conversations-disconnect-shared [options]`
|
|
109
|
+
|
|
110
|
+
- What: admin\_conversations\_disconnectShared — write (POST…
|
|
111
|
+
- Call: `POST /admin.conversations.disconnectShared`, effect: write
|
|
112
|
+
- Body: `AdminConversationsDisconnectSharedRequest`
|
|
113
|
+
|
|
114
|
+
| Flag | Required | What |
|
|
115
|
+
|---|---|---|
|
|
116
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
117
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
118
|
+
|
|
119
|
+
## `slk api admin conversations-ekm-list-original-connected-channel-info [options]`
|
|
120
|
+
|
|
121
|
+
- What: admin\_conversations\_ekm\_listOriginalConnectedChannelInfo — read (GET…
|
|
122
|
+
- Call: `GET /admin.conversations.ekm.listOriginalConnectedChannelInfo`, effect: read
|
|
123
|
+
|
|
124
|
+
| Flag | Required | What |
|
|
125
|
+
|---|---|---|
|
|
126
|
+
| `--channel-ids <value>` | no | A comma-separated list of channels to filter to. |
|
|
127
|
+
| `--team-ids <value>` | no | A comma-separated list of the workspaces to which the channels you would like returned belong. |
|
|
128
|
+
| `--limit <value>` | no | The maximum number of items to return. Must be between 1 - 1000 both inclusive. |
|
|
129
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page. |
|
|
130
|
+
|
|
131
|
+
## `slk api admin conversations-get-conversation-prefs [options]`
|
|
132
|
+
|
|
133
|
+
- What: admin\_conversations\_getConversationPrefs — read (GET…
|
|
134
|
+
- Call: `GET /admin.conversations.getConversationPrefs`, effect: read
|
|
135
|
+
|
|
136
|
+
| Flag | Required | What |
|
|
137
|
+
|---|---|---|
|
|
138
|
+
| `--channel-id <value>` | yes | The channel to get preferences for. |
|
|
139
|
+
|
|
140
|
+
## `slk api admin conversations-get-teams [options]`
|
|
141
|
+
|
|
142
|
+
- What: admin\_conversations\_getTeams — read (GET /admin.conversations.getTeams)
|
|
143
|
+
- Call: `GET /admin.conversations.getTeams`, effect: read
|
|
144
|
+
- Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `team_ids`; page size in `limit` (query)
|
|
145
|
+
|
|
146
|
+
| Flag | Required | What |
|
|
147
|
+
|---|---|---|
|
|
148
|
+
| `--channel-id <value>` | yes | The channel to determine connected workspaces within the organization for. |
|
|
149
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page |
|
|
150
|
+
| `--limit <value>` | no | The maximum number of items to return. Must be between 1 - 1000 both inclusive. |
|
|
151
|
+
| `--all` | no | read every page, as the API pages it |
|
|
152
|
+
|
|
153
|
+
## `slk api admin conversations-invite [options]`
|
|
154
|
+
|
|
155
|
+
- What: admin\_conversations\_invite — write (POST /admin.conversations.invite)
|
|
156
|
+
- Call: `POST /admin.conversations.invite`, effect: write
|
|
157
|
+
- Body: `AdminConversationsInviteRequest`
|
|
158
|
+
|
|
159
|
+
| Flag | Required | What |
|
|
160
|
+
|---|---|---|
|
|
161
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
162
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
163
|
+
|
|
164
|
+
## `slk api admin conversations-rename [options]`
|
|
165
|
+
|
|
166
|
+
- What: admin\_conversations\_rename — write (POST /admin.conversations.rename)
|
|
167
|
+
- Call: `POST /admin.conversations.rename`, effect: write
|
|
168
|
+
- Body: `AdminConversationsRenameRequest`
|
|
169
|
+
|
|
170
|
+
| Flag | Required | What |
|
|
171
|
+
|---|---|---|
|
|
172
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
173
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
174
|
+
|
|
175
|
+
## `slk api admin conversations-restrict-access-list-groups [options]`
|
|
176
|
+
|
|
177
|
+
- What: admin\_conversations\_restrictAccess\_listGroups — read (GET…
|
|
178
|
+
- Call: `GET /admin.conversations.restrictAccess.listGroups`, effect: read
|
|
179
|
+
|
|
180
|
+
| Flag | Required | What |
|
|
181
|
+
|---|---|---|
|
|
182
|
+
| `--channel-id <value>` | yes | channel\_id |
|
|
183
|
+
| `--team-id <value>` | no | The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. |
|
|
184
|
+
|
|
185
|
+
## `slk api admin conversations-search [options]`
|
|
186
|
+
|
|
187
|
+
- What: admin\_conversations\_search — read (GET /admin.conversations.search)
|
|
188
|
+
- Call: `GET /admin.conversations.search`, effect: read
|
|
189
|
+
- Pages: cursor: send `cursor` (query), read the next one from `next_cursor`; items in `channels`; page size in `limit` (query)
|
|
190
|
+
|
|
191
|
+
| Flag | Required | What |
|
|
192
|
+
|---|---|---|
|
|
193
|
+
| `--team-ids <value>` | no | Comma separated string of team IDs, signifying the workspaces to search through. |
|
|
194
|
+
| `--query <value>` | no | Name of the the channel to query by. |
|
|
195
|
+
| `--limit <value>` | no | Maximum number of items to be returned. Must be between 1 - 20 both inclusive. Default is 10. |
|
|
196
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page. |
|
|
197
|
+
| `--search-channel-types <value>` | no | The type of channel to include or exclude in the search. For example \`private\` will search private channels, while \`private\_exclude\` will exclude them. For a full list of types, check the Types section. |
|
|
198
|
+
| `--sort <value>` | no | Possible values are \`relevant\` (search ranking based on what we think is closest), \`name\` (alphabetical), \`member\_count\` (number of users in the channel), and \`created\` (date channel was created). You can optionally pair this with the \`sort\_dir\` arg to change how it is sorted |
|
|
199
|
+
| `--sort-dir <value>` | no | Sort direction. Possible values are \`asc\` for ascending order like (1, 2, 3) or (a, b, c), and \`desc\` for descending order like (3, 2, 1) or (c, b, a) |
|
|
200
|
+
| `--all` | no | read every page, as the API pages it |
|
|
201
|
+
|
|
202
|
+
## `slk api admin conversations-set-conversation-prefs [options]`
|
|
203
|
+
|
|
204
|
+
- What: admin\_conversations\_setConversationPrefs — write (POST…
|
|
205
|
+
- Call: `POST /admin.conversations.setConversationPrefs`, effect: write
|
|
206
|
+
- Body: `AdminConversationsSetConversationPrefsRequest`
|
|
207
|
+
|
|
208
|
+
| Flag | Required | What |
|
|
209
|
+
|---|---|---|
|
|
210
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
211
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
212
|
+
|
|
213
|
+
## `slk api admin conversations-set-teams [options]`
|
|
214
|
+
|
|
215
|
+
- What: admin\_conversations\_setTeams — write (POST /admin.conversations.setTeams)
|
|
216
|
+
- Call: `POST /admin.conversations.setTeams`, effect: write
|
|
217
|
+
- Body: `AdminConversationsSetTeamsRequest`
|
|
218
|
+
|
|
219
|
+
| Flag | Required | What |
|
|
220
|
+
|---|---|---|
|
|
221
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
222
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
223
|
+
|
|
224
|
+
## `slk api admin conversations-unarchive [options]`
|
|
225
|
+
|
|
226
|
+
- What: admin\_conversations\_unarchive — write (POST /admin.conversations.unarchive)
|
|
227
|
+
- Call: `POST /admin.conversations.unarchive`, effect: write
|
|
228
|
+
- Body: `AdminConversationsUnarchiveRequest`
|
|
229
|
+
|
|
230
|
+
| Flag | Required | What |
|
|
231
|
+
|---|---|---|
|
|
232
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
233
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
234
|
+
|
|
235
|
+
## `slk api admin emoji-list [options]`
|
|
236
|
+
|
|
237
|
+
- What: admin\_emoji\_list — read (GET /admin.emoji.list)
|
|
238
|
+
- Call: `GET /admin.emoji.list`, effect: read
|
|
239
|
+
|
|
240
|
+
| Flag | Required | What |
|
|
241
|
+
|---|---|---|
|
|
242
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page |
|
|
243
|
+
| `--limit <value>` | no | The maximum number of items to return. Must be between 1 - 1000 both inclusive. |
|
|
244
|
+
|
|
245
|
+
## `slk api admin invite-requests-approve [options]`
|
|
246
|
+
|
|
247
|
+
- What: admin\_inviteRequests\_approve — write (POST /admin.inviteRequests.approve)
|
|
248
|
+
- Call: `POST /admin.inviteRequests.approve`, effect: write
|
|
249
|
+
- Body: `AdminInviteRequestsApproveRequest`
|
|
250
|
+
|
|
251
|
+
| Flag | Required | What |
|
|
252
|
+
|---|---|---|
|
|
253
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
254
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
255
|
+
|
|
256
|
+
## `slk api admin invite-requests-approved-list [options]`
|
|
257
|
+
|
|
258
|
+
- What: admin\_inviteRequests\_approved\_list — read (GET…
|
|
259
|
+
- Call: `GET /admin.inviteRequests.approved.list`, effect: read
|
|
260
|
+
|
|
261
|
+
| Flag | Required | What |
|
|
262
|
+
|---|---|---|
|
|
263
|
+
| `--team-id <value>` | no | ID for the workspace where the invite requests were made. |
|
|
264
|
+
| `--cursor <value>` | no | Value of the \`next\_cursor\` field sent as part of the previous API response |
|
|
265
|
+
| `--limit <value>` | no | The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive |
|
|
266
|
+
|
|
267
|
+
## `slk api admin invite-requests-denied-list [options]`
|
|
268
|
+
|
|
269
|
+
- What: admin\_inviteRequests\_denied\_list — read (GET /admin.inviteRequests.denied.list)
|
|
270
|
+
- Call: `GET /admin.inviteRequests.denied.list`, effect: read
|
|
271
|
+
|
|
272
|
+
| Flag | Required | What |
|
|
273
|
+
|---|---|---|
|
|
274
|
+
| `--team-id <value>` | no | ID for the workspace where the invite requests were made. |
|
|
275
|
+
| `--cursor <value>` | no | Value of the \`next\_cursor\` field sent as part of the previous api response |
|
|
276
|
+
| `--limit <value>` | no | The number of results that will be returned by the API on each invocation. Must be between 1 - 1000 both inclusive |
|
|
277
|
+
|
|
278
|
+
## `slk api admin invite-requests-deny [options]`
|
|
279
|
+
|
|
280
|
+
- What: admin\_inviteRequests\_deny — write (POST /admin.inviteRequests.deny)
|
|
281
|
+
- Call: `POST /admin.inviteRequests.deny`, effect: write
|
|
282
|
+
- Body: `AdminInviteRequestsDenyRequest`
|
|
283
|
+
|
|
284
|
+
| Flag | Required | What |
|
|
285
|
+
|---|---|---|
|
|
286
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
287
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
288
|
+
|
|
289
|
+
## `slk api admin invite-requests-list [options]`
|
|
290
|
+
|
|
291
|
+
- What: admin\_inviteRequests\_list — read (GET /admin.inviteRequests.list)
|
|
292
|
+
- Call: `GET /admin.inviteRequests.list`, effect: read
|
|
293
|
+
|
|
294
|
+
| Flag | Required | What |
|
|
295
|
+
|---|---|---|
|
|
296
|
+
| `--team-id <value>` | no | ID for the workspace where the invite requests were made. |
|
|
297
|
+
| `--cursor <value>` | no | Value of the \`next\_cursor\` field sent as part of the previous API response |
|
|
298
|
+
| `--limit <value>` | no | The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive |
|
|
299
|
+
|
|
300
|
+
## `slk api admin teams-admins-list [options]`
|
|
301
|
+
|
|
302
|
+
- What: admin\_teams\_admins\_list — read (GET /admin.teams.admins.list)
|
|
303
|
+
- Call: `GET /admin.teams.admins.list`, effect: read
|
|
304
|
+
|
|
305
|
+
| Flag | Required | What |
|
|
306
|
+
|---|---|---|
|
|
307
|
+
| `--limit <value>` | no | The maximum number of items to return. |
|
|
308
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page. |
|
|
309
|
+
| `--team-id <value>` | yes | team\_id |
|
|
310
|
+
|
|
311
|
+
## `slk api admin teams-create [options]`
|
|
312
|
+
|
|
313
|
+
- What: admin\_teams\_create — write (POST /admin.teams.create)
|
|
314
|
+
- Call: `POST /admin.teams.create`, effect: write
|
|
315
|
+
- Body: `AdminTeamsCreateRequest`
|
|
316
|
+
|
|
317
|
+
| Flag | Required | What |
|
|
318
|
+
|---|---|---|
|
|
319
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
320
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
321
|
+
|
|
322
|
+
## `slk api admin teams-list [options]`
|
|
323
|
+
|
|
324
|
+
- What: admin\_teams\_list — read (GET /admin.teams.list)
|
|
325
|
+
- Call: `GET /admin.teams.list`, effect: read
|
|
326
|
+
|
|
327
|
+
| Flag | Required | What |
|
|
328
|
+
|---|---|---|
|
|
329
|
+
| `--limit <value>` | no | The maximum number of items to return. Must be between 1 - 100 both inclusive. |
|
|
330
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page. |
|
|
331
|
+
|
|
332
|
+
## `slk api admin teams-owners-list [options]`
|
|
333
|
+
|
|
334
|
+
- What: admin\_teams\_owners\_list — read (GET /admin.teams.owners.list)
|
|
335
|
+
- Call: `GET /admin.teams.owners.list`, effect: read
|
|
336
|
+
|
|
337
|
+
| Flag | Required | What |
|
|
338
|
+
|---|---|---|
|
|
339
|
+
| `--team-id <value>` | yes | team\_id |
|
|
340
|
+
| `--limit <value>` | no | The maximum number of items to return. Must be between 1 - 1000 both inclusive. |
|
|
341
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page. |
|
|
342
|
+
|
|
343
|
+
## `slk api admin teams-settings-info [options]`
|
|
344
|
+
|
|
345
|
+
- What: admin\_teams\_settings\_info — read (GET /admin.teams.settings.info)
|
|
346
|
+
- Call: `GET /admin.teams.settings.info`, effect: read
|
|
347
|
+
|
|
348
|
+
| Flag | Required | What |
|
|
349
|
+
|---|---|---|
|
|
350
|
+
| `--team-id <value>` | yes | team\_id |
|
|
351
|
+
|
|
352
|
+
## `slk api admin teams-settings-set-description [options]`
|
|
353
|
+
|
|
354
|
+
- What: admin\_teams\_settings\_setDescription — write (POST…
|
|
355
|
+
- Call: `POST /admin.teams.settings.setDescription`, effect: write
|
|
356
|
+
- Body: `AdminTeamsSettingsSetDescriptionRequest`
|
|
357
|
+
|
|
358
|
+
| Flag | Required | What |
|
|
359
|
+
|---|---|---|
|
|
360
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
361
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
362
|
+
|
|
363
|
+
## `slk api admin teams-settings-set-discoverability [options]`
|
|
364
|
+
|
|
365
|
+
- What: admin\_teams\_settings\_setDiscoverability — write (POST…
|
|
366
|
+
- Call: `POST /admin.teams.settings.setDiscoverability`, effect: write
|
|
367
|
+
- Body: `AdminTeamsSettingsSetDiscoverabilityRequest`
|
|
368
|
+
|
|
369
|
+
| Flag | Required | What |
|
|
370
|
+
|---|---|---|
|
|
371
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
372
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
373
|
+
|
|
374
|
+
## `slk api admin teams-settings-set-name [options]`
|
|
375
|
+
|
|
376
|
+
- What: admin\_teams\_settings\_setName — write (POST /admin.teams.settings.setName)
|
|
377
|
+
- Call: `POST /admin.teams.settings.setName`, effect: write
|
|
378
|
+
- Body: `AdminTeamsSettingsSetNameRequest`
|
|
379
|
+
|
|
380
|
+
| Flag | Required | What |
|
|
381
|
+
|---|---|---|
|
|
382
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
383
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
384
|
+
|
|
385
|
+
## `slk api admin usergroups-add-channels [options]`
|
|
386
|
+
|
|
387
|
+
- What: admin\_usergroups\_addChannels — write (POST /admin.usergroups.addChannels)
|
|
388
|
+
- Call: `POST /admin.usergroups.addChannels`, effect: write
|
|
389
|
+
- Body: `AdminUsergroupsAddChannelsRequest`
|
|
390
|
+
|
|
391
|
+
| Flag | Required | What |
|
|
392
|
+
|---|---|---|
|
|
393
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
394
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
395
|
+
|
|
396
|
+
## `slk api admin usergroups-add-teams [options]`
|
|
397
|
+
|
|
398
|
+
- What: admin\_usergroups\_addTeams — write (POST /admin.usergroups.addTeams)
|
|
399
|
+
- Call: `POST /admin.usergroups.addTeams`, effect: write
|
|
400
|
+
- Body: `AdminUsergroupsAddTeamsRequest`
|
|
401
|
+
|
|
402
|
+
| Flag | Required | What |
|
|
403
|
+
|---|---|---|
|
|
404
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
405
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
406
|
+
|
|
407
|
+
## `slk api admin usergroups-list-channels [options]`
|
|
408
|
+
|
|
409
|
+
- What: admin\_usergroups\_listChannels — read (GET /admin.usergroups.listChannels)
|
|
410
|
+
- Call: `GET /admin.usergroups.listChannels`, effect: read
|
|
411
|
+
|
|
412
|
+
| Flag | Required | What |
|
|
413
|
+
|---|---|---|
|
|
414
|
+
| `--usergroup-id <value>` | yes | ID of the IDP group to list default channels for. |
|
|
415
|
+
| `--team-id <value>` | no | ID of the the workspace. |
|
|
416
|
+
| `--include-num-members <value>` | no | Flag to include or exclude the count of members per channel. |
|
|
417
|
+
|
|
418
|
+
## `slk api admin usergroups-remove-channels [options]`
|
|
419
|
+
|
|
420
|
+
- What: admin\_usergroups\_removeChannels — destructive (POST…
|
|
421
|
+
- Call: `POST /admin.usergroups.removeChannels`, effect: destructive
|
|
422
|
+
- Permission keys: `slack.delete`
|
|
423
|
+
- Body: `AdminUsergroupsRemoveChannelsRequest`
|
|
424
|
+
|
|
425
|
+
| Flag | Required | What |
|
|
426
|
+
|---|---|---|
|
|
427
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
428
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
429
|
+
|
|
430
|
+
## `slk api admin users-assign [options]`
|
|
431
|
+
|
|
432
|
+
- What: admin\_users\_assign — write (POST /admin.users.assign)
|
|
433
|
+
- Call: `POST /admin.users.assign`, effect: write
|
|
434
|
+
- Body: `AdminUsersAssignRequest`
|
|
435
|
+
|
|
436
|
+
| Flag | Required | What |
|
|
437
|
+
|---|---|---|
|
|
438
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
439
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
440
|
+
|
|
441
|
+
## `slk api admin users-invite [options]`
|
|
442
|
+
|
|
443
|
+
- What: admin\_users\_invite — write (POST /admin.users.invite)
|
|
444
|
+
- Call: `POST /admin.users.invite`, effect: write
|
|
445
|
+
- Body: `AdminUsersInviteRequest`
|
|
446
|
+
|
|
447
|
+
| Flag | Required | What |
|
|
448
|
+
|---|---|---|
|
|
449
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
450
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
451
|
+
|
|
452
|
+
## `slk api admin users-list [options]`
|
|
453
|
+
|
|
454
|
+
- What: admin\_users\_list — read (GET /admin.users.list)
|
|
455
|
+
- Call: `GET /admin.users.list`, effect: read
|
|
456
|
+
|
|
457
|
+
| Flag | Required | What |
|
|
458
|
+
|---|---|---|
|
|
459
|
+
| `--team-id <value>` | yes | The ID (\`T1234\`) of the workspace. |
|
|
460
|
+
| `--cursor <value>` | no | Set \`cursor\` to \`next\_cursor\` returned by the previous call to list items in the next page. |
|
|
461
|
+
| `--limit <value>` | no | Limit for how many users to be retrieved per page |
|
|
462
|
+
|
|
463
|
+
## `slk api admin users-remove [options]`
|
|
464
|
+
|
|
465
|
+
- What: admin\_users\_remove — destructive (POST /admin.users.remove)
|
|
466
|
+
- Call: `POST /admin.users.remove`, effect: destructive
|
|
467
|
+
- Permission keys: `slack.delete`
|
|
468
|
+
- Body: `AdminUsersRemoveRequest`
|
|
469
|
+
|
|
470
|
+
| Flag | Required | What |
|
|
471
|
+
|---|---|---|
|
|
472
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
473
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
474
|
+
|
|
475
|
+
## `slk api admin users-session-invalidate [options]`
|
|
476
|
+
|
|
477
|
+
- What: admin\_users\_session\_invalidate — destructive (POST…
|
|
478
|
+
- Call: `POST /admin.users.session.invalidate`, effect: destructive
|
|
479
|
+
- Permission keys: `slack.delete`
|
|
480
|
+
- Body: `AdminUsersSessionInvalidateRequest`
|
|
481
|
+
|
|
482
|
+
| Flag | Required | What |
|
|
483
|
+
|---|---|---|
|
|
484
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
485
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
486
|
+
|
|
487
|
+
## `slk api admin users-session-reset [options]`
|
|
488
|
+
|
|
489
|
+
- What: admin\_users\_session\_reset — destructive (POST /admin.users.session.reset)
|
|
490
|
+
- Call: `POST /admin.users.session.reset`, effect: destructive
|
|
491
|
+
- Permission keys: `slack.delete`
|
|
492
|
+
- Body: `AdminUsersSessionResetRequest`
|
|
493
|
+
|
|
494
|
+
| Flag | Required | What |
|
|
495
|
+
|---|---|---|
|
|
496
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
497
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
498
|
+
|
|
499
|
+
## `slk api admin users-set-admin [options]`
|
|
500
|
+
|
|
501
|
+
- What: admin\_users\_setAdmin — write (POST /admin.users.setAdmin)
|
|
502
|
+
- Call: `POST /admin.users.setAdmin`, effect: write
|
|
503
|
+
- Body: `AdminUsersSetAdminRequest`
|
|
504
|
+
|
|
505
|
+
| Flag | Required | What |
|
|
506
|
+
|---|---|---|
|
|
507
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
508
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
509
|
+
|
|
510
|
+
## `slk api admin users-set-expiration [options]`
|
|
511
|
+
|
|
512
|
+
- What: admin\_users\_setExpiration — write (POST /admin.users.setExpiration)
|
|
513
|
+
- Call: `POST /admin.users.setExpiration`, effect: write
|
|
514
|
+
- Body: `AdminUsersSetExpirationRequest`
|
|
515
|
+
|
|
516
|
+
| Flag | Required | What |
|
|
517
|
+
|---|---|---|
|
|
518
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
519
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
520
|
+
|
|
521
|
+
## `slk api admin users-set-owner [options]`
|
|
522
|
+
|
|
523
|
+
- What: admin\_users\_setOwner — write (POST /admin.users.setOwner)
|
|
524
|
+
- Call: `POST /admin.users.setOwner`, effect: write
|
|
525
|
+
- Body: `AdminUsersSetOwnerRequest`
|
|
526
|
+
|
|
527
|
+
| Flag | Required | What |
|
|
528
|
+
|---|---|---|
|
|
529
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
530
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
531
|
+
|
|
532
|
+
## `slk api admin users-set-regular [options]`
|
|
533
|
+
|
|
534
|
+
- What: admin\_users\_setRegular — write (POST /admin.users.setRegular)
|
|
535
|
+
- Call: `POST /admin.users.setRegular`, effect: write
|
|
536
|
+
- Body: `AdminUsersSetRegularRequest`
|
|
537
|
+
|
|
538
|
+
| Flag | Required | What |
|
|
539
|
+
|---|---|---|
|
|
540
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
541
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Slack API: api
|
|
4
|
+
|
|
5
|
+
## `slk api api-test [options]`
|
|
6
|
+
|
|
7
|
+
- What: api\_test — read (GET /api.test)
|
|
8
|
+
- Call: `GET /api.test`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--error <value>` | no | Error response to return |
|
|
13
|
+
| `--foo <value>` | no | example property to return |
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Slack API: apps
|
|
4
|
+
|
|
5
|
+
## `slk api apps event-authorizations-list [options]`
|
|
6
|
+
|
|
7
|
+
- What: apps\_event\_authorizations\_list — read (GET /apps.event.authorizations.list)
|
|
8
|
+
- Call: `GET /apps.event.authorizations.list`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--event-context <value>` | yes | event\_context |
|
|
13
|
+
| `--cursor <value>` | no | cursor |
|
|
14
|
+
| `--limit <value>` | no | limit |
|
|
15
|
+
|
|
16
|
+
## `slk api apps permissions-info`
|
|
17
|
+
|
|
18
|
+
- What: apps\_permissions\_info — read (GET /apps.permissions.info)
|
|
19
|
+
- Call: `GET /apps.permissions.info`, effect: read
|
|
20
|
+
|
|
21
|
+
## `slk api apps permissions-request [options]`
|
|
22
|
+
|
|
23
|
+
- What: apps\_permissions\_request — write (GET /apps.permissions.request)
|
|
24
|
+
- Call: `GET /apps.permissions.request`, effect: write
|
|
25
|
+
|
|
26
|
+
| Flag | Required | What |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| `--scopes <value>` | yes | A comma separated list of scopes to request for |
|
|
29
|
+
| `--trigger-id <value>` | yes | Token used to trigger the permissions API |
|
|
30
|
+
|
|
31
|
+
## `slk api apps permissions-resources-list [options]`
|
|
32
|
+
|
|
33
|
+
- What: apps\_permissions\_resources\_list — read (GET /apps.permissions.resources.list)
|
|
34
|
+
- Call: `GET /apps.permissions.resources.list`, effect: read
|
|
35
|
+
- Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `resources`; page size in `limit` (query)
|
|
36
|
+
|
|
37
|
+
| Flag | Required | What |
|
|
38
|
+
|---|---|---|
|
|
39
|
+
| `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
|
|
40
|
+
| `--limit <value>` | no | The maximum number of items to return. |
|
|
41
|
+
| `--all` | no | read every page, as the API pages it |
|
|
42
|
+
|
|
43
|
+
## `slk api apps permissions-scopes-list`
|
|
44
|
+
|
|
45
|
+
- What: apps\_permissions\_scopes\_list — read (GET /apps.permissions.scopes.list)
|
|
46
|
+
- Call: `GET /apps.permissions.scopes.list`, effect: read
|
|
47
|
+
|
|
48
|
+
## `slk api apps permissions-users-list [options]`
|
|
49
|
+
|
|
50
|
+
- What: apps\_permissions\_users\_list — read (GET /apps.permissions.users.list)
|
|
51
|
+
- Call: `GET /apps.permissions.users.list`, effect: read
|
|
52
|
+
|
|
53
|
+
| Flag | Required | What |
|
|
54
|
+
|---|---|---|
|
|
55
|
+
| `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
|
|
56
|
+
| `--limit <value>` | no | The maximum number of items to return. |
|
|
57
|
+
|
|
58
|
+
## `slk api apps permissions-users-request [options]`
|
|
59
|
+
|
|
60
|
+
- What: apps\_permissions\_users\_request — write (GET /apps.permissions.users.request)
|
|
61
|
+
- Call: `GET /apps.permissions.users.request`, effect: write
|
|
62
|
+
|
|
63
|
+
| Flag | Required | What |
|
|
64
|
+
|---|---|---|
|
|
65
|
+
| `--scopes <value>` | yes | A comma separated list of user scopes to request for |
|
|
66
|
+
| `--trigger-id <value>` | yes | Token used to trigger the request |
|
|
67
|
+
| `--user <value>` | yes | The user this scope is being requested for |
|
|
68
|
+
|
|
69
|
+
## `slk api apps uninstall [options]`
|
|
70
|
+
|
|
71
|
+
- What: apps\_uninstall — destructive (GET /apps.uninstall)
|
|
72
|
+
- Call: `GET /apps.uninstall`, effect: destructive
|
|
73
|
+
- Permission keys: `slack.delete`
|
|
74
|
+
|
|
75
|
+
| Flag | Required | What |
|
|
76
|
+
|---|---|---|
|
|
77
|
+
| `--client-id <value>` | no | Issued when you created your application. |
|
|
78
|
+
| `--client-secret <value>` | no | Issued when you created your application. |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Slack API: auth
|
|
4
|
+
|
|
5
|
+
## `slk api auth revoke [options]`
|
|
6
|
+
|
|
7
|
+
- What: auth\_revoke — destructive (GET /auth.revoke)
|
|
8
|
+
- Call: `GET /auth.revoke`, effect: destructive
|
|
9
|
+
- Permission keys: `slack.delete`
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--test <value>` | no | Setting this parameter to \`1\` triggers a \_testing mode\_ where the specified token will not actually be revoked. |
|
|
14
|
+
|
|
15
|
+
## `slk api auth test`
|
|
16
|
+
|
|
17
|
+
- What: auth\_test — read (GET /auth.test)
|
|
18
|
+
- Call: `GET /auth.test`, effect: read
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# Slack API: bots
|
|
4
|
+
|
|
5
|
+
## `slk api bots-info [options]`
|
|
6
|
+
|
|
7
|
+
- What: bots\_info — read (GET /bots.info)
|
|
8
|
+
- Call: `GET /bots.info`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--bot <value>` | no | Bot user to get info on |
|