The help text of Mattermost backend mentions the required parameter as Channel name.
|
parser.parser.add_argument('channel', |
However, going through the source code and mentioned example in the Perceval documentation I think the required parameter is channel id.
I would also like to suggest an alternative. We can use the following API to get a list of channels and match the channel name to retrieve the channel id(as done in groups.io and gitter): https://api.mattermost.com/#tag/channels/paths/~1channels/get
The help text of Mattermost backend mentions the required parameter as Channel name.
grimoirelab-perceval/perceval/backends/core/mattermost.py
Line 466 in 5b4f848
However, going through the source code and mentioned example in the Perceval documentation I think the required parameter is
channel id.I would also like to suggest an alternative. We can use the following API to get a list of channels and match the channel name to retrieve the channel id(as done in groups.io and gitter): https://api.mattermost.com/#tag/channels/paths/~1channels/get