Skip to content

Commit

Permalink
use token from config intead of stating it as required param
Browse files Browse the repository at this point in the history
  • Loading branch information
juanazam committed Jun 25, 2020
1 parent 44851af commit 83546c4
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 48 deletions.
5 changes: 0 additions & 5 deletions lib/slack/web/docs/admin.apps.approve.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Approve an app for installation on a workspace.",

"args": {
"token": {
"required" : true,
"example" : "xxxx-xxxxxxxxx-xxxx",
"desc" : "Authentication token bearing required scopes."
},
"app_id": {
"required" : false,
"example" : "A12345",
Expand Down
5 changes: 0 additions & 5 deletions lib/slack/web/docs/admin.apps.restrict.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Restrict an app for installation on a workspace.",

"args": {
"token": {
"required" : true,
"example" : "xxxx-xxxxxxxxx-xxxx",
"desc" : "Authentication token bearing required scopes."
},
"app_id": {
"required" : false,
"example" : "A12345",
Expand Down
3 changes: 0 additions & 3 deletions lib/slack/web/docs/chat.getPermalink.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"required": true,
"example": "1405894322.002768",
"desc": "A message's ts value, uniquely identifying it within a channel."
},
"token": {
"example": "xxxx-xxxxxxxxx-xxxx"
}
},

Expand Down
5 changes: 0 additions & 5 deletions lib/slack/web/docs/chat.scheduleMessage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Schedules a message to be sent to a channel.",

"args": {
"token": {
"required": true,
"example": "xxxx-xxxxxxxxx-xxxx",
"desc": "Authentication token bearing required scopes."
},
"channel": {
"required": true,
"example": "C1234567890",
Expand Down
5 changes: 0 additions & 5 deletions lib/slack/web/docs/conversations.create.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Initiates a public or private channel-based conversation.",

"args": {
"token": {
"required" : true,
"example" : "xxxx-xxxxxxxxx-xxxx",
"desc" : "Authentication token bearing required scopes."
},
"name": {
"required" : true,
"example" : "mychannel",
Expand Down
5 changes: 0 additions & 5 deletions lib/slack/web/docs/conversations.invite.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Invites users to a channel.",

"args": {
"token": {
"required" : true,
"example" : "xxxx-xxxxxxxxx-xxxx",
"desc" : "Authentication token bearing required scopes."
},
"channel": {
"required" : true,
"example" : "C1234567890",
Expand Down
5 changes: 0 additions & 5 deletions lib/slack/web/docs/views.open.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Open a view for a user.",

"args": {
"token": {
"required": true,
"example": "xxxx-xxxxxxxxx-xxxx",
"desc": "Authentication token bearing required scopes."
},
"trigger_id": {
"required": true,
"example": "12345.98765.abcd2358fdea",
Expand Down
5 changes: 0 additions & 5 deletions lib/slack/web/docs/views.publish.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Publish a static view for a User.",

"args": {
"token": {
"required": true,
"example": "xxxx-xxxxxxxxx-xxxx",
"desc": "Authentication token bearing required scopes."
},
"user_id": {
"required": true,
"example": "U0BPQUNTA",
Expand Down
5 changes: 0 additions & 5 deletions lib/slack/web/docs/views.push.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Push a view onto the stack of a root view.",

"args": {
"token": {
"required": true,
"example": "xxxx-xxxxxxxxx-xxxx",
"desc": "Authentication token bearing required scopes."
},
"trigger_id": {
"required": true,
"example": "12345.98765.abcd2358fdea",
Expand Down
5 changes: 0 additions & 5 deletions lib/slack/web/docs/views.update.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"desc": "Update an existing view.",

"args": {
"token": {
"required": true,
"example": "xxxx-xxxxxxxxx-xxxx",
"desc": "Authentication token bearing required scopes."
},
"view": {
"required": true,
"example": "Ar12345",
Expand Down

0 comments on commit 83546c4

Please sign in to comment.