Reduce REST interfaces to pattern

Fixes #2