@itentialopensource/adapter-slack
Version:
This adapter integrates with system Slack
319 lines • 8.74 kB
JSON
{
"actions": [
{
"name": "postChannelsarchive",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.archive?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelsarchive-default.json"
}
]
},
{
"name": "postChannelscreate",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.create?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelscreate-default.json"
}
]
},
{
"name": "getChannelshistory",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/channels.history?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getChannelshistory-default.json"
}
]
},
{
"name": "getChannelsinfo",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/channels.info?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getChannelsinfo-default.json"
}
]
},
{
"name": "postChannelsinvite",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.invite?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelsinvite-default.json"
}
]
},
{
"name": "postChannelsjoin",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.join?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelsjoin-default.json"
}
]
},
{
"name": "postChannelskick",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.kick?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelskick-default.json"
}
]
},
{
"name": "postChannelsleave",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.leave?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelsleave-default.json"
}
]
},
{
"name": "getChannelslist",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/channels.list?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getChannelslist-default.json"
}
]
},
{
"name": "postChannelsmark",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.mark?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelsmark-default.json"
}
]
},
{
"name": "postChannelsrename",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.rename?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelsrename-default.json"
}
]
},
{
"name": "getChannelsreplies",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/channels.replies?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getChannelsreplies-default.json"
}
]
},
{
"name": "postChannelssetPurpose",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.setPurpose?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelssetPurpose-default.json"
}
]
},
{
"name": "postChannelssetTopic",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.setTopic?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelssetTopic-default.json"
}
]
},
{
"name": "postChannelsunarchive",
"protocol": "REST",
"method": "POST",
"entitypath": "{base_path}/{version}/channels.unarchive?{query}",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "JSON",
"responseDatatype": "JSON",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/postChannelsunarchive-default.json"
}
]
}
]
}