class JSONRestLayer(grok.IRESTLayer): """ Layer for Rest Access""" grok.restskin('jsonapi')
class WikiLayer(grok.IRESTLayer): # This skin will be visible as http://localhost:8080/++rest++wiki/... grok.restskin('wiki')
class APILayer(grok.IRESTLayer): grok.restskin('api')
class RestLayer(grok.IRESTLayer): """ Layer for Rest Access""" grok.restskin('api')
class Protocol2(grok.IRESTLayer): grok.restskin('foo')