you can specify api as a path
added a test for api as path
Merge pull request #41 from tlivings/master

Allow api to be a path to an api.