Revert API changes, introduce new API with additional parameter

Description

QA Test Steps

None necessary.

Mana

None

Assignee

Martin Kraft

QA Assignee

Dylan Haussermann

Reporter

Scott Bishel

Epic Link

None

Fix versions

Mattermost Team

Enterprise

Sprint

None

Labels

None

QA Testing Areas

Plugins

GitHub Issue

None

Components

None

Severity

None
Configure