RootResource
Creates a new RootResource. The passed slug should be used to differentiate between multiple APIs deployed on the same server. For example, "v1" and "v2". To select the exact URL used by the server, client should use the DefaultRequest plugin to specify a base URL.