Add missing import.
Add basic pagination to GET /articles.
Change revision history param to use reqparse.
Add link header for pagination requests.
Rename {per} -> {per_page}.
Add basic sorting to GET /articles.
Send 400 response on invalid fields.
Require pagination have a revision parameter.
Simplify if condition.