Added basic /patterns endpoint