initial implementation for namespace REST API