Consider splitting API and REST layer.

Description

API-generic functionality should be in the API package, REST implementation-specific code should be in the REST layer. That way we can have all the different APIs go through the same package to go from untrested to trusted input. (e.g. GraphQL, REST, Slash-command, plugin, CLI).

QA Test Steps

None

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

George Goldberg

Epic Link

None

Fix versions

Mattermost Team

Platform

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None
Configure