groupwise rest-api interface for bash and php