Tweaked API match path to make sure no accidental PUTS at other api urls
are stored as documents.