Dynamic Restify URL Parser

While building auto routed (kinda hateaos way) rest URLs using RESTIFY on NODEJS, it, is needed to take decision based on dynamic paths.
I am stuck, on how restify is going to handle that.

my url is something like this: http://restserver/key1/key2/key3/key4/key5/key6.......

but in restify, i am unable to implement, this way, as restify needs pre engineered path structure, and i have dynamic path structure.

Please, help to resolve this, or give me some workaround.